Hive
  1. Hive
  2. HIVE-1106

Support "Alter table t add if not exists partition ..."

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.5.0
    • Component/s: Metastore
    • Labels:
      None
    • Hadoop Flags:
      Reviewed
    • Release Note:
      Hide
      HIVE-1106. Support ALTER TABLE t ADD IF NOT EXIST PARTITION. (Paul Yang via zshao)
      Show
      HIVE-1106 . Support ALTER TABLE t ADD IF NOT EXIST PARTITION. (Paul Yang via zshao)

      Description

      It will be useful to add such a command so that users don't see an error when adding an existing partition.

      1. HIVE-1106.branch-0.5.2.patch
        8 kB
        Paul Yang
      2. HIVE-1106.branch-0.5.1.patch
        9 kB
        Paul Yang
      3. HIVE-1106.1.patch
        8 kB
        Paul Yang

        Issue Links

          Activity

          Zheng Shao created issue -
          Paul Yang made changes -
          Field Original Value New Value
          Assignee Paul Yang [ pauly ]
          Hide
          Paul Yang added a comment -

          Do we need this for branch-0.5?

          Show
          Paul Yang added a comment - Do we need this for branch-0.5?
          Paul Yang made changes -
          Attachment HIVE-1106.1.patch [ 12431608 ]
          Attachment HIVE-1106.branch-0.5.1.patch [ 12431609 ]
          Hide
          Zheng Shao added a comment -

          Usually we don't add new features to an existing branch. Only bug fixes should go into branches.
          But given that nothing has been released from branch-0.5 yet, I think we can add this since it's low risk.

          Show
          Zheng Shao added a comment - Usually we don't add new features to an existing branch. Only bug fixes should go into branches. But given that nothing has been released from branch-0.5 yet, I think we can add this since it's low risk.
          Paul Yang made changes -
          Attachment HIVE-1106.branch-0.5.2.patch [ 12431611 ]
          Paul Yang made changes -
          Status Open [ 1 ] Patch Available [ 10002 ]
          Affects Version/s 0.5.0 [ 12314156 ]
          Hide
          Zheng Shao added a comment -

          +1. Will test and commit.

          Show
          Zheng Shao added a comment - +1. Will test and commit.
          Hide
          Zheng Shao added a comment -

          Committed. Thanks Paul!

          Show
          Zheng Shao added a comment - Committed. Thanks Paul!
          Zheng Shao made changes -
          Status Patch Available [ 10002 ] Resolved [ 5 ]
          Hadoop Flags [Reviewed]
          Release Note HIVE-1106. Support ALTER TABLE t ADD IF NOT EXIST PARTITION. (Paul Yang via zshao)
          Fix Version/s 0.5.0 [ 12314156 ]
          Fix Version/s 0.6.0 [ 12314524 ]
          Resolution Fixed [ 1 ]
          Carl Steinbach made changes -
          Fix Version/s 0.6.0 [ 12314524 ]
          Affects Version/s 0.5.0 [ 12314156 ]
          Affects Version/s 0.6.0 [ 12314524 ]
          Component/s Metastore [ 12312584 ]
          Carl Steinbach made changes -
          Status Resolved [ 5 ] Closed [ 6 ]
          Carl Steinbach made changes -
          Link This issue relates to HIVE-2938 [ HIVE-2938 ]

            People

            • Assignee:
              Paul Yang
              Reporter:
              Zheng Shao
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development