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

Use "void" as the type name of NullType

    XMLWordPrintableJSON

Details

    • Task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 3.3.0
    • 3.2.0
    • SQL
    • None

    Description

      In PR: https://github.com/apache/spark/pull/28833, we support parsing "void" as NullType. But still use "null" as the type name. This leads some confusing and inconsistent issues. For example:

      `org.apache.spark.sql.types.DataType.fromDDL(NullType.toDDL)` is not working

      Attachments

        Activity

          People

            linhongliu-db Linhong Liu
            linhongliu-db Linhong Liu
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: