Hive
  1. Hive
  2. HIVE-115

Command for adding partition without loading data

    Details

    • Type: Improvement Improvement
    • Status: Resolved
    • Priority: Minor Minor
    • Resolution: Duplicate
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Query Processor
    • Labels:
      None

      Description

      Once HIVE-91 is implemented there will be a need for adding partitions without loading new data, since it will already be in the table directory.

        Issue Links

          Activity

          Hide
          Johan Oskarsson added a comment -

          Done as a part of HIVE-91

          Show
          Johan Oskarsson added a comment - Done as a part of HIVE-91
          Hide
          Johan Oskarsson added a comment -

          As an example we store our data in dataset/yyyy/MM/dd/<files>. Whenever we've put a new day's worth of data on the hdfs we'd run a command such as: ALTER TABLE table_name ADD PARTITIONS (partition_col = '2008/12/04')

          Show
          Johan Oskarsson added a comment - As an example we store our data in dataset/yyyy/MM/dd/<files>. Whenever we've put a new day's worth of data on the hdfs we'd run a command such as: ALTER TABLE table_name ADD PARTITIONS (partition_col = '2008/12/04')

            People

            • Assignee:
              Johan Oskarsson
              Reporter:
              Johan Oskarsson
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development