Ok, I was a bit to quick. I'm able to answer to my own question now.
from org.apache.pig.scripting import ScriptPigContext
ctx = ScriptPigContext.get()
params = ctx.getPigContext().getParams()
paramFiles = ctx.getPigContext().getParamFiles()
getParamFiles() will give me the path to the file
Hi, is there a way to get access to the params passed with the pig command
in the python code?
pig -p param1=val1 -param_file=filepath script.py
Based on this: https://issues.apache.org/jira/browse/PIG-2165 I know that
those params will be automatically bound.
Is there a way access those paramet