This is an automated email from the ASF dual-hosted git repository.
rui pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/incubator-gluten.git
The following commit(s) were added to refs/heads/main by this push:
new 21b4e6539b [GLUTEN-7362][VL] Add test for 'IN' and 'OR' filter in Scan
(#7363)
21b4e6539b is described below
commit 21b4e6539b5494ee6e7506368dfeca4711b6971a
Author: Mingliang Zhu <[email protected]>
AuthorDate: Thu Nov 14 16:54:59 2024 +0800
[GLUTEN-7362][VL] Add test for 'IN' and 'OR' filter in Scan (#7363)
---
.../test/scala/org/apache/gluten/execution/MiscOperatorSuite.scala | 7 +++++++
1 file changed, 7 insertions(+)
diff --git
a/backends-velox/src/test/scala/org/apache/gluten/execution/MiscOperatorSuite.scala
b/backends-velox/src/test/scala/org/apache/gluten/execution/MiscOperatorSuite.scala
index 2b42d7fb8d..58c748d37b 100644
---
a/backends-velox/src/test/scala/org/apache/gluten/execution/MiscOperatorSuite.scala
+++
b/backends-velox/src/test/scala/org/apache/gluten/execution/MiscOperatorSuite.scala
@@ -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") {
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]