ClickHouse 导入数据报错

报错信息

ERROR: There is no line feed. "�" found instead. It's like your file has more columns than expected. And if your file has the right number of columns, maybe it has an unquoted string value with a comma.

ClickHouse  导入csv文件中发现 多了一列导致报错

解决方案

 将目标文件 最后一列删除即可

  sed -i 's/,[^,]*$//' $file_name

 





 

你可能感兴趣的:(ClickHouse,clickhouse)