Uploaded image for project: 'Hive'
  1. Hive
  2. HIVE-19059

Support DEFAULT keyword with INSERT and UPDATE

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 3.0.0
    • SQL

    Description

      Support DEFAULT keyword in INSERT e.g.

      INSERT INTO TABLE t values (DEFAULT, DEFAULT)
      

      or with UPDATE

      UPDATE TABLE t SET col1=DEFAULT WHERE col2 > 4
      

      Attachments

        1. HIVE-19059.1.patch
          106 kB
          Vineet Garg
        2. HIVE-19059.2.patch
          121 kB
          Vineet Garg
        3. HIVE-19059.3.patch
          123 kB
          Vineet Garg
        4. HIVE-19059.4.patch
          123 kB
          Vineet Garg

        Issue Links

          Activity

            People

              vgarg Vineet Garg
              vgarg Vineet Garg
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: