Currently, Doirs only support decimal with max to 27. The new implementation of Decimal type will support max to 38, expecting release this end of year.
-- 此致!Best Regards 陈明雨 Mingyu Chen Email: morning...@apache.org 在 2022-11-01 17:11:43,"明心" <45483...@qq.com.INVALID> 写道: > 整数和小数分开存哈! > > >明心 >45483...@qq.com > > > > > > > > >------------------ 原始邮件 ------------------ >发件人: > "dev" > ><zhaohai...@hashkeytech.com.INVALID>; >发送时间: 2022年11月1日(星期二) 下午2:58 >收件人: "dev@doris.apache.org"<dev@doris.apache.org>; > >主题: Doris Decimal 精度问题 > > > >Hi, > >我们在把mysql的关于报表类的table迁移到doris中去,现在遇到decimal的精度问题,doris现在支持的decimal是 [18, 9], >我们在mysql中的decimal是[20,20]的精度,doris不支持20位的小数。 > >我们的业务场景确实是需要20位的小数,所以我问一下doris有没有什么好的方法来解决这个问题? > >Thanks >Tommy Zhao