Xiao Li created SPARK-14349:
-------------------------------

             Summary: 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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to