You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Wenchen Fan (JIRA)" <ji...@apache.org> on 2016/08/10 09:08:20 UTC
[jira] [Updated] (SPARK-16185) Unresolved Operator When Creating
Table As Select Without Enabling Hive Support
[ https://issues.apache.org/jira/browse/SPARK-16185?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Wenchen Fan updated SPARK-16185:
--------------------------------
Assignee: Xiao Li
> Unresolved Operator When Creating Table As Select Without Enabling Hive Support
> -------------------------------------------------------------------------------
>
> Key: SPARK-16185
> URL: https://issues.apache.org/jira/browse/SPARK-16185
> Project: Spark
> Issue Type: Bug
> Components: SQL
> Affects Versions: 2.0.0
> Reporter: Xiao Li
> Assignee: Xiao Li
> Fix For: 2.1.0
>
>
> When we do not turn on the Hive Support, the following query generates a confusing error message:
> {noformat}
> sql("CREATE TABLE t2 SELECT a, b from t1")
> {noformat}
> {noformat}
> unresolved operator 'CreateHiveTableAsSelectLogicalPlan CatalogTable(
> Table: `t`
> Created: Fri Jun 24 00:09:15 PDT 2016
> Last Access: Wed Dec 31 15:59:59 PST 1969
> Type: MANAGED
> Storage(InputFormat: org.apache.hadoop.mapred.TextInputFormat, OutputFormat: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat)), false;
> org.apache.spark.sql.AnalysisException: unresolved operator 'CreateHiveTableAsSelectLogicalPlan CatalogTable(
> Table: `t`
> Created: Fri Jun 24 00:09:15 PDT 2016
> Last Access: Wed Dec 31 15:59:59 PST 1969
> Type: MANAGED
> Storage(InputFormat: org.apache.hadoop.mapred.TextInputFormat, OutputFormat: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat)), false;
> {noformat}
--
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