Open def- opened 4 months ago
For date/time-related behavior we try to mirror postgres's behavior, so that's intentional. I'm looking in the postgres docs to see if we could link something to theirs about it, but it doesn't seem to be documented anywhere.
What version of Materialize are you using?
main
What is the issue?
I would argue that
TIMESTAMP '2024-02-29 15:04:05.06' + interval '1 year'
should be March 1, 2025. Same for subtraction:Postgres does the same. If this is intentional then we should at least document it in https://materialize.com/docs/sql/types/interval/