metadb-project/metadb

Improve timestamp type matching in JSON transform

Opened this issue · 0 comments

The JSON transform calls command.InferTypeFromString() which recognizes timestamptz and timestamp types using regular expressions. The timestamptz regular expression does not allow for the fractional time zone part of:

2009-01-07T23:59:59-07:00

The regular expression should be extended to support this, or another approach found.