Support Questions
Find answers, ask questions, and share your expertise

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

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.

View solution in original post

3 REPLIES 3

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.

View solution in original post

Explorer

Thanks Tim.

 

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

I don't know too much about that unfortunately.