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

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.1.0
    • Fix Version/s: 2.1.0
    • Component/s: Metastore
    • Labels:
      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

            People

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

              Dates

              • Created:
                Updated:
                Resolved: