Fix build

This commit is contained in:
Kruglov Pavel 2024-07-04 00:22:41 +02:00 committed by GitHub
parent a5adf31b9e
commit 41b9216dd1
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1465,7 +1465,7 @@ std::unique_ptr<JSONExtractTreeNode<JSONParser>> buildJSONExtractTree(const Data
case TypeIndex::LowCardinality:
{
/// To optimize inserting into LowCardinality we have special nodes for LowCardinality of numeric and string types.
const auto & lc_type = assert_cast<const DataTypeLowCardinality &>(*type));
const auto & lc_type = assert_cast<const DataTypeLowCardinality &>(*type);
auto dictionary_type = removeNullable(lc_type.getDictionaryType());
bool is_nullable = lc_type.isLowCardinalityNullable();