yugabyte/yugabyte-db

[YSQL] Dont COMMIT after an ERROR in COPY

オープン

#30,351 opened on 2026/02/17

 (1 件のコメント) (0 件のリアクション) (0 人の担当者)C (1,003 件のフォーク)batch import
area/ysqlgood first issuekind/bugpriority/medium

Repository metrics

Stars
 (8,229 個のスター)
PR merge metrics
 (平均マージ 17d 21h) (30d で 92 merged PRs)

説明

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.

コントリビューターガイド