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

Quanlong Huang commented on IMPALA-13635:
-----------------------------------------

The failure is
{code:python}
custom_cluster/test_event_processing_error.py:342: in 
test_event_processor_error_global_invalidate
    assert "2024" in result.get_data()
E   assert '2024' in '# col_name            \tdata_type           \tcomment     
        \n\tNULL\tNULL\ni\tint\tNULL\n\tNULL\tNULL\n# Parti...torage Desc 
Params:\tNULL\tNULL\n\tserialization.format\t1                   
\n\tNULL\tNULL\n# Constraints\tNULL\tNULL'
E    +  where '# col_name            \tdata_type           \tcomment            
 \n\tNULL\tNULL\ni\tint\tNULL\n\tNULL\tNULL\n# Parti...torage Desc 
Params:\tNULL\tNULL\n\tserialization.format\t1                   
\n\tNULL\tNULL\n# Constraints\tNULL\tNULL' = <bound method 
ImpalaBeeswaxResult.get_data of 
<tests.beeswax.impala_beeswax.ImpalaBeeswaxResult object at 0x7ff47870ddd0>>()
E    +    where <bound method ImpalaBeeswaxResult.get_data of 
<tests.beeswax.impala_beeswax.ImpalaBeeswaxResult object at 0x7ff47870ddd0>> = 
<tests.beeswax.impala_beeswax.ImpalaBeeswaxResult object at 
0x7ff47870ddd0>.get_data{code}

> 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
>            Priority: Blocker
>
> 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)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to