Steve Carlin created IMPALA-14813:
-------------------------------------

             Summary: Calcite Planner: orc stats predicate not created for 
"bool = true" condition
                 Key: IMPALA-14813
                 URL: https://issues.apache.org/jira/browse/IMPALA-14813
             Project: IMPALA
          Issue Type: Sub-task
            Reporter: Steve Carlin


In orc-stats.test, for the following query:

select count(*) from functional_orc_def.alltypessmall_bool_sorted where 
bool_col = true;

The Calcite planner is simplifying the "bool_col = true" condition to 
"bool_col".  Because of this, the orc statistics predicate is not getting 
created (which can be observed by setting the explain_level to 2)



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to