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

Additional date/time data type inference for stats #174

Closed
jqnatividad opened this issue Feb 23, 2022 · 0 comments · Fixed by #176
Closed

Additional date/time data type inference for stats #174

jqnatividad opened this issue Feb 23, 2022 · 0 comments · Fixed by #176
Assignees

Comments

@jqnatividad
Copy link
Collaborator

jqnatividad commented Feb 23, 2022

Right now, stats correctly infers the Date data type for these date formats.

We need to differentiate the Date subformats however into additional date data types:

  • date (e.g. yyyy-mm-dd)
  • date-time (e.g. yyyy-mm-dd hh:mm:ss UTC)
  • time (e.g. hh:mm:ss UTC)

Doing so will not only improve the output of stats, it will also allow schema to properly create jsonschemas that validate can use to check for date/time fields in a performant, standards-compliant manner.

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 a pull request may close this issue.

1 participant