pyspark schema_of_json 是否支持识别时间戳(utc)

问题描述 投票:0回答:0

我有一个 json str:"{created_at:"2022-10-18T01:01:45Z"}"

需要使用'schema_of_json'来识别模式,但我得到一个字符串类型

schema_of_json 是否支持将字符串类型识别为时间戳

apache-spark pyspark timestamp-with-timezone
© www.soinside.com 2019 - 2024. All rights reserved.