[
https://issues.apache.org/jira/browse/HIVE-7203?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14027998#comment-14027998
]
Ashutosh Chauhan commented on HIVE-7203:
----------------------------------------
Yup, this is only for outermost limit. Opportunity to optimize away inner
subquery with limit 0 with null scan still exists, although thats not a common
case. Yeah, schema will be retained since as you said fetch task still exists
which will have right schema.
> Optimize limit 0
> ----------------
>
> Key: HIVE-7203
> URL: https://issues.apache.org/jira/browse/HIVE-7203
> Project: Hive
> Issue Type: New Feature
> Components: Query Processor
> Reporter: Ashutosh Chauhan
> Assignee: Ashutosh Chauhan
> Attachments: HIVE-7203.1.patch, HIVE-7203.patch
>
>
> Some tools generate queries with limit 0. Lets optimize that.
--
This message was sent by Atlassian JIRA
(v6.2#6252)