You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Jacob Davis (JIRA)" <ji...@apache.org> on 2014/12/09 20:33:12 UTC

[jira] [Created] (SPARK-4801) Add CTE capability to HiveContext

Jacob Davis created SPARK-4801:
----------------------------------

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

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)



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