Skip to content

Commit

Permalink
test mix filter and predicate
Browse files Browse the repository at this point in the history
  • Loading branch information
kwannoel committed Nov 8, 2024
1 parent e60b4e4 commit 326cd17
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions e2e_test/iceberg/test_case/iceberg_predicate_pushdown.slt
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,18 @@ select count(*), i2, i3 from iceberg_t1_source where i2 = 'some str' and i3 = 'a
----
500 some str another str

query I
explain select i1 from iceberg_t1_source where i1 > 500 and i2 = i3;
----
BatchExchange { order: [], dist: Single }
└─BatchProject { exprs: [i1] }
└─BatchFilter { predicate: (i2 = i3) }
└─BatchIcebergScan { source: iceberg_t1_source, columns: [i1, i2, i3], predicate: i1 > 500 }

query I
select i1 from iceberg_t1_source where i1 > 500 and i2 = i3;
----

statement ok
DROP SINK sink1;

Expand Down

0 comments on commit 326cd17

Please sign in to comment.