-
Notifications
You must be signed in to change notification settings - Fork 984
Open
Labels
enhancementAny new improvement worthy of a entry in the changelogAny new improvement worthy of a entry in the changelog
Description
When Spark decodes JSON data where values don't match the expected schema type, it silently coerces incompatible values to strings instead of failing or preserving the original structure.
When decoding the following JSON with a schema of map<string,string>
: {"hello": [1,2,3]}
, Spark automatically converts the array value to its string representation, resulting in {"hello": "[1,2,3]"}
Metadata
Metadata
Assignees
Labels
enhancementAny new improvement worthy of a entry in the changelogAny new improvement worthy of a entry in the changelog