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> 写道:
>&nbsp; &nbsp;整数和小数分开存哈!
>
>
>明心
>45483...@qq.com
>
>
>
>&nbsp;
>
>
>
>
>------------------&nbsp;原始邮件&nbsp;------------------
>发件人:                                                                           
>                                             "dev"                             
>                                                       
><zhaohai...@hashkeytech.com.INVALID&gt;;
>发送时间:&nbsp;2022年11月1日(星期二) 下午2:58
>收件人:&nbsp;"dev@doris.apache.org"<dev@doris.apache.org&gt;;
>
>主题:&nbsp;Doris Decimal 精度问题
>
>
>
>Hi,
>
>我们在把mysql的关于报表类的table迁移到doris中去,现在遇到decimal的精度问题,doris现在支持的decimal是 [18, 9], 
>我们在mysql中的decimal是[20,20]的精度,doris不支持20位的小数。
>
>我们的业务场景确实是需要20位的小数,所以我问一下doris有没有什么好的方法来解决这个问题?
>
>Thanks
>Tommy Zhao

Reply via email to