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

ALTER DATABASE SET LOCATION does not work on the default database

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • 3.1.2
    • None
    • SQL
    • None

    Description

      After I tried ALTER DATABASE SET LOCATION command on the default database to change the location of table data stored, Hive still outputted the table data on the initial location.

      I checked the DBS table in metastore_db to see if the location uri of the default database has been changed and it has, so I assume Hive outputs table data of the default database in the initial location no matter if you change it.

      Attachments

        Activity

          People

            Unassigned Unassigned
            YActs Yuto Akutsu
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: