Pavel Kravtsov

Results 5 comments of Pavel Kravtsov

@chenhunhun you get these errors because `DestinationTableName` is init only (since 7.0.0 probably) and write to server function is `WriteToServerAsync(IDataReader, CancellationToken)`. Also you need to call `InitAsync()` first. You can...

Hello, @goenning, I have just released the first version of the new pet-project package, [ClickHouse.Facades](https://github.com/MikeAmputer/ClickHouse.Facades). One of the features of this package is schema migrations. It only supports raw SQL...

[Here](https://github.com/MikeAmputer/ClickHouse.Facades/blob/master/src/ClickHouse.Facades/Context/Command/CancelableCommandExecutionStrategy.cs) is an example of a non-blocking approach using `ContinueWith`. I hope someone finds it useful.

Hello, yes, it's possible: ```c# using var connection = new ClickHouseConnection("host=localhost;port=8123;database=mydb;username=user;"); await using var command = connection.CreateCommand(); command.CommandText = "select * from my_table format ArrowStream"; var result = await command.ExecuteRawResultAsync(cancellationToken);...

It is `ClickHouseDecimal` by default, so you can use the [explicit conversion operator](https://github.com/DarkWanderer/ClickHouse.Client/blob/main/ClickHouse.Client/Numerics/ClickHouseDecimal.cs#L148): ```c# var total = (decimal) row.Field("total") ``` If you want it to be a .Net decimal in...