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

Support DEFAULT keyword with INSERT and UPDATE

Log workAgile BoardRank to TopRank to BottomBulk Copy AttachmentsBulk Move AttachmentsVotersWatch issueWatchersCreate sub-taskMoveLinkCloneLabelsUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    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

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            vgarg Vineet Garg Assign to me
            vgarg Vineet Garg
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment