-
-
Notifications
You must be signed in to change notification settings - Fork 71
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ClickHouseBulkCopy dropping rows #218
Comments
|
Thanks for quick response - answers:
Code used to generate data:
|
Found the reason for the issue - I had a logic bug in the new BulkCopy implementation (version 6.1.0 specifically was affected). Thank you very much for bug report and detailed reproduction scenario. I've released fix in version 6.1.1 - please let me know if the issue still reproduces |
Looks to be fixed. Used batch sizes of both 1M and 5M rows. Thanks! |
Great, glad to hear it's fixed! Note that you can tweak internal batch size in
|
Using a sample data table and a sample data file containing 100 million rows:
and the following code to bulk insert in batches:
Setting the batchSize >= 1,000,000 will consistently drop rows (bulkCopy.RowsWritten != rows.Count).
The text was updated successfully, but these errors were encountered: