New Contributor
Posts: 4
Registered: ‎06-03-2017
Accepted Solution

Steps to write python UDF for Impala?



I was wondering if there were any steps to write Python UDFs for Impala to query Kudu?


I know that the UDF feature was deprecated in Impyla; I tried to follow the tutorial for Ibis, but I'm seeing errors like these:

client = ibis.impala.connect(host='localhost', port=21000)
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
AttributeError: 'module' object has no attribute 'connect'


Can someone tell me if python UDFs can still be developed for Impala and if so, can someone point me to the latest "getting started" steps?


Thanks in advance!


Cloudera Employee
Posts: 436
Registered: ‎07-29-2015

Re: Steps to write python UDF for Impala?


  Impala unfortunately doesn't support Python UDFs - we have C++ and Java UDF support only.


It looks like Impyla had a limited prototype at one point but as far as I know it wasn't ever supported.


- Tim