colexec: support (Date | TimestampTZ) + or - Interval projections #46198
Labels
C-enhancement
Solution expected to add code/behavior + preserve backward-compat (pg compat issues are exception)
T-sql-queries
SQL Queries Team
We added support for
Interval
type recently and we've had (somewhat broken) support forDate
type for a while now, but we don't have the arithmetic projections between them. The reason is that we lose information aboutDate
type once we convert it tocoltypes.Int64
, so if we were to add the corresponding projections, we might allow projection likeInt + Interval
which don't make sense. I think this can be solved once #43559 is resolved.This issue also tracks adding the support of TimestampTZ +/- Interval (Timestamp is supported).
Jira issue: CRDB-5101
The text was updated successfully, but these errors were encountered: