mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-23 08:02:02 +00:00
update comments
This commit is contained in:
parent
811dab72a8
commit
5e6ea650eb
@ -227,6 +227,7 @@ Block FillingBlockInputStream::readImpl()
|
|||||||
if (!filling_row.getFillDescription(i).fill_from.isNull() &&
|
if (!filling_row.getFillDescription(i).fill_from.isNull() &&
|
||||||
less(filling_row.getFillDescription(i).fill_from, (*old_fill_columns[i])[0], filling_row.getDirection(i)))
|
less(filling_row.getFillDescription(i).fill_from, (*old_fill_columns[i])[0], filling_row.getDirection(i)))
|
||||||
{
|
{
|
||||||
|
/// Insert filling row, if it's less than first row in block, because of set 'fill_from' value.
|
||||||
filling_row.initFromDefaults(i);
|
filling_row.initFromDefaults(i);
|
||||||
insertFromFillingRow(res_fill_columns, res_other_columns, filling_row);
|
insertFromFillingRow(res_fill_columns, res_other_columns, filling_row);
|
||||||
break;
|
break;
|
||||||
|
@ -10,7 +10,7 @@ class FillingRow
|
|||||||
public:
|
public:
|
||||||
FillingRow(const SortDescription & sort_description);
|
FillingRow(const SortDescription & sort_description);
|
||||||
|
|
||||||
/// Generates next row according to fill from, to and step values.
|
/// Generates next row according to fill 'from', 'to' and 'step' values.
|
||||||
/// Returns true, if generated row less than to_row in terms of sorting order.
|
/// Returns true, if generated row less than to_row in terms of sorting order.
|
||||||
bool next(const FillingRow & to_row);
|
bool next(const FillingRow & to_row);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user