[
https://issues.apache.org/jira/browse/IMPALA-12714?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17806906#comment-17806906
]
Riza Suminto commented on IMPALA-12714:
---------------------------------------
This is probably the second time I stumbled on "SCAN XX" mismatch when writing
test. Interestingly, another test did the same thing but does not cause issue.
{code:java}
@SkipIfFS.hbase
def test_scan_summary(self):
"""IMPALA-4499: Checks that the exec summary for scans show the table
name."""
# HDFS table
query = "select count(*) from functional.alltypestiny"
result = self.execute_query(query)
scan_idx = len(result.exec_summary) - 1
assert result.exec_summary[scan_idx]['operator'] == '00:SCAN HDFS'
assert result.exec_summary[scan_idx]['detail'] == 'functional.alltypestiny'
{code}
Turns out, it always skipped for non-HDFS environment.
{code:java}
hbase = pytest.mark.skipif(not IS_HDFS, reason="HBase not started"){code}
> test_reduced_cardinality_by_filter is failing on non HDFS builds
> ----------------------------------------------------------------
>
> Key: IMPALA-12714
> URL: https://issues.apache.org/jira/browse/IMPALA-12714
> Project: IMPALA
> Issue Type: Bug
> Components: Frontend
> Affects Versions: Impala 4.4.0
> Reporter: Tamas Mate
> Assignee: Riza Suminto
> Priority: Major
>
> Error Message, similar failures can be observed on Ozone builds:
> {code:none}
> query_test/test_observability.py:885: in test_reduced_cardinality_by_filter
> assert scan['operator'] == '00:SCAN HDFS' E assert '00:SCAN S3' ==
> '00:SCAN HDFS' E - 00:SCAN S3 E ? - E + 00:SCAN HDFS E
> ? +++
> Stacktrace
> query_test/test_observability.py:885: in test_reduced_cardinality_by_filter
> assert scan['operator'] == '00:SCAN HDFS'
> E assert '00:SCAN S3' == '00:SCAN HDFS'
> E - 00:SCAN S3
> E ? -
> E + 00:SCAN HDFS
> E ? +++
> {code}
> Standard Error
> {code:none}
> SET
> client_identifier=query_test/test_observability.py::TestObservability::()::test_reduced_cardinality_by_filter;
> SET compute_processing_cost=True;
> -- executing against localhost:21000
> select STRAIGHT_JOIN count(*) from
> (select l_orderkey from tpch_parquet.lineitem) a
> join (select o_orderkey, o_custkey from tpch_parquet.orders) l1
> on a.l_orderkey = l1.o_orderkey
> where l1.o_custkey < 1000;
> {code}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]