-
Type:
Improvement
-
Status: Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 0.8.0, 0.9.0
-
Fix Version/s: 0.10.0
-
Component/s: None
-
Labels:None
-
Hadoop Flags:Reviewed
-
Release Note:
-
Tags:jython, import
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?