superset icon indicating copy to clipboard operation
superset copied to clipboard

"Explore" button in SQL Editor is disabled

Open iqrar opened this issue 7 years ago • 7 comments

Make sure these boxes are checked before submitting your issue - thank you!

  • [✔ ] I have checked the superset logs for python stacktraces and included it here as text if there are any.
  • [✔ ] I have reproduced the issue with at least the latest released version of superset.
  • [ ✔] I have checked the issue tracker for the same issue and I haven't found one similar.

Superset version

0.28.1

Expected results

Visualize button

Actual results

disabled Explore button instead of Visualize button

Steps to reproduce

We added druid as a sql database and ran some queries, works fine. But we are not able to visualize the result. Explore button is disabled.

iqrar avatar Dec 20 '18 10:12 iqrar

superset

iqrar avatar Dec 20 '18 10:12 iqrar

The current "Explore" implementation brings your query as a view in the "explore view", and runs queries on top your query as a subquery. Since Druid does not support subqueries, this approach does not work.

We're starting work to add support for charts directly inside SQL Lab.

mistercrunch avatar Dec 21 '18 05:12 mistercrunch

Thanks for the feedback. Four months ago i used this feature to create charts, just wondering why cannot now. That time it shows Visualize button instead of Explore.

I will wait for upcoming feature direct chart inside SQL Lab :)

iqrar avatar Dec 21 '18 10:12 iqrar

I don't think Visualize/Explore ever worked with Druid, did it?

mistercrunch avatar Dec 21 '18 16:12 mistercrunch

Yes it worked. I created some charts to visualize ivw monthly data. We are using those charts every month by "force refresh" option to visualize new data.

iqrar avatar Dec 27 '18 08:12 iqrar

Hello, It seemed like I am having quite similar problem here... superset version: 0.29.0rc7 python version: Python 3.6.8 node version: v10.16.0

the 'explore' button seems like disabled: explore button error 2

There's only error shown in the console in the internet browser: explore button error

syafiqdante avatar Sep 11 '19 07:09 syafiqdante

same here ... I cant see it either - does it only work with some sources ?

anshupatra avatar Feb 20 '20 15:02 anshupatra