[
https://issues.apache.org/jira/browse/SPARK-48067?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Gengliang Wang resolved SPARK-48067.
------------------------------------
Fix Version/s: 4.0.0
Resolution: Fixed
Issue resolved by pull request 46312
[https://github.com/apache/spark/pull/46312]
> Fix Variant default columns for more complex default variants
> -------------------------------------------------------------
>
> Key: SPARK-48067
> URL: https://issues.apache.org/jira/browse/SPARK-48067
> Project: Spark
> Issue Type: Sub-task
> Components: Spark Core
> Affects Versions: 4.0.0
> Reporter: Richard Chen
> Assignee: Richard Chen
> Priority: Major
> Labels: pull-request-available
> Fix For: 4.0.0
>
>
> Default columns are stored as structfield metadata (string -> string) map.
> This means the literal values are stored as strings.
> However, the string representation of a variant is the JSONified string.
> Thus, we need to wrap the string with `parse_json` to correctly use the
> default values
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]