You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using the export_dashboards command on the CLI, everything is working great but I noticed that sometimes the order of the datasources changes in the list with no updates. I'm attempting to use the export functionality to git version my dashboard definitions and a reordering of my datasources with no changes ends up causing noise in my diffs.
How to reproduce the bug
Create dashboard with multiple data sources
Export dashboard
Make a tweak to the dashboard but dont change anything in the data sources
Export again and diff the files
Step 3/4 might need to be repeated a couple times as I don't know that it happens every time.
Expected results
The export outputs should not be volatile, if I dont change a data source then there should be no diff when exporting multiple times. Exporting multiple times produces the same result always.
Actual results
I have 2 tables in my data sources list and they switched positions without any changes.
Screenshots
An example of a dashboard with 1 chart. Changing the chart name from "AOV" to "AOV - New" caused a huge diff between the original and new export.
Environment
(please complete the following information):
browser type and version:
superset version: superset version
python version: python --version
node.js version: node -v
any feature flags active:
Checklist
Make sure to follow these steps before submitting your issue - thank you!
I have checked the superset logs for python stacktraces and included it here as text if there are any.
I have reproduced the issue with at least the latest released version of superset.
I have checked the issue tracker for the same issue and I haven't found one similar.
Additional context
I'm wondering if using a set in the export_dashboards method is causing the list reordering in inconsistent ways.
I'm happy to help implement a change! Let me know if you think thats the issue or if something else might be causing it.
The text was updated successfully, but these errors were encountered:
@pnadolny13 I'm trying to get a little attention drawn back to the PR, so we can conclude this. Thanks for opening that, byt the way, and sorry it didn't get more eyes sooner. Are you able to rebase it, so it can trigger a fresh CI run and be mergeable?
When using the
export_dashboards
command on the CLI, everything is working great but I noticed that sometimes the order of the datasources changes in the list with no updates. I'm attempting to use the export functionality to git version my dashboard definitions and a reordering of my datasources with no changes ends up causing noise in my diffs.How to reproduce the bug
Step 3/4 might need to be repeated a couple times as I don't know that it happens every time.
Expected results
The export outputs should not be volatile, if I dont change a data source then there should be no diff when exporting multiple times. Exporting multiple times produces the same result always.
Actual results
I have 2 tables in my data sources list and they switched positions without any changes.
Screenshots
An example of a dashboard with 1 chart. Changing the chart name from "AOV" to "AOV - New" caused a huge diff between the original and new export.
Environment
(please complete the following information):
superset version
python --version
node -v
Checklist
Make sure to follow these steps before submitting your issue - thank you!
Additional context
I'm wondering if using a set in the export_dashboards method is causing the list reordering in inconsistent ways.
I'm happy to help implement a change! Let me know if you think thats the issue or if something else might be causing it.
The text was updated successfully, but these errors were encountered: