[ https://issues.apache.org/jira/browse/SPARK-5009?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Michael Armbrust resolved SPARK-5009. ------------------------------------- Resolution: Fixed Fix Version/s: (was: 1.2.1) Issue resolved by pull request 3926 [https://github.com/apache/spark/pull/3926] > 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.1.1, 1.2.0 > Reporter: shengli > Fix For: 1.3.0 > > Original Estimate: 96h > Remaining Estimate: 96h > > 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")``` > Since the all case version is implement by recursive function, so when > ```implicit asParser`` function is called and the stack memory is very > small, it will leads to SO Exception. > java.lang.StackOverflowError > at > scala.util.parsing.combinator.Parsers$Parser$$anonfun$append$1.apply(Parsers.scala:254) > at > scala.util.parsing.combinator.Parsers$Parser$$anonfun$append$1.apply(Parsers.scala:254) > at > scala.util.parsing.combinator.Parsers$$anon$3.apply(Parsers.scala:222) > at > scala.util.parsing.combinator.Parsers$Parser$$anonfun$append$1.apply(Parsers.scala:254) > at > scala.util.parsing.combinator.Parsers$Parser$$anonfun$append$1.apply(Parsers.scala:254) -- This message was sent by Atlassian JIRA (v6.3.4#6332) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org For additional commands, e-mail: issues-h...@spark.apache.org