superset icon indicating copy to clipboard operation
superset copied to clipboard

Opening Druid datasource shows "No data was returned."

Open gaborhermann opened this issue 9 years ago • 5 comments

Superset version

0.20.0, 0.20.4

Druid version

0.10.1

Expected results

Some raw data shown.

Actual results

Shows the error "No data was returned.":

Traceback (most recent call last):
  File "/Users/ghermann/reporting/venv/lib/python2.7/site-packages/superset/viz.py", line 274, in get_payload
    df = self.get_df()
  File "/Users/ghermann/reporting/venv/lib/python2.7/site-packages/superset/viz.py", line 97, in get_df
    self.results = self.datasource.query(query_obj)
  File "/Users/ghermann/reporting/venv/lib/python2.7/site-packages/superset/connectors/druid/models.py", line 1073, in query
    raise Exception(_("No data was returned."))
Exception: No data was returned.

Steps to reproduce

Opening the "wikiticker" datasource (as ingested in the Druid 0.10.1 tutorial).

gaborhermann avatar Nov 03 '17 11:11 gaborhermann

Is the default time filter range (7 days) outside of what's in the datasource?

mistercrunch avatar Nov 04 '17 07:11 mistercrunch

I have been trying to get a Table View on wikiticker data source provided by default in Druid (v 0.11.) Its result was: "No data was returned". This is a similar issue as the one mentioned here.
@mistercrunch I did try changing filter range to 100000 days for this. No difference.

SanjayJosh avatar Jan 31 '18 10:01 SanjayJosh

Ok @mistercrunch . You were right .. I changed the filter range to 2015-09-12 : 2015-09-13 and it worked.

SanjayJosh avatar Jan 31 '18 11:01 SanjayJosh

We are also facing the same issue any solution or workaround available yet.

usopan avatar Mar 11 '19 08:03 usopan

If the default filter (past 7 days) doesn't work for you when clicking on the datasource, you can always change the datasource's default URL to point to a specific chart as shown here:

Screen Shot 2019-03-11 at 10 39 03 PM

mistercrunch avatar Mar 12 '19 05:03 mistercrunch