diff --git a/ep/build-velox/src/get_velox.sh b/ep/build-velox/src/get_velox.sh index 54ba3e070e28..6cd62332a3cc 100755 --- a/ep/build-velox/src/get_velox.sh +++ b/ep/build-velox/src/get_velox.sh @@ -17,7 +17,7 @@ set -exu VELOX_REPO=https://github.com/oap-project/velox.git -VELOX_BRANCH=2024_07_02 +VELOX_BRANCH=2024_07_03 VELOX_HOME="" #Set on run gluten on HDFS diff --git a/gluten-ut/spark35/src/test/scala/org/apache/spark/sql/GlutenJsonFunctionsSuite.scala b/gluten-ut/spark35/src/test/scala/org/apache/spark/sql/GlutenJsonFunctionsSuite.scala index 24963f89d3fb..5a28031b6c7a 100644 --- a/gluten-ut/spark35/src/test/scala/org/apache/spark/sql/GlutenJsonFunctionsSuite.scala +++ b/gluten-ut/spark35/src/test/scala/org/apache/spark/sql/GlutenJsonFunctionsSuite.scala @@ -89,13 +89,13 @@ class GlutenJsonFunctionsSuite extends JsonFunctionsSuite with GlutenSQLTestsTra runTest("[\"a\",\"b\"]", "$[1]", "b") runTest("[[\"a\",\"b\"]]", "$[0][1]", "b") - runTest("[1,2,3]", "[0]", "1") - // runTest("[1,2,3]", "$0", null) crashes in velox + runTest("[1,2,3]", "[0]", null) + runTest("[1,2,3]", "$0", null) runTest("[1,2,3]", "0", null) runTest("[1,2,3]", "$.", null) - // runTest("[1,2,3]", "$", "[1,2,3]") crashes in velox - // runTest("{\"a\":4}", "$", "{\"a\":4}") crashes in velox + runTest("[1,2,3]", "$", "[1,2,3]") + runTest("{\"a\":4}", "$", "{\"a\":4}") def runTest(json: String, path: String, exp: String): Unit = { checkAnswer(Seq(json).toDF().selectExpr(s"get_json_object(value, '$path')"), Row(exp))