clickhouse.rs
                                
                                 clickhouse.rs copied to clipboard
                                
                                    clickhouse.rs copied to clipboard
                            
                            
                            
                        how to support map?
ck table columns:
and rust struct :
when execute insert, error: thread 'main' panicked at /Users/gao.wei.strive/.cargo/registry/src/rsproxy.cn-0dccff568467c15b/clickhouse-0.11.6/src/rowbinary/ser.rs:168:9: not yet implemented
please help me , thanks.
+1, same problem
The documentation is not precise enough. It literally means "serialize as Array((K, V))", so you can use Vec<(String, String)> and so on here.
What's Map, serialize_map, and (most important!) Value in your example?
It's possible to support real maps (HashMap, BTreeMap, IndexMap etc) directly without using &[tuple], but it opens a large space for bugs because of #[serde(flatten)], serde_value::Value and other things which all should be handled correctly (or it ends with a lot of issues because of schema mismatch), that's not trivial.