spark-json-schema
spark-json-schema copied to clipboard
Any thoughts for providing support for TimeStamp?
Are you planning to add timestamp type to the json schema?
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.
Thanks for letting me know.
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?