Apache Doris 中文技术论坛
Questions Tags Users Badges

[已解决] decimal指定默认精度(9,0)时, 通过show create table语句获取到的建表sql缺少精度

Asked Aug 20, 2024 Modified Aug 20, 2024
Viewed 81
2.0

如下图, 指定默认精度和未指定在显示结果上都为decimal, 影响解析, 但我们应用方可以自行兼容处理, 只是作一下反馈并确认是否有其他方面的原因
image.png

edited Aug 20, 2024
yadao29
asked Aug 20, 2024
1 Answers

decimal(9,0) 这表示有效数字为9,小数位为0,这个类型就只能存9位整数是和默认是一样的decimal一样,所以这里就直接成decimal了,如果有效数字不是9的话,就是正常的

image.png
image.png

edited Jan 1, 1970
阿渊@SelectDB (没回帖直接加我主页微信)9580
answered Aug 20, 2024
Related Questions
Doris Routine Load自动恢复机制
我的doris版本为2.0.6 在备份操作时,会导致所以fe节点宕机,这种情况该怎么排查,为什么备份会导致这个问题?
1 answers
doris fe节点变更成高可用配置
1 answers
各位大哥在通过k8s安装doris3.0的时候,有没有遇到cg启动不起来,提示Set max number of open file descriptors to a value greater than 60000.
1 answers
doris主键表可以bucket配置太小,怎么修改?
1 answers
doris2.0.2.1大量delete语句和stream load执行在5分钟左右
1 answers

Terms of service Privacy policy

Powered by Answer - the open-source software that powers Q&A communities.
Made with love © 2026 Apache Doris 中文技术论坛.