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

Zoltan Haindrich commented on HIVE-21980:
-----------------------------------------

I'm afraid that we just can't merge the 2 '()' recursions...or at least not 
without rethinking/redesigning the setop rules entirely.
eventually I came up with a solution which should most probably work for every 
case just like before.
for some reason one of the druid tests doesn't want to run on my machine; I 
guess I've a bad day..the others are passing


> Parsing time can be high in case of deeply nested subqueries
> ------------------------------------------------------------
>
>                 Key: HIVE-21980
>                 URL: https://issues.apache.org/jira/browse/HIVE-21980
>             Project: Hive
>          Issue Type: Improvement
>          Components: Parser
>            Reporter: Zoltan Haindrich
>            Assignee: Zoltan Haindrich
>            Priority: Major
>         Attachments: HIVE-21980.01.patch, HIVE-21980.01.patch, 
> HIVE-21980.02.patch
>
>
> for queries which are recursively doing:
> {code}
> SELECT ...
> FROM (SELECT ...
>              FROM ( [...]
>              ) JOIN
>             (SELECT ...
>             FROM ( [...] )
> JOIN ( [...]
> )
> {code}



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)

Reply via email to