Dremio truncating floating point values

Hi chuchurocket27,

I believe what is happening here is that the mapping for this index shows that the “datumTime” field is a float type, not a double. Can you confirm this is the case. Here is the elasticsearch documentation to see the mapping:
https://www.elastic.co/guide/en/elasticsearch/reference/5.6/indices-get-mapping.html

It seems Elasticsearch is very permissive and will allow storing double values even when the mapping indicates float.

However, Dremio assumes the mapping is correct, and coerces the values into float.

If possible, you may want to fix the mapping on the index:

https://www.elastic.co/guide/en/elasticsearch/reference/5.6/indices-put-mapping.html

We may consider treating all floating point types (float or double) as double, since elasticsearch does not enforce this.