elastic / elasticsearch

Free and Open Source, Distributed, RESTful Search Engine
https://www.elastic.co/products/elasticsearch
Other
1.12k stars 24.83k forks source link

[ESQL] Testing for date nanos union type #112885

Closed not-napoleon closed 7 hours ago

not-napoleon commented 1 month ago

https://github.com/elastic/elasticsearch/pull/111850 and https://github.com/elastic/elasticsearch/pull/112150 add in conversion functions that can be used as union types for date nanos, but they don't have much in the way of testing for the union type use case. This ticket is for adding that testing.

In particular, we need to make sure that the union type correctly pushes down to lucene. That will, functionally, mean sending two different long filters to lucene, since the backing longs are of different units.

elasticsearchmachine commented 1 month ago

Pinging @elastic/es-analytical-engine (Team:Analytics)