I'm trying to run a SQL query using livy interpreter as below.
%livy.sql
LOAD DATA LOCAL INPATH '/tmp/abc.csv' INTO TABLE abc
it gives this error
org.apache.spark.sql.execution.QueryExecutionException: FAILED: SemanticException Line 1:23 Invalid path ''/tmp/abc.csv'': No files matching path file:/tmp/abc.csv
But when I run the same thing with %sql as below, it works fine.
%sql
LOAD DATA LOCAL INPATH '/tmp/abc.csv' INTO TABLE abc
Any pointers on this behavior ?