Hi all,
Will elasticsearch SQL support for cardinality aggregation (DISTINCT) in future?
Hi all,
Will elasticsearch SQL support for cardinality aggregation (DISTINCT) in future?
We're open to all feature requests, it'd be great if you could raise it on https://github.com/elastic/elasticsearch/issues/new
Hi @ranranxiaoya,
What exact functionality are you looking for regarding DISTINCT
?
I'm asking because, at the moment, something like this SELECT COUNT(DISTINCT(first_name.keyword)) FROM test_emp;
is already possible and it's using cardinality
aggregation behind the scene.
This is exactly what I need. Thank you very much.
This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
© 2020. All Rights Reserved - Elasticsearch
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant logo are trademarks of the Apache Software Foundation in the United States and/or other countries.