This is an automated email from the ASF dual-hosted git repository. liuhangyuan pushed a commit to branch Doc]-Add-broker-load-doc in repository https://gitbox.apache.org/repos/asf/incubator-doris.git
commit eca68801da4841feb86bfe4338f30d6140f6a5db Author: HangyuanLiu <460660...@qq.com> AuthorDate: Thu Mar 5 11:35:01 2020 +0800 Update broker-load-manual.md --- .../administrator-guide/load-data/broker-load-manual.md | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/docs/documentation/cn/administrator-guide/load-data/broker-load-manual.md b/docs/documentation/cn/administrator-guide/load-data/broker-load-manual.md index a739231..615e62d 100644 --- a/docs/documentation/cn/administrator-guide/load-data/broker-load-manual.md +++ b/docs/documentation/cn/administrator-guide/load-data/broker-load-manual.md @@ -490,5 +490,20 @@ LoadFinishTime: 2019-07-27 11:50:16 * 导入报错:`failed to send batch` 或 `TabletWriter add batch with unknown id` 请参照 [导入手册](./load-manual.md) 中 **通用系统配置** 中 **BE 配置**,适当修改 `tablet_writer_rpc_timeout_sec` 和 `streaming_load_rpc_max_alive_time_sec`。 + +* 导入报错:`LOAD_RUN_FAIL; msg:Invalid Column Name:xxx` + + 如果是PARQUET或者ORC格式的数据, 需要保持文件头的列名与doris表中的列名一致,如 : + ``` + (tmp_c1,tmp_c2) + SET + ( + id=tmp_c2, + name=tmp_c1 + ) + ``` + 代表获取在parquet或orc中以(tmp_c1, tmp_c2)为列名的列,映射到doris表中的(id, name)列。如果没有设置set, 则以column中的列名作为映射关系。 + + 注:如果使用某些hive版本直接生成的orc文件,orc文件中的表头并非hive meta中的列名,而是(_col0, _col1, _col2, ...), 可能导致Invalid Column Name错误,那么则需要使用set进行映射。 --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org For additional commands, e-mail: commits-h...@doris.apache.org