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/.