[ 
https://issues.apache.org/jira/browse/IMPALA-9094?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Attila Jeges reassigned IMPALA-9094:
------------------------------------

    Assignee: Attila Jeges

> Update test_hms_integration.py test_compute_stats_get_to_hive to account for 
> separate Hive/Impala statistics
> ------------------------------------------------------------------------------------------------------------
>
>                 Key: IMPALA-9094
>                 URL: https://issues.apache.org/jira/browse/IMPALA-9094
>             Project: IMPALA
>          Issue Type: Bug
>          Components: Frontend
>    Affects Versions: Impala 3.4.0
>            Reporter: Joe McDonnell
>            Assignee: Attila Jeges
>            Priority: Blocker
>
> With newer Hive versions, Impala and Hive stats are kept separately and won't 
> overwrite each other. test_hms_integration.py test_compute_stats_get_to_hive 
> expects that Hive stats change when Impala does compute stats. 
> test_compute_stats_get_to_impala expects that Impala stats change when Hive 
> does compute stats. These tests need to be revised. Here are the example test 
> failures:
> {noformat}
> metadata/test_hms_integration.py:486: in test_compute_stats_get_to_hive
>     assert hive_stats != self.hive_column_stats(table_name, 'x')
> E   assert {'# col_name': 'data_type', 'col_name': 'data_type', 'x': 'int'} 
> != {'# col_name': 'data_type', 'col_name': 'data_type', 'x': 'int'}
> E    +  where {'# col_name': 'data_type', 'col_name': 'data_type', 'x': 
> 'int'} = <bound method TestHmsIntegration.hive_column_stats of 
> <test_hms_integration.TestHmsIntegration object at 
> 0xe260e50>>('zbberubbydyldirc.fkqzvzekyqsjnflk', 'x')
> E    +    where <bound method TestHmsIntegration.hive_column_stats of 
> <test_hms_integration.TestHmsIntegration object at 0xe260e50>> = 
> <test_hms_integration.TestHmsIntegration object at 
> 0xe260e50>.hive_column_stats{noformat}
> If my theory is right, we should flip the test to make sure that Impala 
> compute stats doesn't impact Hive and vice versa.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-all-unsubscr...@impala.apache.org
For additional commands, e-mail: issues-all-h...@impala.apache.org

Reply via email to