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

    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.1.patch
          8 kB
          Aihua Xu
        2. HIVE-12946.2.patch
          8 kB
          Aihua Xu

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: