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

doris2.1variant数据类型

Asked Jul 10, 2024 Modified Jul 10, 2024
Viewed 132
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 (没回帖直接加我主页微信)10485
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
Flink Connector 26.3.0 读取 DATETIME 变成 1970 年,切换 25.0.0 后正常
Apache Doris默认口令登录漏洞
Apache Doris Dashboard未授权访问漏洞
max_by会不会忽略null值
Doris2.1.6升级为Doris2.1.11后全部be节点进程频繁停止运行
1 answers
Huawei MRS使用doris,tpc-ds测试运行load data至analyse时报错
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 中文技术论坛.