-
Notifications
You must be signed in to change notification settings - Fork 14.3k
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
Filter-box charts broken with 0.31 with Druid datasources #7074
Comments
Can you try to cherry-pick #7066 (SHA is BTW we now recommend using pydruid's SQLAlchemy to connect to Druid. We'll likely deprecate the whole Druid connector in favor of the SQLA Druid connector in the next few months. |
@mistercrunch I cherry picked the patch on top of the release--0.31 branch and now I get this:
I have redacted some details of the Druid query that I thought were not needed, but if something is missing I'll provide it. It seems now that Druid returns 500, and that the I am going to check how to switch from the Druid connector to pydruid's sql alchemy, is it something present in the docs? |
Ah no sorry I was wrong, I checked the Druid logs and this is the issue:
The |
I have re-imported the db, ran again superset db upgrade, and now I can see the issue fixed! Would it be possible to get it backported to 0.31 before the release? |
Another regression that I have noticed in Filter Box is that now (in 0.31.0) instead of returning "No data", like it happens on 0.26, I get the following:
Count in this case is the sort metric of the first filter added. EDIT: might be related to #7019 ? |
That won't be easy to debug without being able to reproduce. The solution would be around trying to understand why the
|
@mistercrunch thanks a lot for following up. In this case |
Any comment? :) |
Closing since the main issue has been resolved, the other one is very minor and probably can be skipped for the moment (namely it doesn't really impair the usage of Superset) |
@mistercrunch hi mistercrunch , i got the same problem when have no any data in my table. i hope that it can be fixed. thanks! |
Make sure these boxes are checked before submitting your issue - thank you!
Superset version
0.31.0rc18
Filter-box charts with Druid datasources have been working fine up to 0.26/0.28rc7, but when I have upgraded to 0.31 I always get the following stacktrace:
If I inspect qry I can see that 'aggregations' is a OrderedDict() with no elements in it (that explains the list index out of range). I tried to check changes for the python file that could be relevant but didn't find any :(
The text was updated successfully, but these errors were encountered: