You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Michael Armbrust (JIRA)" <ji...@apache.org> on 2015/02/16 21:47:29 UTC
[jira] [Updated] (SPARK-4801) Add CTE capability to HiveContext
[ 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.4.0 (was: 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-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org