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

HIVE-3649.oracle.sql must update SDS table for IS_STOREDASSUBDIRECTORIES

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Patch Available
    • Major
    • Resolution: Unresolved
    • None
    • None
    • None
    • None

    Description

      The metastore-update script is available now on trunk/. (As part of HIVE-3931.)

      However, on branch-10, the 011-HIVE-3649.oracle.sql script (that updates the SDS table) introduces a non-NULL constraint on a new field (that doesn't exist in the old schema). The correct way to update the SDS table is as it's done in trunk/:

      ALTER TABLE SDS ADD IS_STOREDASSUBDIRECTORIES NUMBER(1) NULL;
      UPDATE SDS SET IS_STOREDASSUBDIRECTORIES = 0;
      ALTER TABLE SDS MODIFY(IS_STOREDASSUBDIRECTORIES NOT NULL);

      We need to merge this change into branch-0.10/.

      Attachments

        1. HIVE-3964.branch10.patch
          1 kB
          Mithun Radhakrishnan

        Activity

          People

            mithun Mithun Radhakrishnan
            mithun Mithun Radhakrishnan
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: