GBase 8a
适配迁移
文章

gbase加载数据报错:The number of data columns is less than the number of

发表于2026-01-22 21:43:4977次浏览9个评论

如果再数据加载过程遇到报错:

sftp://gbase:********@IP//gbase/oraToGbase/data3/BL_CNTR_PACKG.txt|1173943386|225|14|The number of data columns is less than the number of c
olumns defined

需要多增加参数: autofill

load data infile 'sftp://gbase:pwd@ip//gbase/oraToGbase/data3/BL_CNTR_PACKG.txt' into table BL_MAINT.BL_CNTR_PACKG data_format 3 null_value 'nullnull' fields terminated by '@#$'  autofill datetime format '%Y-%m-%d %H:%i:%s' date format '%Y-%m-%d' ; 

 

评论

登录后才可以发表评论
用户头像
郝老师发表于 6个月前
源数据文件,栏位个数 小于目标表字段个数
gbase_poc_凡夫发表于 6个月前
@郝老师:可以用这参数,然后加载入库,查询正常。
用户头像
mittens发表于 6个月前
学习一下
用户头像
mittens发表于 5个月前
学习了
用户头像
mittens发表于 5个月前
学习了
用户头像
mittens发表于 5个月前
学习了
用户头像
mittens发表于 5个月前
学习了
用户头像
mittens发表于 5个月前
学习了
用户头像
levvel发表于 4个月前
太实用了!