ibis: AttributeError: module 'ibis.impala' has no attribute 'connect'
I want to create a impala connect by following the doc. This is my code:
import ibis con = ibis.impala.connect(host='XXX.XXX.XXX.XXX', port=21050, auth_mechanism='PLAIN',user='XXXXX', password='XXXXX')
But running it will raise an error:
AttributeError: module 'ibis.impala' has no attribute 'connect'
Please help!
About this issue
- Original URL
- State: closed
- Created 7 years ago
- Comments: 19 (9 by maintainers)
I came across the same issue when trying to use ibis for Impala. What has helped is to install the framework in the proper way (see below, it’s also in the documentation, the ‘Impala Quickstart’ section). I suggest outlining in the documentation that there are several options how to install ibis.
pip install ibis-framework[impala]