Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

Steps to write python UDF for Impala?

Solved Go to solution

Steps to write python UDF for Impala?

New Contributor

Hi,

 

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!

 

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted

Re: Steps to write python UDF for Impala?

Master Collaborator

Hi,

  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

1 REPLY 1
Highlighted

Re: Steps to write python UDF for Impala?

Master Collaborator

Hi,

  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