Hive
  1. Hive
  2. HIVE-6601

alter database commands should support schema synonym keyword

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.14.0
    • Component/s: None
    • Labels:
      None

      Description

      It should be possible to use "alter schema" as an alternative to "alter database". But the syntax is not currently supported.

      alter schema db1 set owner user x;  
      NoViableAltException(215@[])
      FAILED: ParseException line 1:6 cannot recognize input near 'schema' 'db1' 'set' in alter statement
      

        Issue Links

          Activity

          No work has yet been logged on this issue.

            People

            • Assignee:
              Navis
              Reporter:
              Thejas M Nair
            • Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development