[ 
https://issues.apache.org/jira/browse/SPARK-17597?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15505316#comment-15505316
 ] 

Hyukjin Kwon edited comment on SPARK-17597 at 9/20/16 2:16 AM:
---------------------------------------------------------------

BTW, I can't reproduce this against master. It seems the tests were added for 
this one in https://github.com/apache/spark/pull/12537


was (Author: hyukjin.kwon):
BTW, I can't reproduce this against master. It seems the tests were added for 
this one ~~fixed~~ in https://github.com/apache/spark/pull/12537

> 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