Skip to content

Commit

Permalink
[GLUTEN-5341][VL] Enable UT of GlutenExpressionMappingSuite (#5423)
Browse files Browse the repository at this point in the history
[GLUTEN-5341][VL] Enable UT of GlutenExpressionMappingSuite.
  • Loading branch information
gaoyangxiaozhu authored Apr 17, 2024
1 parent bd2ca45 commit 5574938
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
2 changes: 1 addition & 1 deletion gluten-ut/test/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
<dependency>
<groupId>org.apache.parquet</groupId>
<artifactId>parquet-column</artifactId>
<version>1.12.3</version>
<version>1.13.1</version>
<scope>test</scope>
<classifier>tests</classifier>
</dependency>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,7 @@ class GlutenExpressionMappingSuite
conf
}

// Disable for Spark3.5.
testWithSpecifiedSparkVersion("test expression blacklist", Some("3.2"), Some("3.4")) {
testWithSpecifiedSparkVersion("test expression blacklist", Some("3.2")) {
val names = ExpressionMappings.expressionsMap.values.toSet
assert(names.contains("regexp_replace"))
assert(names.contains("regexp_extract"))
Expand All @@ -70,8 +69,7 @@ class GlutenExpressionMappingSuite
}
}

// Disable for Spark3.5.
testWithSpecifiedSparkVersion("test blacklisting regexp expressions", Some("3.2"), Some("3.4")) {
testWithSpecifiedSparkVersion("test blacklisting regexp expressions", Some("3.2")) {
val names = ExpressionMappings.expressionsMap.values.toSet
assert(names.contains("rlike"))
assert(names.contains("regexp_replace"))
Expand Down

0 comments on commit 5574938

Please sign in to comment.