[
https://issues.apache.org/jira/browse/TAJO-1344?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14377460#comment-14377460
]
Jihoon Son commented on TAJO-1344:
----------------------------------
Hi guys, I have a suggestion for this issue.
To support python UDFs, we need to load python codes.
Currently, I'm only considering static loading when the tajo cluster starts up
for easy development.
To load python codes, we have two choices as follows:
* Add some configurations to specify the paths to python codes.
** Example
{code}
<property>
<name>tajo.udf.python.path</name>
<value>/path/to/python/code</value>
</property>
{code}
* Support a new grammar to register python functions.
** Example
{code}
CREATE EXTERNAL FUNCTION foo USING python LOCATION '/path/to/python/code'
{code}
Definitely, the second option looks cool, but I'm worrying about the patch size.
So, I suggest to proceed it in another Jira.
> Python UDF support
> ------------------
>
> Key: TAJO-1344
> URL: https://issues.apache.org/jira/browse/TAJO-1344
> Project: Tajo
> Issue Type: New Feature
> Components: function/udf
> Reporter: Hyunsik Choi
> Assignee: Jihoon Son
> Fix For: 0.11.0
>
>
> Python has abundant users and third-party libraries. This language is widely
> used in data analytic area. So, it would be great if Tajo supports Python UDF.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)