[ https://issues.apache.org/jira/browse/HIVE-2192?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13043940#comment-13043940 ]
jirapos...@reviews.apache.org commented on HIVE-2192: ----------------------------------------------------- ----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/851/ ----------------------------------------------------------- Review request for hive, Hairong Kuang and Ning Zhang. Summary ------- HIVE-2185 introduces new statistics collected by StatsPublisher, which causes a change in the schema of the table used for collecting intermediate statistics by JDBCStatsPublisher. This patch changes the table name, to avoid conflicts with the previous version. Also this patch removes an empty JUnit java file. This addresses bug HIVE-2192. https://issues.apache.org/jira/browse/HIVE-2192 Diffs ----- trunk/ql/src/java/org/apache/hadoop/hive/ql/stats/jdbc/JDBCStatsSetupConstants.java 1131108 Diff: https://reviews.apache.org/r/851/diff Testing ------- JDBCStatsPublisherEnhanced JUnit test. Thanks, Tomasz > Stats table schema incompatible after HIVE-2185 > ----------------------------------------------- > > Key: HIVE-2192 > URL: https://issues.apache.org/jira/browse/HIVE-2192 > Project: Hive > Issue Type: Bug > Reporter: Ning Zhang > Assignee: Tomasz Nykiel > Attachments: HIVE-2192.patch > > > HIVE-2185 introduced a new column in the intermediate stats table. This > introduces incompatibility between old and new branches (multiple branches > could be deployed in production): the old branch will not work with the new > schema, and the new branch will not work with the old schema. A solution > would be to rename the stats table name (requires code change) or use a > different database name (requires hive-default.xml conf change). -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira