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

[Explore][Adhoc Metrics/ Filters] disabled message for custom sql tab in druid #5162

Merged

Conversation

gabe-lyons
Copy link

The Custom SQL tab only makes sense for SQLA datasources since its quite difficult to write custom druid json queries. To avoid confusion of why the tab is present on sqla datasources but not druid, I added the tab back in for druid datasources with a placeholder message explaining why its not available.

before:
image

after:
image

test plan:

  • loaded a druid datasource
  • verified it had the placeholder tab
  • loaded a sqla datasource
  • verified it had the functional tab

to:
@michellethomas @john-bodley @graceguo-supercat @mistercrunch

@michellethomas
Copy link
Contributor

It looks like you have a formatting linting issue, but otherwise this lgtm!

@codecov-io
Copy link

codecov-io commented Jun 7, 2018

Codecov Report

Merging #5162 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master    #5162   +/-   ##
=======================================
  Coverage   77.47%   77.47%           
=======================================
  Files          44       44           
  Lines        8741     8741           
=======================================
  Hits         6772     6772           
  Misses       1969     1969

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 57e1256...66313fd. Read the comment docs.

@michellethomas
Copy link
Contributor

👍

@john-bodley john-bodley merged commit b53b240 into apache:master Jun 7, 2018
michellethomas pushed a commit to michellethomas/panoramix that referenced this pull request Jun 7, 2018
… in druid (apache#5162)

* added disabled message for custom sql tab on druid datasources

* Update AdhocFilterEditPopover.jsx

Fixing indentation.

* Update AdhocMetricEditPopover.jsx

Fixing indent.

* Update AdhocFilterEditPopover.jsx

Fixing indentation.

* Update AdhocMetricEditPopover.jsx

Fixing indentation.

(cherry picked from commit b53b240)
wenchma pushed a commit to wenchma/incubator-superset that referenced this pull request Nov 16, 2018
… in druid (apache#5162)

* added disabled message for custom sql tab on druid datasources

* Update AdhocFilterEditPopover.jsx

Fixing indentation.

* Update AdhocMetricEditPopover.jsx

Fixing indent.

* Update AdhocFilterEditPopover.jsx

Fixing indentation.

* Update AdhocMetricEditPopover.jsx

Fixing indentation.
@mistercrunch mistercrunch added 🏷️ bot A label used by `supersetbot` to keep track of which PR where auto-tagged with release labels 🚢 0.26.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.26.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants