@@ -177,15 +177,12 @@ fn intersect() -> Result<()> {
177
177
let plan = test_sql ( sql) ?;
178
178
let expected =
179
179
"LeftSemi Join: test.col_int32 = test.col_int32, test.col_utf8 = test.col_utf8\
180
- \n Aggregate: groupBy=[[test.col_int32, test.col_utf8]], aggr=[[]]\
181
- \n LeftSemi Join: test.col_int32 = test.col_int32, test.col_utf8 = test.col_utf8\
182
- \n Aggregate: groupBy=[[test.col_int32, test.col_utf8]], aggr=[[]]\
183
- \n Filter: test.col_int32 IS NOT NULL AND test.col_utf8 IS NOT NULL\
184
- \n TableScan: test projection=[col_int32, col_utf8]\
185
- \n Filter: test.col_int32 IS NOT NULL AND test.col_utf8 IS NOT NULL\
186
- \n TableScan: test projection=[col_int32, col_utf8]\
187
- \n Filter: test.col_int32 IS NOT NULL AND test.col_utf8 IS NOT NULL\
188
- \n TableScan: test projection=[col_int32, col_utf8]";
180
+ \n Aggregate: groupBy=[[test.col_int32, test.col_utf8]], aggr=[[]]\
181
+ \n LeftSemi Join: test.col_int32 = test.col_int32, test.col_utf8 = test.col_utf8\
182
+ \n Aggregate: groupBy=[[test.col_int32, test.col_utf8]], aggr=[[]]\
183
+ \n TableScan: test projection=[col_int32, col_utf8]\
184
+ \n TableScan: test projection=[col_int32, col_utf8]\
185
+ \n TableScan: test projection=[col_int32, col_utf8]";
189
186
assert_eq ! ( expected, format!( "{plan}" ) ) ;
190
187
Ok ( ( ) )
191
188
}
@@ -281,11 +278,9 @@ fn test_same_name_but_not_ambiguous() {
281
278
let expected = "LeftSemi Join: t1.col_int32 = t2.col_int32\
282
279
\n Aggregate: groupBy=[[t1.col_int32]], aggr=[[]]\
283
280
\n SubqueryAlias: t1\
284
- \n Filter: test.col_int32 IS NOT NULL\
285
- \n TableScan: test projection=[col_int32]\
281
+ \n TableScan: test projection=[col_int32]\
286
282
\n SubqueryAlias: t2\
287
- \n Filter: test.col_int32 IS NOT NULL\
288
- \n TableScan: test projection=[col_int32]";
283
+ \n TableScan: test projection=[col_int32]";
289
284
assert_eq ! ( expected, format!( "{plan}" ) ) ;
290
285
}
291
286
0 commit comments