Skip to content

Commit ed5d39f

Browse files
authored
Merge pull request #1776 from wangboshun/master
修复clickhouse批量插入失败问题
2 parents 23b81d7 + 7f288ab commit ed5d39f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Providers/FreeSql.Provider.ClickHouse/Curd/ClickHouseInsert.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,7 @@ internal async Task<int> InternalBulkCopyAsync()
8585
BatchSize = _source.Count
8686
})
8787
{
88+
await bulkCopyInterface.InitAsync();
8889
await bulkCopyInterface.WriteToServerAsync(data, default);
8990
}
9091
}

0 commit comments

Comments
 (0)