[ 
https://issues.apache.org/jira/browse/HIVE-12213?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14969099#comment-14969099
 ] 

Aihua Xu commented on HIVE-12213:
---------------------------------

I thought about that again. My bad. Seems your original patch is the right way 
to do, since when fileStatus is empty or null, we should set file size or 
number of files to 0. So we don't need to touch updateTableStatsFast and 
populateQuickStats functions. How do you think? 


> 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.2.patch, 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)

Reply via email to