You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
usingvarcnn=newClickHouseConnection(settings.ToString());awaitcnn.OpenAsync().ConfigureAwait(false);usingvarcmd=cnn.CreateCommand("INSERT INTO cktest VALUES ({id:Int64}, {name:String})");cmd.Parameters.AddWithValue("id",1);cmd.Parameters.AddWithValue("name","name");varres=awaitcmd.ExecuteNonQueryAsync().ConfigureAwait(false);
Error:
Octonica.ClickHouseClient.Exceptions.ClickHouseServerException : DB::Exception: Element of set in IN, VALUES or LIMIT or aggregate function parameter is not a constant expression (result column not found): CAST(__subquery_11347167823684683694_3925735668227058289, 'Int64'): While executing ValuesBlockInputFormat
I found a issues that said "Unfortunately, ClickHouse server doesn't support parameters in VALUES (...)."(#19 (comment))
but I could get right result when i used clickhouse client cli, like
Hi, I got error when I run the code like
Error:
I found a issues that said "Unfortunately, ClickHouse server doesn't support parameters in VALUES (...)."(#19 (comment))
but I could get right result when i used clickhouse client cli, like
Are you sure the clickhouse not support parameters in VALUES?
The text was updated successfully, but these errors were encountered: