-
Notifications
You must be signed in to change notification settings - Fork 14k
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
Issues upgrading to 0.17.0 - Explore migrations not functioning as expected #2317
Comments
Wait how did that work for us?!?!?! |
Running tests... |
I started with a fresh DB, pointed to 0.15.4, upgraded the db and loaded examples, moved to 0.17.0 and upgraded again, and things look good. Is it possible that you've been pointing to [bad versions of] master on this particular database? |
This database has never been pointing at master, but it has been running since some fairly early versions of caravel. On a quick inspection we've definitely been running since caravel 0.8.7. Some of our slices are quite old so it's possible that it's specific to our data structures. Here's an example of the
post migration to 0.17.0 the
but when we open that slice in the explore view, these are the options which are applied, and you can see that As an example for filters, here's another as at 0.15.4:
as rendered in 0.17.0: It doesn't seem to be as simple as malformed JSON because the |
Found the issue. Migrations hadn't run properly. You can tell from the fact that the params field for the slice before and after migrations hadn't changed. As part of the migrations all of the JSON blobs are upgraded rather than it being performed on read. Running migrations manually worked a charm - the reason they didn't run is related to our own deployment methods and not related to superset. Good work on this update guys - I love it. |
@alanmcruickshank |
Superset version
Upgrade from 0.15.4 to 0.17.0
Expected results
Migration from explore v1 to explore v2, introduces nice new features but core functionality remains the same.
Actual results
where
clauses,having
clauses and format arguments all migrate fine.Steps to reproduce
Take productions database running 0.15.4 with slices which have filiters and checkboxes applied and then upgrade to 0.17.0
The text was updated successfully, but these errors were encountered: