Open vioao opened 2 months ago
I found a similar unsolved discussion regarding an error when filtering a Druid query from the dashboard [1].
The known limitation of the Histogram chart in Superset is that cross filtering is not yet implemented [2].
In Superset version 4.0.2, there were fixes related to metric filtering and general filtering that might be relevant:
The specific SQL syntax or query configurations known to cause issues with Apache Druid in Superset are related to time grain expressions. Deviations from predefined expressions might cause issues [4][5].
For handling metric filters with Apache Druid, ensure that the pydruid
package is installed and the connection string is correctly set up:
pip install pydruid
Connection string format:
druid://<User>:<password>@<Host>:<Port-default-9088>/druid/v2/sql
This setup allows Superset to handle Druid metrics and post-aggregations effectively [6].
To continue talking to Dosu, mention @dosu.
I was able to get this to work fine on other dbs... seems more like a Druid driver issue? Maybe @betodealmeida will have a clue.
Also, indeed, it seems Dosu is right about the linked discussion looking rather similar.
Bug description
I get an error when using the filter by metric in the Histogram chart.
How to reproduce the bug
having count(*)
)Screenshots/recordings
Superset version
4.0.2
Python version
3.9
Node version
16
Browser
Chrome
Additional context
No response
Checklist