Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Fixed
-
0.8.0, 0.9.0
-
None
-
None
-
Reviewed
-
-
jython, import
Description
Currently, Jython UDF script doesn't support Jython import statement as in the following example:
#!/usr/bin/python import re @outputSchema("word:chararray") def resplit(content, regex, index): return re.compile(regex).split(content)[index]
Can Pig automatically locate the Jython module file and ship it to the backend? Or should we add a ship clause to let user explicitly specify the module to ship?