[ https://issues.apache.org/jira/browse/SPARK-4801?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Michael Armbrust updated SPARK-4801: ------------------------------------ Target Version/s: 1.3.0 > Add CTE capability to HiveContext > --------------------------------- > > Key: SPARK-4801 > URL: https://issues.apache.org/jira/browse/SPARK-4801 > Project: Spark > Issue Type: Improvement > Components: SQL > Affects Versions: 1.1.0 > Reporter: Jacob Davis > > This is a request to add CTE functionality to HiveContext. Common Table > Expressions are added in Hive 0.13.0 with HIVE-1180. Using CTE style syntax > within HiveContext currently results in the following caused by message: > {code} > Caused by: scala.MatchError: TOK_CTE (of class > org.apache.hadoop.hive.ql.parse.ASTNode) > at org.apache.spark.sql.hive.HiveQl$$anonfun$13.apply(HiveQl.scala:500) > at org.apache.spark.sql.hive.HiveQl$$anonfun$13.apply(HiveQl.scala:500) > at > scala.collection.TraversableLike$$anonfun$map$1.apply(TraversableLike.scala:244) > at > scala.collection.TraversableLike$$anonfun$map$1.apply(TraversableLike.scala:244) > at scala.collection.immutable.List.foreach(List.scala:318) > at scala.collection.TraversableLike$class.map(TraversableLike.scala:244) > at scala.collection.AbstractTraversable.map(Traversable.scala:105) > at org.apache.spark.sql.hive.HiveQl$.nodeToPlan(HiveQl.scala:500) > at org.apache.spark.sql.hive.HiveQl$.parseSql(HiveQl.scala:248) > {code} -- 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