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

Getting rpc error when making post aggregation type quantilesDoublesSketchToHistogram #132

Closed
saketbairoliya2 opened this issue Nov 10, 2022 · 3 comments

Comments

@saketbairoliya2
Copy link
Contributor

Here is my query:

{
  "queryType": "timeseries",
  "dataSource": "dc_94b4f5fdfde940979b79c50539d8322a_b42fde98efed4e638a0016b34b3c10cf_dataset_label",
  "granularity": "all",
  "aggregations": [
    {
      "type": "quantilesDoublesSketch",
      "fieldName": "double_sketch",
      "k": 1024,
      "name": "quantile_sketch"
    }
  ],
  "postAggregations": [
    {
      "type": "quantilesDoublesSketchToHistogram",
      "name": "histogram",
      "numBins": 50,
      "field": {
        "fieldName": "quantile_sketch",
        "name": "quantile_sketch",
        "type": "fieldAccess"
      }
    }
  ],
  "intervals": "2022-08-28/2022-10-20"
}

I get an rpc error. The same query works when executed via druid or via SQL command. Can you please help here? @jbguerraz

@saketbairoliya2
Copy link
Contributor Author

saketbairoliya2 commented Nov 18, 2022

We're able to connect to druid and get back the response but looks like the response.Frame object errors because of list of numbers are being returned instead of individual value. Any suggestion to fix this? @jbguerraz

@jbguerraz
Copy link
Contributor

Hello @saketbairoliya2
See #94
Probably we can close this one (I let you do so if you think so as well)

@saketbairoliya2
Copy link
Contributor Author

Not required anymore. Closing this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants