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/07/26 01:57:20 UTC

[jira] [Updated] (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:all-tabpanel ]

Wenchen Fan updated SPARK-16677:
--------------------------------
    Assignee: Xiao Li

> 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
>            Assignee: Xiao Li
>             Fix For: 2.1.0
>
>
> 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