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

ASF subversion and git services commented on IMPALA-12714:
----------------------------------------------------------

Commit e071e6f053ceb8cb4536837f76e76610a34aa8f2 in impala's branch 
refs/heads/master from Riza Suminto
[ https://gitbox.apache.org/repos/asf?p=impala.git;h=e071e6f05 ]

IMPALA-12714: Fix test_reduced_cardinality_by_filter for non-HDFS

test_reduced_cardinality_by_filter failed in non-HDFS environment
because it assert for existence of '00:SCAN HDFS' in ExecSummary. This
patch change that assertion to ignore the type of scan node from test
query. Also marked the test with SkipIfNotHdfsMinicluster.plans
decorator.

Testing:
- Pass test_reduced_cardinality_by_filter

Change-Id: Icbf72687cc3c5a99aa0a0a74e229ed8c88ed06ef
Reviewed-on: http://gerrit.cloudera.org:8080/20902
Reviewed-by: Impala Public Jenkins <[email protected]>
Tested-by: Impala Public Jenkins <[email protected]>


> 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]

Reply via email to