Skip to content

Commit 7f288ab

Browse files
authored
修复clickhouse批量插入失败问题
修复使用clickhouse.client 7.2.2驱动进行批量插入时失败问题一=
1 parent 23b81d7 commit 7f288ab

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)