[ https://issues.apache.org/jira/browse/HIVE-12213?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14966827#comment-14966827 ]
Aihua Xu commented on HIVE-12213: --------------------------------- Got you. Seems you need to check fileStatus is empty after {{DO_NOT_UPDATE_STATS}} check in the following function. The following test failures seem to be caused by that. {noformat} public static boolean updateTableStatsFast(Table tbl, FileStatus[] fileStatus, boolean newDir, boolean forceRecompute) throws MetaException { {noformat} BTW: I feel it's a overkill to create a new isEmpty() function. > Investigating the test failure TestHCatClient.testTableSchemaPropagation > ------------------------------------------------------------------------ > > Key: HIVE-12213 > URL: https://issues.apache.org/jira/browse/HIVE-12213 > Project: Hive > Issue Type: Test > Components: Test > Affects Versions: 2.0.0 > Reporter: Aihua Xu > Assignee: Aleksei Statkevich > Priority: Minor > Attachments: HIVE-12213.patch, HIVE-12231.1.patch > > > The test has been failing for some time with following error. > {noformat} > Error Message > Table after deserialization should have been identical to sourceTable. > expected:<[TABLE_PROPERTIES]> but was:<[]> > Stacktrace > java.lang.AssertionError: Table after deserialization should have been > identical to sourceTable. expected:<[TABLE_PROPERTIES]> but was:<[]> > at org.junit.Assert.fail(Assert.java:88) > at org.junit.Assert.failNotEquals(Assert.java:743) > at org.junit.Assert.assertEquals(Assert.java:118) > at > org.apache.hive.hcatalog.api.TestHCatClient.testTableSchemaPropagation(TestHCatClient.java:1065) > {noformat} -- This message was sent by Atlassian JIRA (v6.3.4#6332)