From 58a1fc59acbc4eec45b7cfad6b9a4051617e053e Mon Sep 17 00:00:00 2001 From: Jia Date: Fri, 24 Nov 2023 10:09:46 +0000 Subject: [PATCH] fix failed unit test --- cpp/velox/tests/VeloxSubstraitRoundTripTest.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cpp/velox/tests/VeloxSubstraitRoundTripTest.cc b/cpp/velox/tests/VeloxSubstraitRoundTripTest.cc index 0795f39273542..fc302c8d78395 100644 --- a/cpp/velox/tests/VeloxSubstraitRoundTripTest.cc +++ b/cpp/velox/tests/VeloxSubstraitRoundTripTest.cc @@ -108,7 +108,7 @@ TEST_F(VeloxSubstraitRoundTripTest, project) { auto vectors = makeVectors(3, 4, 2); createDuckDbTable(vectors); auto plan = PlanBuilder().values(vectors).project({"c0 + c1", "c1 / c2"}).planNode(); - assertPlanConversion(plan, "SELECT c0 + c1, c1 / c2 FROM tmp"); + assertPlanConversion(plan, "SELECT c0 + c1, c1 // c2 FROM tmp"); } TEST_F(VeloxSubstraitRoundTripTest, cast) {