@adityaPsl This is due to the values themselves being stored as floating-point numbers, wherein things like sum aggregations are going to not operate as you'd expect compared to whole numbers. I think this GH issue describes it better than I did: https://github.com/elastic/elasticsearch/issues/30529
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.