[ 
https://issues.apache.org/jira/browse/SPARK-17597?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Sean Owen resolved SPARK-17597.
-------------------------------
    Resolution: Duplicate

> HiveContext cannot create a table named sort
> --------------------------------------------
>
>                 Key: SPARK-17597
>                 URL: https://issues.apache.org/jira/browse/SPARK-17597
>             Project: Spark
>          Issue Type: Bug
>          Components: Spark Core, SQL
>    Affects Versions: 1.6.0
>            Reporter: Saif Addin Ellafi
>            Priority: Minor
>
> Happens using a HiveContext:
> val data = sqlContext.table("someTable")
> data.registerTempTable("sort")
> sqlContext.table("sort")
> java.lang.RuntimeException: [1.1] failure: identifier expected
> sort
> ^
>   at scala.sys.package$.error(package.scala:27)
>   at 
> org.apache.spark.sql.catalyst.SqlParser$.parseTableIdentifier(SqlParser.scala:58)
>   at org.apache.spark.sql.SQLContext.table(SQLContext.scala:827)
>   ... 48 elided



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

Reply via email to