Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
82951: sql: CREATE TABLE AS in an explicit txn does not flush batched rows r=fqazi a=fqazi Fixes: #81554 Previously, when running a CREATE TABLE AS in explicit transactions, a single batch inserted all rows. This can lead to errors running into the KV command size limits. To address this, this patch will intermittently flush batches KV, so that a single gigantic batch isn't used. Release note (bug fix): CREATE TABLE AS in explicit transaction would fail with an error if the size of the source table exceeded the raft command size limit. Co-authored-by: Faizan Qazi <[email protected]>
- Loading branch information