我有一个外部hive表(存储为orc格式)。我使用PutORC处理器在Nifi中放置orc文件。当我使用hive-cli从表中进行选择时,时间戳列中的值比orc文件中少3个小时。
hive> desc transactions;
OK
host string
id bigint
type int
time_ timestamp
hive> select id, time_ from transactions where id=9126893492;
OK
9126893492 2020-03-01 08:45:18
我通过pyarrow库检查了orc文件的内容,结果是:2020-03-01 11:45:18
是否有hive设置来配置时区?
** 我在CentOS 7上使用hive 3.1.2。系统时区为Europe/Moscow。 **