Closed superset-user closed 2 months ago
Hi all. Can anyone help? TIA!
I'm not sure if this is still an issue in current versions of Superset (3.1/4.0). If it is, we can re-open this, or feel free to open a new issue with updated context and a reproducible case using example data. We're no longer supporting Superset 2.x or prior, and it's been a while since this thread saw any activity, so I'm closing this as stale.
After migration from Superset 1.4.2 to 2.1.0, I noticed that JSON backups of dashboards fails to capture column information which leads to failed charts and filters after opening a dashboard. I am using a deployment script to deploy and take backup of dashboards as JSON files
How to reproduce the bug
Run command for taking dashboard backup:
Expected results
dashboard backup JSON file with following structure:
Actual results
However, getting this:
Screenshots
If applicable, add screenshots to help explain your problem.
Environment
(please complete the following information):
2.1.0
python --version
node -v
Checklist
Make sure to follow these steps before submitting your issue - thank you!
Additional context
As we can see that in actual results the columns information is missing in JSON file, so after deployment the datasets column list is empty:
due to that charts are failing on dashboards as they failed to find columns in datasets (sync columns from source works but its impossible to go to every dataset and click sync columns from source button).
We recently upgraded to version 2.1.0 from 1.4.2. Everything was working fine before upgrade.
Can anyone help me and show how can we capture this columns (as shown in expected results) information in JSON files for 2.1.0 version of superset.
Thanks in advance!