Skip to content

Commit

Permalink
[GLUTEN-7362][VL] Add test for 'IN' and 'OR' filter in Scan (#7363)
Browse files Browse the repository at this point in the history
  • Loading branch information
zml1206 authored Nov 14, 2024
1 parent 20136c8 commit 21b4e65
Showing 1 changed file with 7 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -208,6 +208,13 @@ class MiscOperatorSuite extends VeloxWholeStageTransformerSuite with AdaptiveSpa
"select l_orderkey from lineitem " +
"where l_partkey in (1552, 674) or l_partkey in (1552) and l_orderkey > 1") { _ => }
checkLengthAndPlan(df, 73)

runQueryAndCompare(
"select count(1) from lineitem " +
"where (l_shipmode in ('TRUCK', 'MAIL') or l_shipmode in ('AIR', 'FOB')) " +
"and l_shipmode in ('RAIL','SHIP')") {
checkGlutenOperatorMatch[FileSourceScanExecTransformer]
}
}

test("in_not") {
Expand Down

0 comments on commit 21b4e65

Please sign in to comment.