我正在使用控制文件将CSV文件中的数据导入HANA,并且它最初工作正常。但是现在当我尝试导入时,我看到错误消息
java.sql.SQLWarning: some of rows have failed to be imported:
Partial failure occurs in importing /pathToMyFile.ctl
但是这个错误并不会一直存在。有时候上传是成功的,有时它不是同一个控制文件。我要导入的代码是
ALTER TABLE “SCHEMA”.”TABLE” DISABLE AUTOMERGE;
IMPORT FROM ‘/sapmnt/log/test.ctl’ WITH THREADS 120 BATCH 200000;
MERGE DELTA OF “SCHEMA”.”TABLE”;
当我看到错误文件时显示
transaction rollbacked by internal error TrexUpdate failed on table
“SCHEMA”.”TABLE” with error attributeload failed
;index=SCHEMA:_SYS_SPLIT_”TABLE” attribut="id"