-
Notifications
You must be signed in to change notification settings - Fork 13.5k
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
Why export is YAML vs JSON in superset #17526
Comments
@eschutho Hi Elizabeth, I remember we used to have it downloaded in JSON format, is this change recent? Is there any documentation that can explain why we go with YAML? Thanks! |
Hi @Narendra678 do you have the https://github.com/apache/superset/blob/master/RESOURCES/FEATURE_FLAGS.md#in-testing Here's how you can enable feature flags: https://superset.apache.org/docs/installation/configuring-superset#feature-flags |
@srinify I tried on our Pro, it's also YAML export file. Which is strange.... |
Oh that's right, YAML is actually the direction the project wants to go in for export. Not sure about Import tho :/ |
C
But below article says it will not work. May i know how to enable JSON Export |
Just now i checked, both Import and export are in YAML format. Can i get code to enable JSON. And why in local(with docker) environment it was JSON and GCP is in YAML? |
@eschutho @betodealmeida |
To clarify a few things:
Now to my question: @Narendra678 you keep pointing at a ticket that has nothing to do with export, so it's still unclear to me what you want to do. You mention "export report", but it's not possible to export reports in Superset. Can you clarify what you want to export? |
Thanks for clarifying! To export the dashboard as JSON you need to turn off the You can see the documentation for feature flags here: https://superset.apache.org/docs/installation/configuring-superset#feature-flags |
Thanks much Buddy. You mean i have to enable as below? FEATURE_FLAGS = { |
To turn it off: FEATURE_FLAGS = {
"VERSIONED_EXPORT": False,
# other keys would go here as well
} |
Thanks Betodealmedia. Can you please look on below issue |
It looks like this question has been resolved and a new follow up question posted. I am going to close this issue. Feel free to reopen if you feel there is still an issue/ bug here. |
A clear and concise description of what the bug is.
How to reproduce the bug
When i export report it is downloading as YAML and it is accepting only JSON to import.
Expected results
When download it should be as JSON
###what you expected to happen.
When download it should be as JSON
Actual results
It is downloading as YAML
what actually happens.
Screenshots
If applicable, add screenshots to help explain your problem.
Environment
(please complete the following information):
superset version
: 1.3.1python --version
node -v
Checklist
Make sure to follow these steps before submitting your issue - thank you!
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: