You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit c6d8663
Browse filesBrowse the repository at this point in the historyBrowse files
test: cover a struct-returning function evaluated one time in cse.slt
Add the two end-to-end shapes of the issue: the common sub-expression is
referenced bare and through a field access, in a projection and in a
filter. Both plans must show `arrow_field(a)` one time.
Covers apache#23655 and
apache#25329
Co-Authored-By: Claude Fable 5.1 <[email protected]>
Copy file name to clipboardExpand all lines: datafusion/sqllogictest/test_files/cse.slt
+49Lines changed: 49 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -231,3 +231,52 @@ logical_plan
231
231
physical_plan
232
232
01)ProjectionExec: expr=[(random() = 0 OR a@0 = 1) AND a@0 = 2 as c1, random() = 0 AND a@0 = 2 OR a@0 = 1 as c2, CASE WHEN random() = 0 THEN a@0 + 3 ELSE a@0 + 3 END as c3, CASE WHEN random() = 0 THEN 0 WHEN a@0 + 4 = 0 THEN a@0 + 4 ELSE 0 END as c4, CASE WHEN random() = 0 THEN 0 WHEN a@0 + 5 = 0 THEN 0 ELSE a@0 + 5 END as c5, CASE WHEN random() = 0 THEN 0 WHEN random() = 0 THEN a@0 + 6 ELSE a@0 + 6 END as c6]
0 commit comments