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
Cassandra / ScyllaDB date fields can't serialize into JSON #4970
Comments
What's interesting is that Redash's redash/redash/utils/__init__.py Lines 71 to 104 in d036df0
|
Just a note for other searchers: you can work around this by casting to
|
@susodapop That's why the |
Issue Summary
The
CassandraJSONEncoder
doesn't support encoding PythonDate()
objects:redash/redash/query_runner/cass.py
Lines 32 to 36 in d036df0
Steps to Reproduce
SELECT date_field FROM table
against Cassandra or ScyllaDB"Error running query: Object of type Date is not JSON serializable"
Technical details:
The text was updated successfully, but these errors were encountered: