Skip to content

[FEATURE] Full support for timestamp and precisiontimestamp types #49

@wackywendell

Description

@wackywendell

Summary

Currently, there is some textification support for precisiontimestamp, and some parser support for timestamps, but it doesn't look like there's full bidirectional support for all 3-5 types (Note: names are case-insensitive):

  • precision_time<P>
  • precision_timestamp<P>
  • precision_timestamp_tz<P>
  • (deprecated) timestamp
  • (deprecated) timestamp_tz

We should probably support all 5 as long as they are in the official grammar, with tests to ensure that they can be both parsed and textified.

Stretch

Ideally, we could also have an --upgrade or --fix option, which would automatically convert from timestamp to precision_timestamp and same for _tz. That would be neat.

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