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

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.11.0
    • Component/s: Metastore
    • Labels:
      None
    • Hadoop Flags:
      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

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

                Dates

                • Created:
                  Updated:
                  Resolved: