You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Dongjoon Hyun (JIRA)" <ji...@apache.org> on 2016/08/11 02:46:20 UTC

[jira] [Resolved] (SPARK-8045) Stack overflow in query parser when there is too many where

     [ https://issues.apache.org/jira/browse/SPARK-8045?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Dongjoon Hyun resolved SPARK-8045.
----------------------------------
       Resolution: Fixed
    Fix Version/s: 2.0.0

New parser can handle this.

> Stack overflow in query parser when there is too many where
> -----------------------------------------------------------
>
>                 Key: SPARK-8045
>                 URL: https://issues.apache.org/jira/browse/SPARK-8045
>             Project: Spark
>          Issue Type: Bug
>          Components: SQL
>    Affects Versions: 1.3.0, 1.3.1
>            Reporter: Olivier Toupin
>            Priority: Minor
>             Fix For: 2.0.0
>
>         Attachments: longSql.txt
>
>
> A while ago we ran into a stack overflow in the parsing with one our query. It's still an issue (tested this morning) so we decided to report it as a bug.
> If run the query in attachment you get a stack overflow error probably because there to many where. Granted, this query isn't pretty, but still the parser shouldn't stack overflow.
> FYI, the where clause where used for partition pruning.
> Attachments: https://gist.github.com/anonymous/9aa852b7796b3918013c



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org