Re: Path to resource added with SQL: ADD FILE

2016-02-04 Thread Herman van Hövell tot Westerflier
Hi Antonio, I am not sure you got the silent treatment on the user list. Stackoverflow is also a good place to ask questions. Could you use an absolute path to add the jar file. So instead of './my resource file' (which is a relative path; this depends on where you started Spark), use something

Re: Path to resource added with SQL: ADD FILE

2016-02-04 Thread Antonio Piccolboni
Hi Herman, thanks for your reply, I used an absolute path to add the file. I use a relative path only to access it in the UDF. I am not sure what absolute path I should use in the UDF, if any. The documentation

Path to resource added with SQL: ADD FILE

2016-02-03 Thread Antonio Piccolboni
Sorry if this is more appropriate for user list, I asked there on 12/17 and got the silence treatment. I am writing a UDF that needs some additional info to perform its task. This information is in a file that I reference in a SQL ADD FILE statement. I expect that file to be accessible in the