You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

WSL Ubuntu环境下GridDB CLI插入行时遇D20432错误求助

解决GridDB CLI执行putrow时的D20432错误

问题原因

你创建的customers集合定义了4个列:id、name、phone、email,但执行putrow命令时,Danilo Silva因为包含空格被CLI拆分成了两个独立参数。最终传入的值变成了5个(1、Danilo、Silva、5729997091721、dan@if.edu.br),超过了集合的列数,因此触发D20432: The number of specified column values is larger than that of the container.错误。

解决方法

用双引号包裹包含空格的字符串值,让CLI将其识别为单个列值:

putrow customers 1 "Danilo Silva" 5729997091721 dan@if.edu.br

验证方法

执行插入命令后,可以用以下命令检查数据是否成功插入:

getrow customers 1

内容的提问来源于stack exchange,提问作者Danilo Silva

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.06.15 05:52:02