Questions
Tags
Users
Badges
为什么 selectdb 的 key 列可以为空,这种设计是基于什么考虑做的呢?
Asked Jul 15, 2024
Modified Jan 1, 0001
Viewed 39
2.0
如题,在 unique 模型中发现 key 列可以为空,实际测试也能写入为空的数据,请问一下为什么要这么设计。
0
0
edited Jan 1, 0001
hanhe
5
asked Jul 15, 2024
1 Answers
如果非空,可以在定义字段时加not null;有些业务场景是需要允许null的。
0
Accepted
edited Jan 1, 1970
张彬华
7678
answered Jul 18, 2024
Related Questions
Date与DatatimeV2
3 answers
doris多次查询结果不一致。
1 answers
BDBJE Write latency
3 answers
doris-2.0.15.1存在BE的cpu居高不下
1 answers
Doris2.0.1.1执行查询sql,order by + limit 查询不出数据,去掉limit后正常
1 answers
RECOVER权限管控
2 answers