You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@doris.apache.org by 赵海兵 <zh...@hashkeytech.com.INVALID> on 2022/11/02 03:17:39 UTC
回复: Re:回复:Doris Decimal 精度问题
Hi 大神们,
StarRocks 是不是doris的升级版? 最新的StartRocks Deciaml 是支持[1, 38]的,是不是直接使用StartRocks?
Best Regards
Tommy Zhao
Email:
214277706@qq.com<ma...@qq.com>
发件人: Mingyu Chen<ma...@163.com>
发送时间: 2022年11月1日 17:48
收件人: dev@doris.apache.org<ma...@doris.apache.org>
主题: Re:回复:Doris Decimal 精度问题
[You don't often get email from morningman@163.com. Learn why this is important at https://aka.ms/LearnAboutSenderIdentification ]
Caution: This email originated outside of Hashkey. Take extra caution before performing any action.
警告:此电子邮件源自Hashkey外部,在执行任何操作之前请格外小心。
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:
morningman@apache.org
在 2022-11-01 17:11:43,"明心" <45...@qq.com.INVALID> 写道:
> 整数和小数分开存哈!
>
>
>明心
>45483483@qq.com
>
>
>
>
>
>
>
>
>------------------ 原始邮件 ------------------
>发件人: "dev" <zhaohaibin@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
回复: Re:回复: Re:回复:Doris Decimal 精度问题
Posted by 赵海兵 <zh...@hashkeytech.com.INVALID>.
Get it. Thanks.
Tommy Zhao
从 Windows 版邮件<https://go.microsoft.com/fwlink/?LinkId=550986>发送
发件人: Mingyu Chen<ma...@163.com>
发送时间: 2022年11月2日 12:10
收件人: dev@doris.apache.org<ma...@doris.apache.org>
主题: Re:回复: Re:回复:Doris Decimal 精度问题
[You don't often get email from morningman@163.com. Learn why this is important at https://aka.ms/LearnAboutSenderIdentification ]
Caution: This email originated outside of Hashkey. Take extra caution before performing any action.
警告:此电子邮件源自Hashkey外部,在执行任何操作之前请格外小心。
StarRocks is a fork of Apache Doris since Doris v0.13, not a "upgraded version" of Doris.
And now they are 2 separate products that are not related.
As I said, the new implementation of Decimal type will support max to 38, expecting release this end of year.
You can make your choice according to your actual needs.
--
此致!Best Regards
陈明雨 Mingyu Chen
Email:
morningman@apache.org
在 2022-11-02 11:17:39,"赵海兵" <zh...@hashkeytech.com.INVALID> 写道:
>Hi 大神们,
>
>StarRocks 是不是doris的升级版? 最新的StartRocks Deciaml 是支持[1, 38]的,是不是直接使用StartRocks?
>
>Best Regards
>Tommy Zhao
>
>Email:
>214277706@qq.com<ma...@qq.com>
>
>发件人: Mingyu Chen<ma...@163.com>
>发送时间: 2022年11月1日 17:48
>收件人: dev@doris.apache.org<ma...@doris.apache.org>
>主题: Re:回复:Doris Decimal 精度问题
>
>[You don't often get email from morningman@163.com. Learn why this is important at https://aka.ms/LearnAboutSenderIdentification ]
>
>Caution: This email originated outside of Hashkey. Take extra caution before performing any action.
>警告:此电子邮件源自Hashkey外部,在执行任何操作之前请格外小心。
>
>
>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:
>morningman@apache.org
>
>
>
>
>
>在 2022-11-01 17:11:43,"明心" <45...@qq.com.INVALID> 写道:
>> 整数和小数分开存哈!
>>
>>
>>明心
>>45483483@qq.com
>>
>>
>>
>>
>>
>>
>>
>>
>>------------------ 原始邮件 ------------------
>>发件人: "dev" <zhaohaibin@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
>
Re:回复: Re:回复:Doris Decimal 精度问题
Posted by Mingyu Chen <mo...@163.com>.
StarRocks is a fork of Apache Doris since Doris v0.13, not a "upgraded version" of Doris.
And now they are 2 separate products that are not related.
As I said, the new implementation of Decimal type will support max to 38, expecting release this end of year.
You can make your choice according to your actual needs.
--
此致!Best Regards
陈明雨 Mingyu Chen
Email:
morningman@apache.org
在 2022-11-02 11:17:39,"赵海兵" <zh...@hashkeytech.com.INVALID> 写道:
>Hi 大神们,
>
>StarRocks 是不是doris的升级版? 最新的StartRocks Deciaml 是支持[1, 38]的,是不是直接使用StartRocks?
>
>Best Regards
>Tommy Zhao
>
>Email:
>214277706@qq.com<ma...@qq.com>
>
>发件人: Mingyu Chen<ma...@163.com>
>发送时间: 2022年11月1日 17:48
>收件人: dev@doris.apache.org<ma...@doris.apache.org>
>主题: Re:回复:Doris Decimal 精度问题
>
>[You don't often get email from morningman@163.com. Learn why this is important at https://aka.ms/LearnAboutSenderIdentification ]
>
>Caution: This email originated outside of Hashkey. Take extra caution before performing any action.
>警告:此电子邮件源自Hashkey外部,在执行任何操作之前请格外小心。
>
>
>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:
>morningman@apache.org
>
>
>
>
>
>在 2022-11-01 17:11:43,"明心" <45...@qq.com.INVALID> 写道:
>> 整数和小数分开存哈!
>>
>>
>>明心
>>45483483@qq.com
>>
>>
>>
>>
>>
>>
>>
>>
>>------------------ 原始邮件 ------------------
>>发件人: "dev" <zhaohaibin@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
>