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

alter database commands should support schema synonym keyword

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 0.14.0
    • None
    • 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

        1. HIVE-6601.1.patch.txt
          3 kB
          Navis Ryu

        Issue Links

          Activity

            People

              navis Navis Ryu
              thejas Thejas Nair
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: