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

Fix checking if a table is used by a materialized view before dropping

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Duplicate
    • None
    • 4.0.0-alpha-2
    • Hive
    • None

    Description

      Currently when a table is dropped we are deriving if it was used by any materialized views from the error message got from the Metastore. Instead of this we should check it in advance, from the HiveMaterializedViewsRegistry.

      Attachments

        1. HIVE-22956.01.patch
          10 kB
          Miklos Gergely
        2. HIVE-22956.02.patch
          17 kB
          Miklos Gergely

        Issue Links

          Activity

            People

              mgergely Miklos Gergely
              mgergely Miklos Gergely
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: