我正在将prestodb与hive metastore一起用于架构存储,并将alluxio缓存用作数据的外部存储。在alluxio和hive模式中使用的存储格式为 ParqUET 。 使用蜂巢目录从presto检索时间戳字段时。我收到关注错误。
列utdate声明为类型时间戳,但 Parquet 文件将列声明为类型 INT64
数据集的架构为
创建表测试(utcdate时间戳记)WITH(format ='ParqUIET', external_location ='alluxio:// path-toserver / directory-path-to-parquet' )
此问题是从prestodb v0.221 升级到 v0.226 版本后产生的。