[
https://issues.apache.org/jira/browse/HIVE-21980?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16883628#comment-16883628
]
Zoltan Haindrich commented on HIVE-21980:
-----------------------------------------
yeah; I wasn't (really) expecting that...but to be honest I was afraid of
something like this :D
I see a way to make this work; but the ambiguity problem from the fact that we
support adding any amount of parenthesises to both 'selectStatement' and to
'joins'; I think we could just remove it from 'selectStatement' and let the one
handling joins do it instead; that way we could probably also get rid of the
syn pred as well - I will open a separate ticket for this
> 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
>
>
> 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)