diff --git standalone-metastore/metastore-server/src/main/sql/oracle/hive-schema-4.0.0.oracle.sql standalone-metastore/metastore-server/src/main/sql/oracle/hive-schema-4.0.0.oracle.sql index 8af9a76..288c0aa 100644 --- standalone-metastore/metastore-server/src/main/sql/oracle/hive-schema-4.0.0.oracle.sql +++ standalone-metastore/metastore-server/src/main/sql/oracle/hive-schema-4.0.0.oracle.sql @@ -1,6 +1,10 @@ -- Table SEQUENCE_TABLE is an internal table required by DataNucleus. -- NOTE: Some versions of SchemaTool do not automatically generate this table. -- See http://www.datanucleus.org/servlet/jira/browse/NUCRDBMS-416 + +-- HIVE-21336 safeguards from failures from indices being too long +ALTER SESSION SET NLS_LENGTH_SEMANTICS=BYTE; + CREATE TABLE SEQUENCE_TABLE ( SEQUENCE_NAME VARCHAR2(255) NOT NULL,