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

CREATE VIEW followup: add a "table type" enum attribute in metastore's MTable, and also null out irrelevant attributes for MTable instances which describe views

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 0.6.0
    • Metastore
    • None
    • Reviewed

    Description

      Zheng's description:

      5. TODO: Metadata change: We store "view" definitions in the same metadata table that we store "table" definitions.
      Shall we add a field "table type" so we know whether it's a table, external table, view, or materialized view in the future.
      We should clean up the additional useless fields in "view" - the test output shows that we are storing some garbage information for views.

      Attachments

        1. HIVE-1068.2.patch
          79 kB
          John Sichi
        2. HIVE-1068.1.patch
          77 kB
          John Sichi

        Issue Links

          Activity

            People

              jvs John Sichi
              jvs John Sichi
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: