hive中parquet存储格式数据类型timestamp的问题

当存储格式为parquet 且 字段类型为 timestamp 且 数据用hive执行sql写入。 这样的字段在使用impala读取时会少8小时。建议存储为sequence格式或者将字段类型设置为string。

参考: https://www.cloudera.com/documentation/enterprise/latest/topics/impala_timestamp.html

posted @ 2020-02-27 16:21  张不正  阅读(2243)  评论(0编辑  收藏  举报
返回顶部