Merge pull request #58930 from CurtizJ/fix-functions-to-subcolumns-pass

Fix `FunctionToSubcolumnsPass` in debug build
This commit is contained in:
Alexey Milovidov 2024-01-19 08:40:55 +01:00 committed by GitHub
commit ff8e1d1595
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -75,6 +75,7 @@ public:
{
/// Replace `length(array_argument)` with `array_argument.size0`
column.name += ".size0";
column.type = std::make_shared<DataTypeUInt64>();
node = std::make_shared<ColumnNode>(column, column_source);
}
@ -109,6 +110,7 @@ public:
{
/// Replace `isNull(nullable_argument)` with `nullable_argument.null`
column.name += ".null";
column.type = std::make_shared<DataTypeUInt8>();
node = std::make_shared<ColumnNode>(column, column_source);
}