Skip to content

Commit

Permalink
[VL] Daily Update Velox Version (2024_07_03) (apache#6315)
Browse files Browse the repository at this point in the history
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)
  • Loading branch information
GlutenPerfBot authored Jul 3, 2024
1 parent 5af0359 commit a8e8700
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion ep/build-velox/src/get_velox.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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))
Expand Down

0 comments on commit a8e8700

Please sign in to comment.