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
usingvarcn=new ClickHouseConnection(cs);
cn.Open();usingvarcmd= cn.CreateCommand();
cmd.CommandText ="select * from system.tables";usingvarrd= cmd.ExecuteReader();varschema= rd.GetSchemaTable();if(schema.Rows[0]["AllowDBNull"]is not bool)thrownew InvalidOperationException("AllowDBNull should be bool");
Column type is not configured in code and have default value (string).
E.g.
AllowDBNull
is string instead of bool.https://github.com/DarkWanderer/ClickHouse.Client/blob/master/ClickHouse.Client/Utility/SchemaDescriber.cs
The text was updated successfully, but these errors were encountered: