當我試圖插入該csv文件用COPY命令分隔由;
到卡桑德拉表我面臨以下錯誤信息:卡桑德拉COPY命令失敗
ErrorMessage code=000a [Protocol error] message="Cannot decode string as UTF8:
'e23fa22f2[...truncated by author...]6f742c2e2729';
java.nio.charset.MalformedInputException: Input length = 1"> Aborting
import at record #252. Previously inserted records are still present,
and some records after that may be present as well.
我CQL查詢
copy retail.products_by_id (product_id,product_name,price,supplier_id,supplier_name,category_id,category_name,release_date,description) FROM '/home/centos/retail_data/prod1_new.txt' WITH DELIMITER = ';' AND HEADER=true;
不知道什麼是錯的。數據有問題嗎?我的文件大小爲20MB需要解決此問題的建議