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

          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?
          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.
          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!

            People

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

              Dates

              • Created:
                Updated:
                Resolved:

                Development