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

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.6.0
    • Component/s: Metastore
    • Labels:
      None
    • Hadoop Flags:
      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.

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

        Issue Links

          Activity

          Carl Steinbach made changes -
          Status Resolved [ 5 ] Closed [ 6 ]
          Carl Steinbach made changes -
          Release Note HIVE-1068. CREATE VIEW followup: add a 'table type' enum attribute in metastore's MTable. (John Sichi via zshao)
          Affects Version/s 0.6.0 [ 12314524 ]
          Zheng Shao made changes -
          Status In Progress [ 3 ] Resolved [ 5 ]
          Hadoop Flags [Reviewed]
          Release Note HIVE-1068. CREATE VIEW followup: add a 'table type' enum attribute in metastore's MTable. (John Sichi via zshao)
          Resolution Fixed [ 1 ]
          John Sichi made changes -
          Attachment HIVE-1068.2.patch [ 12431809 ]
          John Sichi made changes -
          Attachment HIVE-1068.1.patch [ 12431695 ]
          John Sichi made changes -
          Status Open [ 1 ] In Progress [ 3 ]
          John Sichi made changes -
          Field Original Value New Value
          Link This issue relates to HIVE-972 [ HIVE-972 ]
          John Sichi created issue -

            People

            • Assignee:
              John Sichi
              Reporter:
              John Sichi
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development