-
Notifications
You must be signed in to change notification settings - Fork 4.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
NameError: global name 'cassandra' is not defined #1422
Comments
If you run |
Yes |
#1423 fixes this. The problem was that the |
(this issue only happens if you have an exception while connecting/running the query) |
I too have the same issue after running python -c "import cassandra" then too its showing the same error. |
Hey,
Issue Summary
I added
export REDASH_ADDITIONAL_QUERY_RUNNERS=redash.query_runner.cass
toopt/redash/.env
. After that, I was able to create a new cassandra datasource but when querying is failing and displaying: global name 'cassandra' is not definedI have installed the DataStax Cassandra driver
sudo pip install cassandra-driver
and using Python 2.7.6.These are the traces of
/opt/redash/logs/celery_error.log
Technical details
Thanks
The text was updated successfully, but these errors were encountered: