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

As a Druid user I would like to be able to distinguish between hyperLogLog and aproxHistogram #1365

Closed
vogievetsky opened this issue May 14, 2015 · 2 comments · Fixed by #1368

Comments

@vogievetsky
Copy link
Contributor

When running a segmentMetadata query I get the following results back:

      "revenue_hist": {
        "type": "STRING",
        "size": -1,
        "cardinality": null,
        "errorMessage": "error:noSizeFn"
      },
      ...
      "unique_visitors": {
        "type": "STRING",
        "size": -1,
        "cardinality": null,
        "errorMessage": "error:noSizeFn"
      },

One of those columns is a hyperLogLog and the other an aproxHistogram (guess which is which).
By checking the errorMessage == "error:noSizeFn" (which seems to be unique to hyperLogLog and aproxHistogram columns) I can determine that both of those columns are ether hyperLogLog or aproxHistogram. I would like there to be a way to actually tell them apart without making another query.

In general it would be great to be able to see the aggregate function that rolled up the metrics.

@theduderog
Copy link

+1

1 similar comment
@arrawatia
Copy link

+1

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

Successfully merging a pull request may close this issue.

3 participants