title: java.lang.StackOverflowError in Spark SQL
body: <p>Trying to run the example program from Spark 1.0.2
  spark-submit --class org.apache.spark.examples.sql.RDDRelation --master local \spark-1.0.2-bin-hadoop1\lib\spark-examples-1.0.2-hadoop1.0.4.jar</p>
  
  <p>the exception comes when the code tries to select on a table:-
  sql("SELECT * FROM records").collect().foreach(println)</p>
  
  <p>Exception in thread "main" java.lang.StackOverflowError
          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)
          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)
          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)
          at scala.util.parsing.combinator.Parsers$$anon$3.apply(Parsers.scala:222)</p>