You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Saif Addin Ellafi (JIRA)" <ji...@apache.org> on 2016/09/19 19:00:22 UTC

[jira] [Commented] (SPARK-17597) HiveContext cannot create a table named sort

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

Saif Addin Ellafi commented on SPARK-17597:
-------------------------------------------

Regarded it as a problem since the table actually gets created. You have a couple issues when trying to access hive information in the metastore later on

> 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-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org