yugabyte/yugabyte-db

[YSQL] Dont COMMIT after an ERROR in COPY

開放

#30,351 建立於 2026年2月17日

 (1 則留言) (0 個反應) (0 位負責人)C (1,003 個分叉)batch import
area/ysqlgood first issuekind/bugpriority/medium

倉庫指標

星標
 (8,229 顆星)
PR 合併指標
 (平均合併 17天 21小時) (30 天內合併 92 個 PR)

描述

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.

貢獻者指南