Skip to content

[V1] Complete datetime and interval types #1657

Open
@rchowell

Description

Description

PartiQL does not implement the SQL datetime operators; here's what needs to be done: see SQL-99 4.7.3 p.29.

Working PR – #1656

Tasks

  • Define datetime on datum
  • Define interval on ptype
  • Define interval on datum
  • Add INTERVAL_YM and INTERVAL_DT to PTYPE
  • datetime - datetime -> interval
  • datetime + interval -> datetime
  • datetime - interval -> datetime
  • interval + datetime -> datetime
  • interval + interval -> interval
  • interval - interval -> interval
  • interval * numeric -> interval
  • interval / numeric -> interval
  • numeric * interval -> interval

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions