v.22.6Improvement

More precise results for dumpColumnStructure function with LowCardinality or Sparse columns

More precise result of the dumpColumnStructure miscellaneous function in presence of LowCardinality or Sparse columns. In previous versions, these functions were converting the argument to a full column before returning the result. This is needed to provide an answer in #6935. #37633 (Alexey Milovidov).
Improved accuracy of the dumpColumnStructure miscellaneous function when handling LowCardinality and Sparse columns.

Why it matters

Previously, dumpColumnStructure converted LowCardinality and Sparse columns to their full column form before returning results, which affected precision and performance. This feature provides a more precise and efficient column structure dump without full expansion, addressing issue #6935.

How to use it

Use the dumpColumnStructure function as before; the behavior now automatically supports LowCardinality and Sparse columns with improved precision and does not require any additional configuration.