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.

Impyla - cursor/connection methods availability

Solved Go to solution

Impyla - cursor/connection methods availability

Explorer

Hi

 

I am trying to get some documentation on what cursor/connection object methods are available in impyla?

 

It does implement  DB API 2.0 (PEP 249), but some of the methods like rowcount, messages, errorhandler are optional in when implementing DB API. Were any optional DB API Entensions included in Impyla?

 

If not, is there any documentation on what is available?

 

Also - can someone please advice on how to capture the logs when using impyla??

1 ACCEPTED SOLUTION

Accepted Solutions

Re: Impyla - cursor/connection methods availability

Master Collaborator

I took a quick look at the Impyla code and rowcount() always returns -1 and the other two methods you mention are not implemented: https://github.com/cloudera/impyla/

 

At the moment Impyla isn't officially part of CDH - it was developed by one of our data scientists and open sourced for the benefit of the community - all of the documentation and so on is just in that github repo.

3 REPLIES 3

Re: Impyla - cursor/connection methods availability

Master Collaborator

I took a quick look at the Impyla code and rowcount() always returns -1 and the other two methods you mention are not implemented: https://github.com/cloudera/impyla/

 

At the moment Impyla isn't officially part of CDH - it was developed by one of our data scientists and open sourced for the benefit of the community - all of the documentation and so on is just in that github repo.

Re: Impyla - cursor/connection methods availability

Explorer

Thanks Tim.

 

Would you be able to advice any easy way to capture the log messages from Impyla?

Re: Impyla - cursor/connection methods availability

Master Collaborator
I don't know too much about that unfortunately.
Don't have an account?
Coming from Hortonworks? Activate your account here