yugabyte/yugabyte-db

[YSQL] Dont COMMIT after an ERROR in COPY

Open

#30.351 aperta il 17 feb 2026

Vedi su GitHub
 (1 commento) (0 reazioni) (0 assegnatari)C (1003 fork)batch import
area/ysqlgood first issuekind/bugpriority/medium

Metriche repository

Star
 (8229 star)
Metriche merge PR
 (Merge medio 17g 21h) (92 PR mergiate in 30 g)

Descrizione

Jira Link: DB-20234

Description

WARNING:  Batched COPY is not supported in transaction blocks. Defaulting to using one transaction for the entire copy.
HINT:  Either run this COPY outside of a transaction block or set rows_per_transaction option to `0` to disable batching and remove this warning.
CONTEXT:  SQL statement "COPY shell_output FROM PROGRAM
ERROR:  Commit of transaction that requires restart is not allowed
STATEMENT:  COMMIT;

Issue Type

kind/bug

Warning: Please confirm that this issue does not contain any sensitive information

  • I confirm this issue does not contain any sensitive information.

Guida contributor