Skip to content

Fix max_lines parameter being overwritten in insert_into_temp_tables loop#63

Merged
martinv13 merged 1 commit into
cre-dev:mainfrom
martinv13:fix/insert-temp-tables-max-lines
Jun 17, 2026
Merged

Fix max_lines parameter being overwritten in insert_into_temp_tables loop#63
martinv13 merged 1 commit into
cre-dev:mainfrom
martinv13:fix/insert-temp-tables-max-lines

Conversation

@martinv13

Copy link
Copy Markdown
Collaborator

The parameter was mutated on the first iteration when no limit was set, causing subsequent batches to use a stale value from whichever table was processed first.

Closes #61

…loop

The parameter was mutated on the first iteration when no limit was set,
causing subsequent batches to use a stale value from whichever table was
processed first.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@martinv13 martinv13 merged commit a8c5471 into cre-dev:main Jun 17, 2026
9 checks passed
@martinv13 martinv13 deleted the fix/insert-temp-tables-max-lines branch June 17, 2026 16:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Document.insert_into_target_tables max_lines=-1 is unsafe

1 participant