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

Oracle metastore update script will fail when upgrading from 0.9.0 to 0.10.0

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 0.11.0
    • Metastore
    • None
    • Reviewed

    Description

      The problem is in following file 011-HIVE-3649.oracle.sql that contains following line:

      alter table  SDS add IS_STOREDASSUBDIRECTORIES NUMBER(1) NOT NULL;
      

      This query will however fail if the table SDS have at least one row.

      Attachments

        1. oracle_update_issue.patch
          0.7 kB
          Jarek Jarcec Cecho

        Issue Links

          Activity

            People

              jarcec Jarek Jarcec Cecho
              jarcec Jarek Jarcec Cecho
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: