You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "shengli (JIRA)" <ji...@apache.org> on 2014/12/30 18:50:13 UTC

[jira] [Created] (SPARK-5009) allCaseVersions function in SqlLexical leads to StackOverflow Exception

shengli created SPARK-5009:
------------------------------

             Summary: allCaseVersions function in  SqlLexical  leads to StackOverflow Exception
                 Key: SPARK-5009
                 URL: https://issues.apache.org/jira/browse/SPARK-5009
             Project: Spark
          Issue Type: Bug
          Components: SQL
    Affects Versions: 1.2.0, 1.1.1
            Reporter: shengli
             Fix For: 1.3.0, 1.2.1


Recently I found a bug when I add new feature in SqlParser. Which is :
If I define a KeyWord that has a long name. Likeļ¼š
 ```protected val ļ¼šSERDEPROPERTIES = Keyword("SERDEPROPERTIES")```

When  ```implicit asParser`` function is called , lexical.allCaseVersions will leads SO Exception since this function will generate huge number of possible cases in stack. 



--
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