Hive
  1. Hive
  2. HIVE-1144

CREATE VIEW followup: support ALTER TABLE SET TBLPROPERTIES on views

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 0.6.0
    • Fix Version/s: 0.6.0
    • Component/s: Query Processor
    • Labels:
      None

      Description

      Currently this fails with the following error:

      FAILED: Error in metadata: Cannot use ALTER TABLE on a view

      It would be very useful to allow this for tagging user-defined metadata on views.

        Issue Links

          Activity

          Hide
          John Sichi added a comment -

          This can be done without any metastore changes. However, for consistency with DROP VIEW, we probably want to change the parser to require ALTER VIEW instead of ALTER TABLE.

          Show
          John Sichi added a comment - This can be done without any metastore changes. However, for consistency with DROP VIEW, we probably want to change the parser to require ALTER VIEW instead of ALTER TABLE.
          Hide
          John Sichi added a comment -

          This was addressed by commit of HIVE-1220.

          Show
          John Sichi added a comment - This was addressed by commit of HIVE-1220 .

            People

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

              Dates

              • Created:
                Updated:
                Resolved:

                Development