Skip to content

Partial timestamp support #346

Closed
Closed
@dlurton

Description

@dlurton

According to this comment timestamps aren't supported yet. Let's change that.

Since my team isn't using PartiQL Rust's parser and are instead interfacing directly with the IR, and we have a very specific use-case for timestamps, full support for timestamps is not required.

Here's the minimal subset of timestamp support that my team needs that I am currently aware of:

  • A representation in enum Value for timestamps with at least microsecond precision.
  • Support for using timestamps in = and <= operators.

At this time, my team does not need:

  • Support for timestamps in the parser.
  • Functions to manipulate timestamps (e.g. to_timestamp, date_add, etc)
  • The ability to represent timestamps with arbitrary precision.

Which will hopefully make this request relatively bite-sized.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions