Skip to content

Failed to send data in csv format using CURL #783

@luanmacidian

Description

@luanmacidian

The command is as follows:

curl --location-trusted -u root:root -H 'Content-Type:text/csv' -H 'column_separator:,' -H 'Expect:100-continue' --data '2017-07-16,6,2,jack,3' -XPUT http://host:port/api/test/table2/_stream_load

My console returns as follows:

{
"TxnId": 2040,
"Label": "aa1d6fef-ce2d-4a9f-bae5-c79bfe90ce23",
"Status": "Fail",
"Message": "all partitions have no load data",
"NumberLoadedRows": 0,
"NumberFilteredRows": 0,
"LoadBytes": 21,
"LoadTimeMs": 7
}

Metadata

Metadata

Assignees

Labels

kind/fixCategorizes issue or PR as related to a bug.

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions