apache / apache/doris-streamloader

指定多个 csv 文件,并且使用 format:csv_with_names, 只会忽略一个 csv 的 header

Open
#33 1 comment 0 reactions 1 assignee Claimed by @Tech-Circle-48 View on GitHub
Dominant language
Go
Stars
36
Forks
24
PR merge metrics
No merged PRs in 30d

Description

Image

指定了 20 个文件,每个文件 10000 行数据(不算 csv header)

> 同时指定多个带有 header 的 csv 文件时,只会忽略其中一个文件的 header,其他的 header 被当做数据进行解析了

使用 curl 可以
```shell
curl --location-trusted -u root:xxxxxxx \
-H "Expect:100-continue" \
-H "format: csv_with_names" \
-H "column_separator:|" \
-H 'enclose:"' \
-T data/DATA_IM_MB/DATA_IM_MB_001.csv \
-XPUT http://127.0.0.1:8031/api/xxxxxx/DATA_IM_MB/_stream_load
```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.