ClickHouse / clickhouse-cpp

C++ client library for ClickHouse
Apache License 2.0
305 stars 159 forks source link

make ColumnMap from ColumnTuple , but can not do back #314

Closed Embarraess closed 1 year ago

Embarraess commented 1 year ago

we can easy to get ColumnMap or ColumnArray , but when we cast ColumnMap or ColumnArray to Column , the trouble coming .

here is the trouble

wo can cast Column back to ColumnMap or ColumnArray , but we do not know the exact basic type (at lease now),because we can't convet ColumnMap to ColumnTuple , so we can't create a ColumnMap or ColumnArray from column dynamically

Enmk commented 1 year ago

Hi @Embarraess ! Could you please post an example that reproduces the issue? It is not clear what you are trying to do...