mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-18 04:12:19 +00:00
Misc [#CLICKHOUSE-3].
This commit is contained in:
parent
9d5ea2163c
commit
c21b4c52c5
@ -79,7 +79,7 @@ void AlterCommand::apply(
|
||||
if (default_expression)
|
||||
column_defaults.emplace(column_name, ColumnDefault{default_type, default_expression});
|
||||
|
||||
/// Slowly, because each time a list is copied
|
||||
/// Slow, because each time a list is copied
|
||||
columns = *DataTypeNested::expandNestedColumns(columns);
|
||||
}
|
||||
else if (type == DROP_COLUMN)
|
||||
@ -163,7 +163,7 @@ void AlterCommand::apply(
|
||||
}
|
||||
else if (type == MODIFY_PRIMARY_KEY)
|
||||
{
|
||||
/// This does not apply to changing the list of columns.
|
||||
/// This have no relation to changing the list of columns.
|
||||
/// TODO Check that all columns exist, that only columns with constant defaults are added.
|
||||
}
|
||||
else
|
||||
|
@ -35,7 +35,7 @@ void ActiveDataPartSet::addImpl(const String & name)
|
||||
part.name = name;
|
||||
parsePartName(name, part);
|
||||
|
||||
/// Parts contained in `part` are located inside `data_parts` in sequence, overlapping with place where the part itself would be inserted.
|
||||
/// Parts contained in `part` are located contiguously inside `data_parts`, overlapping with the place where the part itself would be inserted.
|
||||
Parts::iterator it = parts.lower_bound(part);
|
||||
|
||||
/// Let's go left.
|
||||
|
Loading…
Reference in New Issue
Block a user