-
Notifications
You must be signed in to change notification settings - Fork 13k
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
[metrics control] Show error message when chart contains bad data #17238
Comments
@junlincc I feel like changing the flow requires some PM and/or designer attention. WDYT? |
@villebro thanks for the looking this issue. there are 2 places we can prevent this issue:
I feel both places need some work to fix. From technical point of view, fix 1 is harder, given some companies (like airbnb) already had huge number of charts and dataset. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. For admin, please label this issue |
This issue has gone stale so I'll reluctantly close it, but it's also worth pointing out that @kasiazjc put a whole lot of work into surfacing relationships between charts/dashboards, and there's been some design work here on dataset relationships too. Maybe @kasiazjc can speak to what's left to implement in this effort (if anything) and we can either (a) reopen this issue, (b) open a new Discussion thread if warranted, or (c) just leave this closed and let nature take its course. |
We actually have implemented all of the dashboard x charts features for now, but we didn't really touch the dataset part. It would probably be a stretch to include it in the dataset flow redesign or CRUD redesign which is happening, BUT for the visibility and consideration I'm tagging @khallon -- edit: quote didn't work, but fyi @rusackas 🙏 |
Is your feature request related to a problem? Please describe.
This feature request is related to #17201.
Describe the solution you'd like
When user creates a chart, they can pick one or more metrics from dataset. With time passing by, or same dataset shared with different groups of users, dataset itself may be changed. In airbnb we found many cases that some metrics used by certain charts, which are not aware by other users, are deleted unintentionally. Later when a user open an old chart which contains these metrics, the whole chart is kind of broken. #17201 fixed UI issue. It unblock user to see the chart with valid metrics. But the invalid metric data is still in the Slice entity.
Ideally, Superset should let user know which piece of data is not valid anymore, and ask user to take action to clean up this bad data
Describe alternatives you've considered
#17201 fixed UI issue so that unblock user to see the chart with valid metrics.
Additional context
This issue has been in Superset for a long time: #16719, #14034.
cc @kgabryje @junlincc
The text was updated successfully, but these errors were encountered: