[ https://issues.apache.org/jira/browse/HIVE-2307?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13072633#comment-13072633 ]
Hudson commented on HIVE-2307: ------------------------------ Integrated in Hive-trunk-h0.21 #857 (See [https://builds.apache.org/job/Hive-trunk-h0.21/857/]) HIVE-2307. Schema creation scripts for PostgreSQL use bit(1) instead of boolean (Esteban Gutierrez via cws) cws : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1151949 Files : * /hive/trunk/metastore/scripts/upgrade/postgres/hive-schema-0.7.0.postgres.sql * /hive/trunk/metastore/scripts/upgrade/postgres/hive-schema-0.4.1.postgres.sql * /hive/trunk/metastore/scripts/upgrade/postgres/hive-schema-0.5.0.postgres.sql * /hive/trunk/metastore/scripts/upgrade/postgres/hive-schema-0.4.0.postgres.sql * /hive/trunk/metastore/scripts/upgrade/postgres/upgrade-0.6.0-to-0.7.0.postgres.sql * /hive/trunk/metastore/scripts/upgrade/postgres/hive-schema-0.3.0.postgres.sql > Schema creation scripts for PostgreSQL use bit(1) instead of boolean > -------------------------------------------------------------------- > > Key: HIVE-2307 > URL: https://issues.apache.org/jira/browse/HIVE-2307 > Project: Hive > Issue Type: Bug > Components: Configuration, Metastore > Affects Versions: 0.5.0, 0.6.0, 0.7.0, 0.7.1 > Reporter: Esteban Gutierrez > Assignee: Esteban Gutierrez > Labels: metastore, postgres > Fix For: 0.8.0 > > Attachments: HIVE-2307.1.patch.txt > > > The specified type for DEFERRED_REBUILD (IDXS) and IS_COMPRESSED (SDS) > columns in the metastore is defined as bit(1) type which is not supported by > PostgreSQL JDBC. > hive> create table test (id int); > FAILED: Error in metadata: javax.jdo.JDODataStoreException: Insert of object > "org.apache.hadoop.hive.metastore.model.MStorageDescriptor@4f1adeb7" using > statement "INSERT INTO "SDS" > ("SD_ID","INPUT_FORMAT","OUTPUT_FORMAT","LOCATION","SERDE_ID","NUM_BUCKETS","IS_COMPRESSED") > VALUES (?,?,?,?,?,?,?)" failed : ERROR: column "IS_COMPRESSED" is of type > bit but expression is of type boolean -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira