[
https://issues.apache.org/jira/browse/IMPALA-14023?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17953335#comment-17953335
]
ASF subversion and git services commented on IMPALA-14023:
----------------------------------------------------------
Commit 5c415545ea37e66104bc62b3ae6a6a276c416109 in impala's branch
refs/heads/master from Zoltan Borok-Nagy
[ https://gitbox.apache.org/repos/asf?p=impala.git;h=5c415545e ]
IMPALA-14023: Fix test_scan_metrics_in_profile in non-HDFS builds
test_scan_metrics_in_profile was querying pre-written Iceberg V2
tables. The position delete files of such tables contain hard-coded
URIs of data files, i.e. URIs that start with "hdfs://localhost...".
Therefore the test only worked well in HDFS builds.
This patch splits the test into two parts:
* test_scan_metrics_in_profile_basic: it works on all storage systems
as it only works on Iceberg tables that don't have delete files.
* test_scan_metrics_in_profile_with_deletes: uses Iceberg tables
that have delete files, therefore it is only executed on HDFS.
Change-Id: I80a7c6469a7f56b58254e1327a05ef7b3dc9c9ff
Reviewed-on: http://gerrit.cloudera.org:8080/22931
Reviewed-by: Impala Public Jenkins <[email protected]>
Tested-by: Impala Public Jenkins <[email protected]>
> Test Failure: test_scan_metrics_in_profile
> ------------------------------------------
>
> Key: IMPALA-14023
> URL: https://issues.apache.org/jira/browse/IMPALA-14023
> Project: IMPALA
> Issue Type: Bug
> Affects Versions: Impala 5.0.0
> Reporter: Jason Fehr
> Assignee: Zoltán Borók-Nagy
> Priority: Critical
> Labels: broken-build
>
> The test_scan_metrics_in_profile in tests/query_test/test_iceberg.py that was
> added by
> https://github.com/apache/impala/commit/3c24706c72818a1668159a428d4f2afcadea9f27
> is failing on Jenkins.
> Abbreviated Stacktrace:
> {noformat}
> query_test/test_iceberg.py:1521: in test_scan_metrics_in_profile
> not_all_data_files_have_delete_files_snapshot_id
> common/impala_test_suite.py:959: in run_test_case
> update_section=pytest.config.option.update_results)
> common/test_result_verifier.py:699: in verify_runtime_profile
> actual))
> E AssertionError: Did not find matches for lines in runtime profile:
> E EXPECTED LINES:
> E Iceberg Plan Metrics for Node 03:
> E result-delete-files: 1
> E Iceberg Plan Metrics for Node 08:
> E result-delete-files: 2
> {noformat}
> The provided query profile only had plan metrics for node 00, 01, and 02.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]