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

Handling drop and rename table when links point to it

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 0.10.0
    • None
    • Metastore, Query Processor

    Description

      HIVE-2989 introduces the concept of table links into Hive.
      In this improvement, we will continue the support for table links by handling cases where the source of the table link is dropped/renamed.

      When the source of a table link is dropped via DROP TABLE, the behavior will be that all table links that point to it, are dropped as well.

      When the source of a table link is renamed via ALTER TABLE ... RENAME ..., the behavior will be that all table links that point to it are renamed from T@Y to T1@Y where the table T was renamed to T1.

      Attachments

        Issue Links

          Activity

            People

              bmandhani Bhushan Mandhani
              sambavi Sambavi Muthukrishnan
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:

                Time Tracking

                  Estimated:
                  Original Estimate - 96h
                  96h
                  Remaining:
                  Remaining Estimate - 96h
                  96h
                  Logged:
                  Time Spent - Not Specified
                  Not Specified