[ESQL] Support autocasting to resolve types between nanosecond dates and millisecond dates #110009
Labels
:Analytics/ES|QL
AKA ESQL
>enhancement
Team:Analytics
Meta label for analytical engine team (ESQL/Aggs/Geo)
team-discuss
Description
Discussion ticket for how mixed operations between millisecond dates and nanosecond dates should work. This behavior would cover binary comparisons and arithmetic operations between mixed millisecond and nanosecond dates, and possibly some functions (TBD). This is complicated, and getting it wrong potentially obligates us to support a bad choice for a long time in BWC.
Option 1 - cast to millisecond date automatically
Option 2 - Cast to nanosecond date automatically
Option 3 - Don't auto cast anything, make the user pick the behavior they want
The text was updated successfully, but these errors were encountered: