[ https://issues.apache.org/jira/browse/PIG-3243?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13604066#comment-13604066 ]
Daniel Dai commented on PIG-3243: --------------------------------- Would you like to create a patch? Change the src/docs/src/documentation/content/xdocs/udf.xml will do it. > Documentation error > ------------------- > > Key: PIG-3243 > URL: https://issues.apache.org/jira/browse/PIG-3243 > Project: Pig > Issue Type: Bug > Reporter: Tolga Konik > Priority: Trivial > Original Estimate: 1h > Remaining Estimate: 1h > > Error in documentation on web related to python udf usage: > The document mentions JYTHON_PATH but it should be JYTHONPATH. Seasoned > jython users will easily figure this out but for cpython users who are new to > jython, > this error can easily be a show stopper. > I observed this in 11.0 but it may be occuring in earlier versions. > REFERENCE: > http://pig.apache.org/docs/r0.11.0/udf.html#python-advanced > Advanced Topics > Importing Modules > You can import Python modules in your Python script. Pig resolves Python > dependencies recursively, which means Pig will automatically ship all > dependent Python modules to the backend. Python modules should be found in > the jython search path: JYTHON_HOME, JYTHON_PATH, or current directory. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira