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

alter table should also add default scheme and authority for the location similar to create table

Log workAgile BoardRank to TopRank to BottomBulk Copy AttachmentsBulk Move AttachmentsVotersWatch issueWatchersCreate sub-taskConvert to sub-taskMoveLinkCloneLabelsUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.1.0
    • 2.1.0
    • Metastore
    • None

    Description

      When you call create table command (create table ... location '/abc') and check the database, you will notice that the table location has the scheme. While alter table set location '/abc' would throw an error "

      {0}

      is not absolute or has no scheme information. Please specify a complete absolute uri with scheme information. /abc".

      Seems it should be consistent.

      Attachments

        1. HIVE-12946.2.patch
          8 kB
          Aihua Xu
        2. HIVE-12946.1.patch
          8 kB
          Aihua Xu

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            aihuaxu Aihua Xu Assign to me
            aihuaxu Aihua Xu
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment