Pranav Yogi Lodha created IMPALA-14966:
------------------------------------------
Summary:
TestIcebergV2Table.test_read_mixed_format_position_deletes fails with
AnalysisException
Key: IMPALA-14966
URL: https://issues.apache.org/jira/browse/IMPALA-14966
Project: IMPALA
Issue Type: Bug
Reporter: Pranav Yogi Lodha
h3. Error Message
impala.error.HiveServer2Error: Query 8348697112246bf8:ddcd9df600000000 failed:
AnalysisException: Table does not exist:
test_read_mixed_format_position_deletes_ecb117f4.ice_mixed_formats
h3. Stacktrace
query_test/test_iceberg.py:1640: in test_read_mixed_format_position_deletes
self.run_test_case('QueryTest/iceberg-mixed-format-position-deletes', self =
<test_iceberg.TestIcebergV2Table object at 0xffffa72ed610> unique_database =
'test_read_mixed_format_position_deletes_ecb117f4' vector = "table_format:
parquet/none" | "protocol: hs2" | "exec_option: \{'abort_on_error': 1,
'batch_size': 0, 'disable_codegen...d': 0, 'exec_single_node_rows_threshold':
0, 'num_nodes': 0, 'test_replan': 1, 'disable_optimized_iceberg_v2_read': 0}"
common/impala_test_suite.py:1047: in run_test_case result = exec_fn(query,
impalad_clients, _ImpalaTestSuite__exec_in_hive = <function
ImpalaTestSuite.run_test_case.<locals>.__exec_in_hive at 0xffffa73625c0>
_ImpalaTestSuite__exec_in_impala = <function
ImpalaTestSuite.run_test_case.<locals>.__exec_in_impala at 0xffffa73628e0>
catch_section_name = 'CATCH' current_error = None encoding = None exec_fn =
<function ImpalaTestSuite.run_test_case.<locals>.__exec_in_impala at
0xffffa73628e0> exec_options = \{'abort_on_error': 1, 'batch_size': 0,
'disable_codegen': False, 'disable_codegen_rows_threshold': 0, ...}
failed_count = 0 impalad_client =
<tests.common.impala_connection.ImpylaHS2Connection object at 0xffffa735c990>
impalad_clients = [<tests.common.impala_connection.ImpylaHS2Connection object
at 0xffffa735c990>] lineage_log_dir = '' multiple_impalad = False protocol =
'hs2' query = 'refresh ice_mixed_formats;\nrefresh ice_mixed_formats'
query_section = '# Second REFRESH should not do a full reload.\nrefresh
ice_mixed_formats;\nrefresh ice_mixed_formats;\n' result = None result_list =
[] results_section_name = 'RESULTS' rt_profile_info = None sections =
[defaultdict(<class 'str'>, \{'HIVE_QUERY': "use $DATABASE;\nCREATE TABLE
ice_mixed_formats(i int, j int)\nSTORED BY IC... 'str'>, {'QUERY': 'select *
from ice_mixed_formats where i > 1;\n', 'RESULTS': '10,10\n', 'TYPES':
'INT,INT\n'}), ...] self = <test_iceberg.TestIcebergV2Table object at
0xffffa72ed610> table_format_info =
<tests.common.test_dimensions.TableFormatInfo object at 0xffffa8fb4850>
target_feng_real_impalad_clients = [] target_impalad_clients =
[<tests.common.impala_connection.ImpylaHS2Connection object at 0xffffa735c990>]
test_file_name = 'QueryTest/iceberg-mixed-format-position-deletes'
test_file_vars = None test_section = defaultdict(<class 'str'>, \{'QUERY': '#
Second REFRESH should not do a full reload.\nrefresh
ice_mixed_formats;\nrefresh ice_mixed_formats;\n', 'RUNTIME_PROFILE':
'row_regex: Iceberg table reload skipped as no change detected\n'}) total_count
= 2 use_db = 'test_read_mixed_format_position_deletes_ecb117f4' vector =
"table_format: parquet/none" | "protocol: hs2" | "exec_option:
\{'abort_on_error': 1, 'batch_size': 0, 'disable_codegen...d': 0,
'exec_single_node_rows_threshold': 0, 'num_nodes': 0, 'test_replan': 1,
'disable_optimized_iceberg_v2_read': 0}" common/impala_test_suite.py:957: in
__exec_in_impala result = self.__execute_query(target_impalad_client, query,
user=user) client_needs_cleanup = False impalad_clients =
[<tests.common.impala_connection.ImpylaHS2Connection object at 0xffffa735c990>]
protocol = 'hs2' query = 'refresh ice_mixed_formats' query_options_changed = []
result = None self = <test_iceberg.TestIcebergV2Table object at 0xffffa72ed610>
set_pattern_match = None target_impalad_client =
<tests.common.impala_connection.ImpylaHS2Connection object at 0xffffa735c990>
user = None vector = "table_format: parquet/none" | "protocol: hs2" |
"exec_option: \{'abort_on_error': 1, 'batch_size': 0, 'disable_codegen...d': 0,
'exec_single_node_rows_threshold': 0, 'num_nodes': 0, 'test_replan': 1,
'disable_optimized_iceberg_v2_read': 0}" common/impala_test_suite.py:1475: in
__execute_query return impalad_client.execute(query, user=user) cls = <class
'test_iceberg.TestIcebergV2Table'> impalad_client =
<tests.common.impala_connection.ImpylaHS2Connection object at 0xffffa735c990>
query = 'refresh ice_mixed_formats' query_options = None user = None
common/impala_connection.py:693: in execute cursor.execute(sql_stmt,
configuration=self.__query_options) cursor =
<impala.hiveserver2.HiveServer2Cursor object at 0xffffa744dc90>
fetch_exec_summary = False fetch_profile_after_close = False profile_format = 0
result = None same_user = True self =
<tests.common.impala_connection.ImpylaHS2Connection object at 0xffffa735c990>
sql_stmt = 'refresh ice_mixed_formats' user = None
/data/jenkins/workspace/impala-cdh_main_staging-core-ubsan-arm/repos/Impala/infra/python/env-gcc10.4.0-py3/lib/python3.11/site-packages/impala/hiveserver2.py:391:
in execute self.execute_async(operation, parameters=parameters, configuration
= \{'abort_on_error': '1', 'batch_size': '0', 'client_identifier':
'query_test/test_iceberg.py::TestIcebergV2Table::test_...:0;\'disable_codegen\':False;\'disable_codegen_rows_threshold\':0;\'exec_single_node',
'disable_codegen': 'False', ...} operation = 'refresh ice_mixed_formats'
parameters = None self = <impala.hiveserver2.HiveServer2Cursor object at
0xffffa744dc90>
/data/jenkins/workspace/impala-cdh_main_staging-core-ubsan-arm/repos/Impala/infra/python/env-gcc10.4.0-py3/lib/python3.11/site-packages/impala/hiveserver2.py:443:
in execute_async self._execute_async(op) configuration = \{'abort_on_error':
'1', 'batch_size': '0', 'client_identifier':
'query_test/test_iceberg.py::TestIcebergV2Table::test_...:0;\'disable_codegen\':False;\'disable_codegen_rows_threshold\':0;\'exec_single_node',
'disable_codegen': 'False', ...} op = <function
HiveServer2Cursor.execute_async.<locals>.op at 0xffffa7363420> operation =
'refresh ice_mixed_formats' parameters = None paramstyle = None self =
<impala.hiveserver2.HiveServer2Cursor object at 0xffffa744dc90>
/data/jenkins/workspace/impala-cdh_main_staging-core-ubsan-arm/repos/Impala/infra/python/env-gcc10.4.0-py3/lib/python3.11/site-packages/impala/hiveserver2.py:462:
in _execute_async operation_fn() operation_fn = <function
HiveServer2Cursor.execute_async.<locals>.op at 0xffffa7363420> self =
<impala.hiveserver2.HiveServer2Cursor object at 0xffffa744dc90>
/data/jenkins/workspace/impala-cdh_main_staging-core-ubsan-arm/repos/Impala/infra/python/env-gcc10.4.0-py3/lib/python3.11/site-packages/impala/hiveserver2.py:438:
in op op = self.session.execute(self._last_operation_string, configuration =
\{'abort_on_error': '1', 'batch_size': '0', 'client_identifier':
'query_test/test_iceberg.py::TestIcebergV2Table::test_...:0;\'disable_codegen\':False;\'disable_codegen_rows_threshold\':0;\'exec_single_node',
'disable_codegen': 'False', ...} operation = 'refresh ice_mixed_formats'
parameters = None paramstyle = None self =
<impala.hiveserver2.HiveServer2Cursor object at 0xffffa744dc90>
/data/jenkins/workspace/impala-cdh_main_staging-core-ubsan-arm/repos/Impala/infra/python/env-gcc10.4.0-py3/lib/python3.11/site-packages/impala/hiveserver2.py:1324:
in execute return self._operation('ExecuteStatement', req, False)
configuration = \{'abort_on_error': '1', 'batch_size': '0',
'client_identifier':
'query_test/test_iceberg.py::TestIcebergV2Table::test_...:0;\'disable_codegen\':False;\'disable_codegen_rows_threshold\':0;\'exec_single_node',
'disable_codegen': 'False', ...} req =
TExecuteStatementReq(sessionHandle=TSessionHandle(sessionId=THandleIdentifier(guid=b'\x8f\xe4u\x9c\xe5\x83E\xe5\x8e\xb...e_rows_threshold':
'0', 'num_nodes': '0', 'test_replan': '1',
'disable_optimized_iceberg_v2_read': '0'}, runAsync=True) run_async = True self
= <impala.hiveserver2.HS2Session object at 0xffffa7600b50> statement = 'refresh
ice_mixed_formats'
/data/jenkins/workspace/impala-cdh_main_staging-core-ubsan-arm/repos/Impala/infra/python/env-gcc10.4.0-py3/lib/python3.11/site-packages/impala/hiveserver2.py:1244:
in _operation resp = self._rpc(kind, request, safe_to_retry) kind =
'ExecuteStatement' request =
TExecuteStatementReq(sessionHandle=TSessionHandle(sessionId=THandleIdentifier(guid=b'\x8f\xe4u\x9c\xe5\x83E\xe5\x8e\xb...e_rows_threshold':
'0', 'num_nodes': '0', 'test_replan': '1',
'disable_optimized_iceberg_v2_read': '0'}, runAsync=True) safe_to_retry = False
self = <impala.hiveserver2.HS2Session object at 0xffffa7600b50>
/data/jenkins/workspace/impala-cdh_main_staging-core-ubsan-arm/repos/Impala/infra/python/env-gcc10.4.0-py3/lib/python3.11/site-packages/impala/hiveserver2.py:1181:
in _rpc err_if_rpc_not_ok(response) func_name = 'ExecuteStatement' request =
TExecuteStatementReq(sessionHandle=TSessionHandle(sessionId=THandleIdentifier(guid=b'\x8f\xe4u\x9c\xe5\x83E\xe5\x8e\xb...e_rows_threshold':
'0', 'num_nodes': '0', 'test_replan': '1',
'disable_optimized_iceberg_v2_read': '0'}, runAsync=True) response =
TExecuteStatementResp(status=TStatus(statusCode=3, infoMessages=None,
sqlState='HY000', errorCode=None, errorMessage='...: Table does not exist:
test_read_mixed_format_position_deletes_ecb117f4.ice_mixed_formats\n\n'),
operationHandle=None) safe_to_retry = False self =
<impala.hiveserver2.HS2Session object at 0xffffa7600b50>
/data/jenkins/workspace/impala-cdh_main_staging-core-ubsan-arm/repos/Impala/infra/python/env-gcc10.4.0-py3/lib/python3.11/site-packages/impala/hiveserver2.py:867:
in err_if_rpc_not_ok raise HiveServer2Error(resp.status.errorMessage) E
impala.error.HiveServer2Error: Query 8348697112246bf8:ddcd9df600000000 failed:
E AnalysisException: Table does not exist:
test_read_mixed_format_position_deletes_ecb117f4.ice_mixed_formats resp =
TExecuteStatementResp(status=TStatus(statusCode=3, infoMessages=None,
sqlState='HY000', errorCode=None, errorMessage='...: Table does not exist:
test_read_mixed_format_position_deletes_ecb117f4.ice_mixed_formats\n\n'),
operationHandle=None)
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]