Bulk_args rowcount order

Hello all,

When sending data using a multi_dimensional array and “bulk_args” in the http endpoint, the returning response contains “rowcount” for each data row (?).
The rowcount is -2 for errors, but does this correspond to the same element in the array that was sent , i.e. I could pinpoint which array element caused the insertion to fail ?

This is what I derived off of the docs HTTP endpoint — CrateDB: Reference

Is this correct ?
Thanks

1 Like

yes

The bulk response contains a results array, with a row count for each bulk operation. Those results are in the same order as the issued operations of the bulk operation.

1 Like

whoops -sorry must have missed that bit of data haha.

I went straight to the bulk errors part of the documents, so missed that bit.

2 Likes