You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Xiao Li (JIRA)" <ji...@apache.org> on 2016/04/03 02:13:25 UTC
[jira] [Updated] (SPARK-14349) Issue Error Messages for Unsupported
Operations in SQL Context.
[ https://issues.apache.org/jira/browse/SPARK-14349?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Xiao Li updated SPARK-14349:
----------------------------
Description:
Currently, the weird error messages are issued if we use Hive Context-only operations in SQL Context.
For example,
1. When calling `Drop Table` in SQL Context, we got the following message:
Expected exception org.apache.spark.sql.catalyst.parser.ParseException to be thrown, but java.lang.ClassCastException was thrown.
2. When calling `Script Transform` in SQL Context, we got the message:
assertion failed: No plan for ScriptTransformation [key#9,value#10], cat, [tKey#155,tValue#156], null
+- LogicalRDD [key#9,value#10], MapPartitionsRDD[3] at beforeAll at BeforeAndAfterAll.scala:187
was:
Currently, the weird error messages are issued if we use Hive Context-only operations in SQL Context.
For example,
1. When calling `Drop Table` in SQL Context, we got the following message:
{{{
Expected exception org.apache.spark.sql.catalyst.parser.ParseException to be thrown, but java.lang.ClassCastException was thrown.
}}}
2. When calling `Script Transform` in SQL Context, we got the message:
{{{
assertion failed: No plan for ScriptTransformation [key#9,value#10], cat, [tKey#155,tValue#156], null
+- LogicalRDD [key#9,value#10], MapPartitionsRDD[3] at beforeAll at BeforeAndAfterAll.scala:187
}}}
> Issue Error Messages for Unsupported Operations in SQL Context.
> ---------------------------------------------------------------
>
> Key: SPARK-14349
> URL: https://issues.apache.org/jira/browse/SPARK-14349
> Project: Spark
> Issue Type: Bug
> Components: SQL
> Affects Versions: 2.0.0
> Reporter: Xiao Li
>
> Currently, the weird error messages are issued if we use Hive Context-only operations in SQL Context.
> For example,
> 1. When calling `Drop Table` in SQL Context, we got the following message:
> Expected exception org.apache.spark.sql.catalyst.parser.ParseException to be thrown, but java.lang.ClassCastException was thrown.
> 2. When calling `Script Transform` in SQL Context, we got the message:
> assertion failed: No plan for ScriptTransformation [key#9,value#10], cat, [tKey#155,tValue#156], null
> +- LogicalRDD [key#9,value#10], MapPartitionsRDD[3] at beforeAll at BeforeAndAfterAll.scala:187
--
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