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

Any thoughts for providing support for TimeStamp? #37

Open
DRavikanth opened this issue Oct 5, 2017 · 3 comments
Open

Any thoughts for providing support for TimeStamp? #37

DRavikanth opened this issue Oct 5, 2017 · 3 comments

Comments

@DRavikanth
Copy link

Are you planning to add timestamp type to the json schema?

@hesserp
Copy link
Contributor

hesserp commented Oct 6, 2017

Hi, so far we don't have such plans. For our use-case it suffices to use timestamps as strings and let the specific parsing be done by the application. However we do welcome external pull requests.

@DRavikanth
Copy link
Author

Thanks for letting me know.

@dhimmel
Copy link

dhimmel commented Feb 2, 2021

Just to clarify, this request is to add support for date-time formatted strings in a JSON Schema like:

"TimestampField": {
    "type": [
        "null",
        "string"
    ],
    "format": "date-time"
},

And having spark-json-schema interpret these fields as Timestamps?

@hesserp hesserp mentioned this issue Feb 10, 2021
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

No branches or pull requests

3 participants