we got python 3.4 installed and is there a way to have pig use 3.4 as default python instead of 2.6?
You need to update the pig.properties value to be like the below to force it to use a different python alias when using the new Pig 13+ Python Streaming functions:
View solution in original post
Are you talking about running a Pig UDF written in Python? You need to make sure you are using streaming_python instead of jython. What does your REGISTER command look like?
Adding that setting is not really working for me, I'm doing something like this
register 's3://fernandos-tests/python-udfs/python-version.py' using streaming_python as pyudfs;
results = FOREACH limited GENERATE pyudfs.version();
My python code looking like...
from pig_util import outputSchema
And still getting python version 2.7