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

Support column list in INSERT statement

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 3.1.0
    • 3.1.0
    • SQL
    • None

    Description

      INSERT currently does not support named column lists.  

      INSERT INTO <table> (col1, col2,…) VALUES( 'val1', 'val2', … )

      Note, we assume the column list contains all the column names. Issue an exception if the list is not complete. The column order could be different from the column order defined in the table definition.

      Attachments

        Issue Links

          Activity

            People

              Qin Yao Kent Yao 2
              smilegator Xiao Li
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: