Skip to content
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

[datasource editor] click checkbox creates metrics instantly #4183

Merged
merged 2 commits into from Jan 11, 2018

Conversation

mistercrunch
Copy link
Member

Also fixes checkboxes on the Druid datasource editor, it was showing True / False before.

metrics = []
M = SqlMetric # noqa
quoted = self.column_name
if self.sum:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should we delete the metrics that were 'unselected'?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I didn't want to risk it as metrics may be used in charts and users may create issues. User then have to both uncheck and explicitly delete the metric.

@mistercrunch mistercrunch merged commit ee63ebc into apache:master Jan 11, 2018
@mistercrunch mistercrunch deleted the fix_metrics_d branch January 11, 2018 23:42
michellethomas pushed a commit to michellethomas/panoramix that referenced this pull request May 24, 2018
…4183)

* [datasource editor] click checkbox creates metrics instantly

* Fix tests
wenchma pushed a commit to wenchma/incubator-superset that referenced this pull request Nov 16, 2018
…4183)

* [datasource editor] click checkbox creates metrics instantly

* Fix tests
@mistercrunch mistercrunch added 🏷️ bot A label used by `supersetbot` to keep track of which PR where auto-tagged with release labels 🚢 0.23.0 labels Feb 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🏷️ bot A label used by `supersetbot` to keep track of which PR where auto-tagged with release labels 🚢 0.23.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants