Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix three date/time issues in spec #63

Merged
merged 5 commits into from
May 12, 2020
Merged

Fix three date/time issues in spec #63

merged 5 commits into from
May 12, 2020

Conversation

vinceatbluelabs
Copy link
Contributor

@vinceatbluelabs vinceatbluelabs commented May 11, 2020

These things were found while converting the spec into Literal[] types:

  • Drop null dateformat

    While being able to specify 'please permissively parse' and 'use a
    default value' may be helpful, neither is implemented in records mover
    and 'null' is not defined in the other date and/or time hints.

  • Provide "YYYY-MM-DD HH:MI:SS" as a valid datetimeformat

    It's redundant yes, but already being used in our bigquery format as the default value and
    understood natively by Redshift.

  • Remove redundant valid value for datetimeformattz

While being able to specify 'please permissively parse' and 'use a
default value' may be helpful, neither is implemented in records mover
and 'null' is not defined in the other date and/or time hints.
It's redundant yes, but already being used in our bigquery format and
understood natively by Redshift.
@vinceatbluelabs vinceatbluelabs changed the title Fix three Fix three date/time issues in spec May 11, 2020
@vinceatbluelabs vinceatbluelabs requested a review from cwegrzyn May 11, 2020 21:58
@vinceatbluelabs vinceatbluelabs marked this pull request as ready for review May 11, 2020 21:58
@vinceatbluelabs vinceatbluelabs merged commit 363e856 into master May 12, 2020
@vinceatbluelabs vinceatbluelabs deleted the spec_fixes branch June 24, 2020 15:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants