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

Alter table should accept database name

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Duplicate
    • Affects Version/s: 0.7.1
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None

      Description

      It would be nice if alter table accepts database name.

      For example:

      This would be more useful in certain usecases:

      alter table DB.Tbl set location <location>;

      rather than 2 statements.

      use DB;
      alter table Tbl set location <location>;

        Attachments

        1. HIVE-2584.6.patch
          49 kB
          Chun Chen
        2. HIVE-2584.5.patch
          45 kB
          Chun Chen
        3. HIVE-2584.4.patch
          46 kB
          Chun Chen
        4. HIVE-2584.3.patch
          46 kB
          Chun Chen
        5. HIVE-2584.2.patch
          42 kB
          Chun Chen
        6. HIVE-2584.patch
          31 kB
          Chun Chen

          Issue Links

            Activity

              People

              • Assignee:
                chenchun Chun Chen
                Reporter:
                bharathm Bharath Mundlapudi
              • Votes:
                5 Vote for this issue
                Watchers:
                12 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: