From a8e8700ef885b7d2335274aff32a16011bbb4489 Mon Sep 17 00:00:00 2001 From: Gluten Performance Bot <137994563+GlutenPerfBot@users.noreply.github.com> Date: Wed, 3 Jul 2024 20:23:29 +0800 Subject: [PATCH] [VL] Daily Update Velox Version (2024_07_03) (#6315) 4a0ce3e43 by mwish, Replace MappedMemory::Allocation with memory::Allocation in comments (10336) 49407ff9f by rui-mo, Add argument generator for Presto truncate decimal function (10245) b29176d6b by rui-mo, Fix spark-server docker image (10356) f5bfd1eed by Wei He, Fix incorrect result of approx_percentile in window operations (10368) 8fcd7c58e by zhli1142015, Improve the performance of hash Spark functions for scalar types through auto-vectorization (10301) c12aa738b by hengjiang.ly, Fix GroupIdNode`s groupIdName to const method (10345) 64dc8f33f by Pedro Eugenio Rocha Pedreira, Code formatting in velox/dwio/common (10369) c265fcf16 by Pedro Eugenio Rocha Pedreira, Cosmetic refactor on merge join supported types (10366) --- ep/build-velox/src/get_velox.sh | 2 +- .../org/apache/spark/sql/GlutenJsonFunctionsSuite.scala | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) 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))