Steve Carlin created IMPALA-14642:
-------------------------------------

             Summary: Calcite planner: Limit needs to be applied to select node
                 Key: IMPALA-14642
                 URL: https://issues.apache.org/jira/browse/IMPALA-14642
             Project: IMPALA
          Issue Type: Sub-task
            Reporter: Steve Carlin


For the statement: 

with l as (select * from tpch.lineitem a LIMIT 1)

select * from l where l_partkey=155190

...a select node is generated on top of the scan node, but the limit is not 
getting applied.  We need to make sure the limit is attached to the "wrapped" 
select node.



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

Reply via email to