Richard Chen created SPARK-48067:
------------------------------------

             Summary: 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


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: issues-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org

Reply via email to