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

alter database commands should support schema synonym keyword

    Details

    • Type: Bug
    • Status: Closed
    • Priority: 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
      

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: