I'm trying to create a clickhouse::ColumnLowCardinalityTclickhouse::ColumnInt32 to insert into low_cardinality(Int32), but in this code:
template <typename T>
using LCC = clickhouse::ColumnLowCardinalityT<T>;
using column_int32 = LCC<clickhouse::ColumnInt32>;
std::shared_ptr<column_int32> abc = std::make_shared<column_int32>(); // throws ItemView value size mismatch for Int32 expected: 4, got: 0
I don't understand what I'm doing wrong and what I need to pass to the constructor.