Uploaded image for project: 'Spark'
  1. Spark
  2. SPARK-20009

Use user-friendly DDL formats for defining a schema in functions.from_json

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.1.0
    • 2.2.0
    • SQL
    • None

    Description

      In https://issues.apache.org/jira/browse/SPARK-19830, we add a new API in the DDL parser to convert a DDL string into a schema. Then, we can use DDL formats in existing some APIs, e.g., functions.from_json https://github.com/apache/spark/blob/master/sql/core/src/main/scala/org/apache/spark/sql/functions.scala#L3062.

      Attachments

        Activity

          People

            maropu Takeshi Yamamuro
            maropu Takeshi Yamamuro
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: