Skip to content
This repository has been archived by the owner on Aug 2, 2022. It is now read-only.

Is precision_threshold supported? #615

Open
dheerajravindranath opened this issue Jul 25, 2020 · 1 comment
Open

Is precision_threshold supported? #615

dheerajravindranath opened this issue Jul 25, 2020 · 1 comment
Labels
enhancement New feature or request SQL

Comments

@dheerajravindranath
Copy link

dheerajravindranath commented Jul 25, 2020

I need to send the precision_threshold along with the query! so that I can get the result for the below query DSL.

{ "from": 0, "size": 0, "_source": { "includes": [ "COUNT" ], "excludes": [] }, "aggregations": { "COUNT_0": { "cardinality": { "field": "users", "precision_threshold": 4000 } } } }

@dai-chen
Copy link
Member

dai-chen commented Jul 26, 2020

@dheerajravindranath Thanks for the inquiry! Unfortunately we only support pass filter DSL along with a SQL query for now: https://github.com/opendistro-for-elasticsearch/sql/blob/master/docs/user/interfaces/protocol.rst#request-format. Will evaluate if we can support in future. Thanks!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request SQL
Projects
None yet
Development

No branches or pull requests

2 participants