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

Documentation on how to build queries #53

Open
dene14 opened this issue Jan 31, 2018 · 3 comments
Open

Documentation on how to build queries #53

dene14 opened this issue Jan 31, 2018 · 3 comments

Comments

@dene14
Copy link

dene14 commented Jan 31, 2018

Hello there!

It's rather not an issue but a question...

I've failed to find out any comprehensive documentation, so I would like to ask here to clarify if functionality hasn't been implemented yet or it's me doing something wrong...

  1. For me it seems that nothing except "select" query type is working, any other like "TopN" or "Timeseries" show nothing, in query inspector I have nothing but a rotating wheel.
  2. With "Select" query type I was able to get some aggregated values (seems to be more or less valid), but this happens only if I set "mode" for X-Axis to "Series" or "Histogram", no luck with "Time".
  3. A bit unclear "Threshold" setting in query builder, if I understand it correct it defaults to 5 which causes 5 instances of the same value for every object recieved from druid, setting it equal to 1 gives more reasonable result, but still want to understand what's under the hood of it.

Please elaborate. Many thanks!

@christoph-buente
Copy link

We also successfully ran exploratory queries for data dimensions and column names. But when it comes to actually query timeseries data, nothing is returned. And it's really hard to track, if it is just not supported, or the query builder dies, or the resulting query is not compatible with druid.

@pkarmaka
Copy link
Collaborator

pkarmaka commented Feb 7, 2018

@dene14

  1. Users in my company have been using TopN or Group by druid queries. For confirmation, I even tried out a Top N query and it looked fine. Probably the best way for you to confirm whether you are giving the right parameters is to post to your datasource api using Postman. Also , please check docs http://druid.io/docs/latest/querying/aggregations.html (among the ones that we support) for the right aggregations that you require.

  2. I need to check "select" query type from druid docs. All other query types are working ok on the plugin.

  3. Are you saying you are getting repetitive results because you don't have 5 results?

@dene14
Copy link
Author

dene14 commented Feb 7, 2018 via email

@shcarrico shcarrico added this to the Documentation refresh milestone Sep 5, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants