DarkWanderer / ClickHouse.Client

.NET client for ClickHouse
MIT License
300 stars 58 forks source link

Server exceptions are buried by ClickHouseBulkCopy #321

Closed smbecker closed 1 year ago

smbecker commented 1 year ago

I was having issues where it seemed that ClickHouseBulkCopy.WriteToServerAsync was completing successfully and providing the number of rows written. However, the table in CH was still empty. I found that this continuation blindly ignores the exception that it thrown from PostStreamAsync.

DarkWanderer commented 1 year ago

Thank you for report, this is indeed a very annoying issue. Fix will be available in version 6.7.1