Skip to content

Commit

Permalink
Fix test failure
Browse files Browse the repository at this point in the history
  • Loading branch information
PHILO-HE committed Mar 21, 2024
1 parent 5e26856 commit 588da9d
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -515,11 +515,11 @@ class VeloxFunctionsValidateSuite extends VeloxWholeStageTransformerSuite {

test("regexp_replace") {
runQueryAndCompare(
"SELECT regexp_replace(l_partkey, '\\w', 'something') FROM lineitem limit 100") {
"SELECT regexp_replace(c_comment, '\\w', 'something') FROM customer limit 50") {
checkOperatorMatch[ProjectExecTransformer]
}
runQueryAndCompare(
"SELECT regexp_replace(l_partkey, '\\w', 'something', 3) FROM lineitem limit 100") {
"SELECT regexp_replace(c_comment, '\\w', 'something', 3) FROM customer limit 50") {
checkOperatorMatch[ProjectExecTransformer]
}
}
Expand All @@ -540,7 +540,7 @@ class VeloxFunctionsValidateSuite extends VeloxWholeStageTransformerSuite {

test("bit_length") {
runQueryAndCompare(
"select bit_length(l_orderkey), bit_length(cast(l_orderkey as binary)) from lineitem") {
"select bit_length(c_comment), bit_length(cast(c_comment as binary)) from customer limit 50") {
checkOperatorMatch[WindowExecTransformer]
}
}
Expand Down

0 comments on commit 588da9d

Please sign in to comment.