diff --git a/dev/deps/spark-deps-hadoop-3-hive-2.3 b/dev/deps/spark-deps-hadoop-3-hive-2.3 index 8fb7d359e51fc..bf9da0512a141 100644 --- a/dev/deps/spark-deps-hadoop-3-hive-2.3 +++ b/dev/deps/spark-deps-hadoop-3-hive-2.3 @@ -97,15 +97,15 @@ httpcore/4.4.16//httpcore-4.4.16.jar ini4j/0.5.4//ini4j-0.5.4.jar istack-commons-runtime/3.0.8//istack-commons-runtime-3.0.8.jar ivy/2.5.1//ivy-2.5.1.jar -jackson-annotations/2.15.2//jackson-annotations-2.15.2.jar +jackson-annotations/2.16.0//jackson-annotations-2.16.0.jar jackson-core-asl/1.9.13//jackson-core-asl-1.9.13.jar -jackson-core/2.15.2//jackson-core-2.15.2.jar -jackson-databind/2.15.2//jackson-databind-2.15.2.jar -jackson-dataformat-cbor/2.15.2//jackson-dataformat-cbor-2.15.2.jar -jackson-dataformat-yaml/2.15.2//jackson-dataformat-yaml-2.15.2.jar -jackson-datatype-jsr310/2.15.2//jackson-datatype-jsr310-2.15.2.jar +jackson-core/2.16.0//jackson-core-2.16.0.jar +jackson-databind/2.16.0//jackson-databind-2.16.0.jar +jackson-dataformat-cbor/2.16.0//jackson-dataformat-cbor-2.16.0.jar +jackson-dataformat-yaml/2.16.0//jackson-dataformat-yaml-2.16.0.jar +jackson-datatype-jsr310/2.16.0//jackson-datatype-jsr310-2.16.0.jar jackson-mapper-asl/1.9.13//jackson-mapper-asl-1.9.13.jar -jackson-module-scala_2.13/2.15.2//jackson-module-scala_2.13-2.15.2.jar +jackson-module-scala_2.13/2.16.0//jackson-module-scala_2.13-2.16.0.jar jakarta.annotation-api/1.3.5//jakarta.annotation-api-1.3.5.jar jakarta.inject/2.6.1//jakarta.inject-2.6.1.jar jakarta.servlet-api/4.0.3//jakarta.servlet-api-4.0.3.jar @@ -246,7 +246,7 @@ scala-xml_2.13/2.1.0//scala-xml_2.13-2.1.0.jar shims/0.9.38//shims-0.9.38.jar slf4j-api/2.0.6//slf4j-api-2.0.6.jar snakeyaml-engine/2.7//snakeyaml-engine-2.7.jar -snakeyaml/2.0//snakeyaml-2.0.jar +snakeyaml/2.2//snakeyaml-2.2.jar snappy-java/1.1.10.5//snappy-java-1.1.10.5.jar spire-macros_2.13/0.18.0//spire-macros_2.13-0.18.0.jar spire-platform_2.13/0.18.0//spire-platform_2.13-0.18.0.jar diff --git a/pom.xml b/pom.xml index 3c4f153963f3b..c073f368440a4 100644 --- a/pom.xml +++ b/pom.xml @@ -183,8 +183,8 @@ true true 1.9.13 - 2.15.2 - 2.15.2 + 2.16.0 + 2.16.0 1.1.10.5 3.0.3 1.15 diff --git a/sql/core/src/test/scala/org/apache/spark/sql/JsonFunctionsSuite.scala b/sql/core/src/test/scala/org/apache/spark/sql/JsonFunctionsSuite.scala index c73acc1d653cc..791a400f8b215 100644 --- a/sql/core/src/test/scala/org/apache/spark/sql/JsonFunctionsSuite.scala +++ b/sql/core/src/test/scala/org/apache/spark/sql/JsonFunctionsSuite.scala @@ -1084,7 +1084,8 @@ class JsonFunctionsSuite extends QueryTest with SharedSparkSession { val invalidDataType = "MAP" val invalidDataTypeReason = "Unrecognized token 'MAP': " + "was expecting (JSON String, Number, Array, Object or token 'null', 'true' or 'false')\n " + - "at [Source: (String)\"MAP\"; line: 1, column: 4]" + "at [Source: REDACTED (`StreamReadFeature.INCLUDE_SOURCE_IN_LOCATION` disabled); " + + "line: 1, column: 4]" checkError( exception = intercept[AnalysisException] { df.select(from_json($"json", invalidDataType, Map.empty[String, String])).collect() @@ -1099,7 +1100,8 @@ class JsonFunctionsSuite extends QueryTest with SharedSparkSession { val invalidTableSchema = "x INT, a cow" val invalidTableSchemaReason = "Unrecognized token 'x': " + "was expecting (JSON String, Number, Array, Object or token 'null', 'true' or 'false')\n" + - " at [Source: (String)\"x INT, a cow\"; line: 1, column: 2]" + " at [Source: REDACTED (`StreamReadFeature.INCLUDE_SOURCE_IN_LOCATION` disabled); " + + "line: 1, column: 2]" checkError( exception = intercept[AnalysisException] { df.select(from_json($"json", invalidTableSchema, Map.empty[String, String])).collect()