Xiao Li created SPARK-16677: ------------------------------- Summary: 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-unsubscr...@spark.apache.org For additional commands, e-mail: issues-h...@spark.apache.org