-
Notifications
You must be signed in to change notification settings - Fork 28.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[SPARK-45967][BUILD] Upgrade jackson to 2.16.0 #43859
Conversation
cc @pjfanning ~ Are there any issues that need special attention when upgrading to use Jackson 2.16.0? Thanks ~ |
@@ -1175,7 +1175,8 @@ class JsonFunctionsSuite extends QueryTest with SharedSparkSession { | |||
val invalidDataType = "MAP<INT, cow>" | |||
val invalidDataTypeReason = "Unrecognized token 'MAP': " + | |||
"was expecting (JSON String, Number, Array, Object or token 'null', 'true' or 'false')\n " + | |||
"at [Source: (String)\"MAP<INT, cow>\"; line: 1, column: 4]" | |||
"at [Source: REDACTED (`StreamReadFeature.INCLUDE_SOURCE_IN_LOCATION` disabled); " + | |||
"line: 1, column: 4]" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@@ -1190,7 +1191,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]" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
dito
@LuciferYang it appears you are hitting some issues with tests but other than that, I don't expect significant issues. The changes are less significant than in 2.15.x. The StreamReadConstraints in 2.15.0 could affect real world users - see https://issues.apache.org/jira/browse/SPARK-42854 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks fine if CI passes.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
+1, LGTM. Merged to master.
Thanks for your explain @pjfanning |
late LGTM |
The pr aims to upgrade FasterXML jackson from 2.15.2 to 2.16.0. New version that fix some bugs, release notes as follows: - 2.1.6.0 https://github.com/FasterXML/jackson/wiki/Jackson-Release-2.16, eg: [Databind](https://github.com/FasterXML/jackson-databind) [apache#1770](FasterXML/jackson-databind#1770): Incorrect deserialization for BigDecimal numbers - 2.15.3 https://github.com/FasterXML/jackson/wiki/Jackson-Release-2.15.3, eg: [Databind](https://github.com/FasterXML/jackson-databind) [apache#3968](FasterXML/jackson-databind#3968): Records with additional constructors failed to deserialize The last upgrade occurred 6 months ago, apache#41414 No. Pass GA. No. Closes apache#43859 from panbingkun/SPARK-45967. Authored-by: panbingkun <pbk1982@gmail.com> Signed-off-by: Dongjoon Hyun <dhyun@apple.com>
What changes were proposed in this pull request?
The pr aims to upgrade FasterXML jackson from 2.15.2 to 2.16.0.
Why are the changes needed?
New version that fix some bugs, release notes as follows:
Databind #1770: Incorrect deserialization for BigDecimal numbers
Databind #3968: Records with additional constructors failed to deserialize
The last upgrade occurred 6 months ago, #41414
Does this PR introduce any user-facing change?
No.
How was this patch tested?
Pass GA.
Was this patch authored or co-authored using generative AI tooling?
No.