spark-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Markovitz <Dudu.Markov...@microsoft.com.INVALID>
Subject Run SQL on files directly
Date Sat, 08 Dec 2018 17:39:32 GMT
Hi
Spark SQL supports direct querying on files (here<https://spark.apache.org/docs/latest/sql-data-sources-load-save-functions.html#run-sql-on-files-directly>),
e.g. –


select * from csv.`/my/path/myfile.csv`

Does anybody know if it possible to pass options (sep, header, encoding etc.) with this syntax?

Thanks


Best regards,

David (דודו) Markovitz
Technology Solutions Professional, Data Platform
Microsoft Israel

Mobile: +972-525-834-304
Office: +972-747-119-274

[cid:image002.png@01D166A7.36DE1270]


Mime
View raw message