You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Apache Spark (JIRA)" <ji...@apache.org> on 2016/07/22 04:21:20 UTC
[jira] [Commented] (SPARK-16677) Strange Error when Issuing Load
Table Against A View
[ https://issues.apache.org/jira/browse/SPARK-16677?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15388888#comment-15388888 ]
Apache Spark commented on SPARK-16677:
--------------------------------------
User 'gatorsmile' has created a pull request for this issue:
https://github.com/apache/spark/pull/14314
> Strange Error when Issuing Load Table Against A View
> ----------------------------------------------------
>
> Key: SPARK-16677
> URL: https://issues.apache.org/jira/browse/SPARK-16677
> Project: Spark
> Issue Type: Bug
> Components: SQL
> Affects Versions: 2.0.0
> Reporter: Xiao Li
>
> Users should not be allowed to issue LOAD DATA against a view. Currently, when users doing it, we got a very strange runtime error:
> For example,
> {noformat}
> LOAD DATA LOCAL INPATH "$testData" INTO TABLE $viewName
> {noformat}
> {noformat}
> java.lang.reflect.InvocationTargetException was thrown.
> java.lang.reflect.InvocationTargetException
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:606)
> at org.apache.spark.sql.hive.client.Shim_v0_14.loadTable(HiveShim.scala:680)
> {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