Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Plain View
Hive, mail # dev - Review Request: HIVE-3678. Provide schema upgrade scripts for schema changes introduced by the addition of Column Statistics support


+
Shreepadma Venugopalan 2012-11-18, 22:20
Copy link to this message
-
Re: Review Request: HIVE-3678. Provide schema upgrade scripts for schema changes introduced by the addition of Column Statistics support
Shreepadma Venugopalan 2012-11-18, 22:22

-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/8119/
-----------------------------------------------------------

(Updated Nov. 18, 2012, 10:22 p.m.)
Review request for hive, Carl Steinbach and Ashutosh Chauhan.
Description
-------

Provide metastore schema upgrade scripts for MySQL/Derby/Postgresql/Oracle for the schema changes introduced by HIVE-1362. Change the column statistics schema to allow the metastore schema to be compatible across DB vendors and versions.
This addresses bug HIVE-3678.
    https://issues.apache.org/jira/browse/HIVE-3678
Diffs
-----

  metastore/scripts/upgrade/derby/012-HIVE-1362.derby.sql PRE-CREATION
  metastore/scripts/upgrade/derby/hive-schema-0.10.0.derby.sql 1be707e
  metastore/scripts/upgrade/derby/upgrade-0.9.0-to-0.10.0.derby.sql 714e9d9
  metastore/scripts/upgrade/mysql/012-HIVE-1362.mysql.sql PRE-CREATION
  metastore/scripts/upgrade/mysql/hive-schema-0.10.0.mysql.sql 97de3db
  metastore/scripts/upgrade/mysql/upgrade-0.9.0-to-0.10.0.mysql.sql 1a85081
  metastore/scripts/upgrade/oracle/012-HIVE-1362.oracle.sql PRE-CREATION
  metastore/scripts/upgrade/oracle/hive-schema-0.10.0.oracle.sql 029b931
  metastore/scripts/upgrade/postgres/012-HIVE-1362.postgres.sql PRE-CREATION
  metastore/scripts/upgrade/postgres/hive-schema-0.10.0.postgres.sql 2f61644
  metastore/scripts/upgrade/postgres/upgrade-0.9.0-to-0.10.0.postgres.sql d3b6571
  metastore/src/java/org/apache/hadoop/hive/metastore/ObjectStore.java ecc69a2
  metastore/src/model/org/apache/hadoop/hive/metastore/model/MPartitionColumnStatistics.java 500ff29
  metastore/src/model/org/apache/hadoop/hive/metastore/model/MTableColumnStatistics.java 63bf69b
  metastore/src/model/package.jdo 5f91f97

Diff: https://reviews.apache.org/r/8119/diff/
Testing
-------

Tested the schema upgrade scripts.
Thanks,

Shreepadma Venugopalan

+
Shreepadma Venugopalan 2012-11-27, 03:14