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

Introduce the concept of default value to schema

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Incomplete
    • 2.2.1
    • None
    • SQL

    Description

      There is no concept of DEFAULT VALUE for schema in spark now.
      Our team want to support insert into serial columns of table,like "insert into (a, c) values ("value1", "value2") for our use case, but the default vaule of column is not definited. In hive, the default vaule of column is NULL if we don't specify.
      So I think maybe it is necessary to introduce the concept of default value to schema in spark.

      Attachments

        Activity

          People

            Unassigned Unassigned
            lvdongr LvDongrong
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: