ClickHouseClient
ClickHouseClient copied to clipboard
How to write Map type?
I've tried to write to a Map(String,String) field using both tuple arrays and arrays of keyvalue pairs. which I believe is what the docs are saying here should be supported:
In both cases I get:
Parameter "tag_map". The type "System.Tuple`2[System.String,System.String][]" is not supported. See the inner exception for details.
Parameter "tag_map". The type "System.Collections.Generic.List`1[System.Collections.Generic.KeyValuePair`2[System.String,System.String]]" is not supported. See the inner exception for details
I see nothing in the ClickHouseTypeInfoProvider.GetTypeFromValue method that seem to cover this.
Am I doing something wrong here?