adriangb commented on code in PR #16790:
URL: https://github.com/apache/datafusion/pull/16790#discussion_r2210812065
##########
datafusion/sqllogictest/test_files/push_down_filter.slt:
##########
@@ -128,12 +128,31 @@ physical_plan
06)----------ProjectionExec: expr=[column1@0 as column1, column2@1 as
__unnest_placeholder(d.column2)]
07)------------DataSourceExec: partitions=1, partition_sizes=[1]
+statement ok
+drop table d;
+statement ok
+CREATE TABLE d AS VALUES (named_struct('a', 1, 'b', 2)), (named_struct('a', 3,
'b', 4)), (named_struct('a', 5, 'b', 6));
+
+query II
+select * from (select unnest(column1) from d) where
"__unnest_placeholder(d.column1).b" > 5;
Review Comment:
@akoshchiy is there documentation anywhere on what "__unnest_placeholder"
is? Is it a private implementation detail we are using to test, or something
that users could / should use in their queries?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]