dropbox / dropbox/PyHive

Using UDF in pyhive

Open
#223 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
1.7k
Forks
545
PR merge metrics
No merged PRs in 30d

Description

I wonder if there is a way for me to use my own udf in Ipython Notebook with pyhive,

I have tried the following:

`cursor = hive.connect().cursor() #connect with the server
cursor.execute("ADD FILE ") #add udf to hive
cursor.execute("sql query") #run the query
`

I have an error on the final stage, it seems not recognize the udf, with the error message
"An error occurred while reading or writing to your custom script"

I have tested the udf in other occasion, it works.

Could you please help me with this, thank you!

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.