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

doris2.1variant数据类型

Asked Jul 10, 2024 Modified Jul 10, 2024
Viewed 112
2.1

可以提供下适合variant数据类型的数据集吗
官方的数据集测试方案可以提供出来吗

edited Jul 10, 2024
丽丽哥哥11
asked Jul 10, 2024
2 Answers

官网是有的哈
wget http://doris-build-hk-1308700295.cos.ap-hongkong.myqcloud.com/regression/variant/gh_2022-11-07-3.json

image.png

edited Jan 1, 1970
阿渊@SelectDB (没回帖直接加我主页微信)8970
answered Jul 10, 2024

variant类型建表
image.png
string类型建表
image.png
json类型建表
image.png
以下是我针对github events一小时的数据做的测试结果
image.png

我自己测试json类型比variant的存储低,但是官方json的存储比variant的存储高。

edited Jan 1, 1970
丽丽哥哥11
answered Jul 11, 2024
Related Questions
fe节点加入集群时报错
1 answers
大佬们求助,授予角色可以创建catalog的权限报错
1 answers
关于catalog_paimon环境下如何启用paimonNativeReadSplits?
1 answers
不同doris集群如何同步数据?
1 answers
bitmap类型设置默认值后,数据导入报错can not cast from origin type bitmap to target type=varchar(65533)
1 answers
doris2.1.8,相同的sql,不同账期但数据量差异,大小表join,有时候会自动join reorder导致OOM
1 answers

Terms of service Privacy policy

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