# Is there any way to change the precision\_threshold when use es-sql?

**URL:** <https://discuss.elastic.co/t/is-there-any-way-to-change-the-precision-threshold-when-use-es-sql/288729>\
**Category:** Elasticsearch\
**Tags:** elastic-stack-sql\
**Created:** [November 9, 2021, 9:08am UTC](https://discuss.elastic.co/t/is-there-any-way-to-change-the-precision-threshold-when-use-es-sql/288729 "2021-11-09T09:08:09Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![danielduan](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/danielduan/32/91264_2.png) [@danielduan](https://discuss.elastic.co/u/danielduan)\
**Post date:** [November 9, 2021, 9:08am UTC](https://discuss.elastic.co/t/is-there-any-way-to-change-the-precision-threshold-when-use-es-sql/288729/1 "2021-11-09T09:08:09Z")

</div>

We know that when use es api we can setting the value of precision\_threshold , is there any way to overwrite the default value when use es-sql?

if the answer is no , could you please tell us how to modify the default value from the source code? We can not found the the default value setting in the source code.

Thanks a lot.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [December 7, 2021, 9:08am UTC](https://discuss.elastic.co/t/is-there-any-way-to-change-the-precision-threshold-when-use-es-sql/288729/2 "2021-12-07T09:08:50Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
