Quanlong Huang created IMPALA-13635:
---------------------------------------
Summary:
TestEventProcessingError.test_event_processor_error_global_invalidate fails in
year 2025
Key: IMPALA-13635
URL: https://issues.apache.org/jira/browse/IMPALA-13635
Project: IMPALA
Issue Type: Bug
Components: Test
Reporter: Quanlong Huang
Assignee: Quanlong Huang
The test adds a partition year=2024 but expects DESCRIBE FORMATTED to have 2024
in the output:
{code:python}
def test_event_processor_error_global_invalidate(self, unique_database):
"""Test to verify that auto global invalidate put back EP to active
when it goes into error state"""
tbl_name = "hive_table_global_invalidate"
self.__create_table_and_load__(unique_database, tbl_name, True, True)
self.run_stmt_in_hive(
"alter table {}.{} set owner user `test-user`"
.format(unique_database, tbl_name))
self.run_stmt_in_hive(
"alter table {}.{} add partition(year=2024)"
.format(unique_database, tbl_name))
EventProcessorUtils.wait_for_event_processing(self,
error_status_possible=True)
assert EventProcessorUtils.get_event_processor_status() == "ACTIVE"
result = self.client.execute("describe formatted {}.{}"
.format(unique_database, tbl_name))
self.verify_owner_property(result, 'test-user')
assert "2024" in result.get_data(){code}
This works in year 2024 since in the output of DESCRIBE FORMATTED, there is a
field of "CreateTime" which has "2024" in the timestamp. Now as we go into year
2025, the test fails forever. CC [~VenuReddy], [~hemanth619]
--
This message was sent by Atlassian Jira
(v8.20.10#820010)