ologlogn commented on code in PR #21895: URL: https://github.com/apache/datafusion/pull/21895#discussion_r3260624294
########## datafusion/sqllogictest/test_files/array/array_transform.slt: ########## @@ -393,10 +393,8 @@ physical_plan 02)--ProjectionExec: expr=[text@0 as text, list@1 as list, number@2 as number, CASE WHEN number@2 > 30 THEN array_transform(make_array(make_array(list@1)), (list) -> array_transform(list@3, (list) -> array_transform(list@4, (v) -> number@2 + v@5 + array_element(list@4, 1)))) ELSE array_transform(make_array(make_array(list@1)), (list) -> array_transform(list@3, (list) -> array_transform(list@4, (v) -> number@2 + array_element(list@4, 1)))) END as CASE WHEN t.number > Int64(30) THEN array_transform(make_array(make_array(t.list)),(list) -> array_transform(list,(list) -> array_transform(list,(v) -> t.number + v + list[Int64(1)]))) ELSE array_transform(make_array(make_array(t.list)),(list) -> array_transform(list,(list) -> array_transform(list,(v) -> t.number + list[Int64(1)]))) END] 03)----DataSourceExec: partitions=1, partition_sizes=[1] -query error +query error DataFusion error: Error during planning: array_transform requires 1 value argument, got 0 select array_transform(); ----- -DataFusion error: Error during planning: array_transform function requires 1 value arguments, got 0 query error DataFusion error: Error during planning: array_transform expected a list as first argument, got Int64 Review Comment: Those changes (`v@0` → `v@1`) were introduced by the lambda column capture PR (#21323), which this PR depends on. After rebasing onto main (which now includes #21323), our PR no longer touches `array_transform.slt` at all. -- 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]
