Skip to content

[ESQL] Support addition and subtraction of date nanos #109995

@not-napoleon

Description

@not-napoleon

Description

Like in #109992, adding and subtracting date nanos with other date nanos should be relatively simple, but we'll get into some complexities when mixing millisecond dates and nanosecond dates. Again, my recommendation is to require an explicit cast for now, and revisit autocasting later.

Ignore that. We don't currently allow date + date or date - date. Only date +- period and date +- duration. So there is no need for casting here.

Metadata

Metadata

Assignees

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions