Oracle Error ORA-39769: finish is not allowed with an incompletely loaded last row

Oracle Error Message

ORA-39769: finish is not allowed with an incompletely loaded last row

Reason for the Error

Part of a row has been loaded, but it is not complete.

Solution

Finish loading the current row when load stream returns OCI_ERROR or OCI_NEED_DATA.