MCPcopy Create free account
hub / github.com/apache/cloudberry / cdbCopyEnd

Function cdbCopyEnd

src/backend/cdb/cdbcopy.c:425–435  ·  view source on GitHub ↗

* End the copy command on all segment databases, * and fetch the total number of rows completed by all QEs */

Source from the content-addressed store, hash-verified

423 * and fetch the total number of rows completed by all QEs
424 */
425void
426cdbCopyEnd(CdbCopy *c,
427 int64 *total_rows_completed_p,
428 int64 *total_rows_rejected_p)
429{
430 CHECK_FOR_INTERRUPTS();
431
432 cdbCopyEndInternal(c, NULL,
433 total_rows_completed_p,
434 total_rows_rejected_p);
435}
436
437static void
438cdbCopyEndInternal(CdbCopy *c, char *abort_msg,

Callers 4

CopyToDispatchFunction · 0.85
CopyFromDirectoryTableFunction · 0.85
CopyFromFunction · 0.85

Calls 1

cdbCopyEndInternalFunction · 0.85

Tested by

no test coverage detected