text: SELECT 'Upgrading MetaStore schema from 3.2.0 to 4.0.0' AS Status from dual;
  
  ALTER TABLE TBLS ADD WRITE_ID number DEFAULT 0 NOT NULL;
  ALTER TABLE PARTITIONS ADD WRITE_ID number DEFAULT 0 NOT NULL;
  
  -- These lines need to be last.  Insert any changes above.
  UPDATE VERSION SET SCHEMA_VERSION='4.0.0', VERSION_COMMENT='Hive release version 4.0.0' where VER_ID=1;
  SELECT 'Finished upgrading MetaStore schema from 3.2.0 to 4.0.0' AS Status from dual;
  
  