spark-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Antonio Piccolboni <>
Subject Path to resource added with SQL: ADD FILE
Date Wed, 03 Feb 2016 18:17:05 GMT
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
working directory for the UDF, but it doesn't seem to work (aka, failure on
open("./my resource file"). What is the correct way to access the added
resource? Thanks


View raw message