Oracle Solution for Error ora-39769

Solution for Oracle Error ORA-39769

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

What triggered the Error:

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

What should we do to fix it:

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