superset icon indicating copy to clipboard operation
superset copied to clipboard

[druid] add support for "NOT GROUPED BY "

Open luciuschina opened this issue 9 years ago • 4 comments

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

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

Superset version

0.18.5 0.17.6

Expected results

Disaply the atomic rows of Druid

Actual results

It shows "No data"

Steps to reproduce

The time ranges is from 90 days ago to now.And I am sure that in this time range,Druid has data. When I use the " GROUPED BY " functuion, superset return the results,But when use "NOT GROUPED BY",It shows "No data". I also test the mysql database,the "NOT GROUPED BY" function is OK ! Below is driud datasource use "NOT GROUPED BY" 1 the query statment is :

22

As far as I know ,druid can use "select" queryType to disaply atomic rows : { "queryType": "select", "dataSource": "wiki3", "descending": "false", "dimensions":[], "metrics":[], "granularity": "all", "intervals": [ "2013-01-01/2017-07-30" ], "pagingSpec":{"pagingIdentifiers": {}, "threshold":100} } So, I think superset should support this functions. Am I missing something in my config or environment?

luciuschina avatar Jul 27 '17 08:07 luciuschina

I got the same problem, I would like to make a graph to get raw data from a specific dimension but I can´t do it cause the field aggregation is required.

tatototino avatar Sep 27 '17 12:09 tatototino

I made this issue a feature request.

mistercrunch avatar Sep 27 '17 16:09 mistercrunch

Notice: this issue has been closed because it has been inactive for 207 days. Feel free to comment and request for this issue to be reopened.

mistercrunch avatar Apr 23 '18 05:04 mistercrunch

Hi ! I have the issue, the error that report each time that I try a query with "NOT group by" is imagen Nevertheless with querys with "GROUP BY" works perfect. imagen

CamiloRueda avatar May 08 '18 17:05 CamiloRueda