首页 > 解决方案 > 从 hive 中选择小数(17,4)列会在 presto 中引发错误

问题描述

从 hive 表中选择 (17, > 2) 十进制列会在 presto 中引发以下错误:

    ERROR -- : Command execution failed with exception: Query xxxxxxxx_xxxxxx_xxxxx_xxxxx failed: java.lang.UnsupportedOperationException

io.prestosql.spi.type.ShortDecimalType

目前在 presto 317 版本中,不确定我们什么时候可以升级到更新的版本,这个版本中是否有解决方法?

标签: hivepresto

解决方案


推荐阅读