Open flosca opened 2 months ago
I've cloned your library and tried to patch it with one of the overriding of AppendUpdateOperation
method in ClickHouseUpdateSqlGenerator
.
I just copy-pasted this method from a different provider https://github.com/npgsql/efcore.pg/blob/e6d545ace2294a14140744cd32c33adf68e4e3c7/src/EFCore.PG/Update/Internal/NpgsqlUpdateSqlGenerator.cs#L99 and magically the exception disappeared.
However I don't have a full expertise in EF to propose a pull-request. Maybe that information would be useful for you.
Hello!
I've encountered an issue that every time when I update entity using this provider,
SaveChangesAsync
throws the following exception:Below there is a snippet to reproduce this behaviour:
Installed packages:
EntityFrameworkCore.ClickHouse 0.0.20
Microsoft.EntityFrameworkCore 8.0.7
Spectre.Console.Cli 0.49.1
The output of the program is:
It's interesting though that the data in ClickHouse did updated. Looks like it's the provider issue: it cannot fetch the actual affected rows while calling
SaveChanges
. Am I missing anything or is it an actual bug?Thanks in advance.