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

Consider making the ':' in STRUCT data type definition optional

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 3.1.2
    • 3.2.0
    • SQL
    • None

    Description

      The STRUCT type syntax is defined like this:

      STRUCT(fieldNmae: fileType [NOT NULL][COMMENT stringLiteral][,.....])

      So the field list is NEARLY the same as a column list

      if we could make ':' optional it would be so much cleaner an less proprietary

      Attachments

        Activity

          People

            roryqi He Qi
            roryqi He Qi
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: