Uploaded image for project: 'Spark'
  1. Spark
  2. SPARK-45891 Support Variant data type
  3. SPARK-48067

Fix Variant default columns for more complex default variants

    XMLWordPrintableJSON

Details

    Description

      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

      Attachments

        Issue Links

          Activity

            People

              richardc-db Richard Chen
              richardc-db Richard Chen
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: