more tries😃

This commit is contained in:
Yarik Briukhovetskyi 2024-09-13 18:00:25 +02:00 committed by GitHub
parent c3f2b9714b
commit e64cc6ecc4
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1300,7 +1300,9 @@ bool KeyCondition::tryPrepareSetIndex(
set_column = nested_column; set_column = nested_column;
} }
ColumnPtr nullable_set_column = castColumnAccurateOrNull({set_column, set_element_type, {}}, key_column_type); ColumnWithTypeAndName set_column_with_type_and_name(set_column, set_element_type, "");
ColumnPtr nullable_set_column = castColumnAccurateOrNull(set_column_with_type_and_name, key_column_type);
const auto * nullable_set_column_typed = typeid_cast<const ColumnNullable *>(nullable_set_column.get()); const auto * nullable_set_column_typed = typeid_cast<const ColumnNullable *>(nullable_set_column.get());
if (!nullable_set_column_typed) if (!nullable_set_column_typed)
return false; return false;