Skip to content

Commit fd6625d

Browse files
Mariam-AlmesferMariamalmesfer
authored andcommitted
Add validation test for CurrentTimestamp
1 parent eaf6d23 commit fd6625d

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

backends-velox/src/test/scala/org/apache/gluten/functions/ScalarFunctionsValidateSuite.scala

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1521,4 +1521,14 @@ abstract class ScalarFunctionsValidateSuite extends FunctionsValidateSuite {
15211521
}
15221522
}
15231523
}
1524+
1525+
test("current_timestamp") {
1526+
withSQLConf("spark.sql.optimizer.excludedRules" -> "") {
1527+
runQueryAndCompare("SELECT current_timestamp()") {
1528+
df =>
1529+
checkGlutenPlan[ProjectExecTransformer](df)
1530+
checkFallbackOperators(df, 0)
1531+
}
1532+
}
1533+
}
15241534
}

0 commit comments

Comments
 (0)