Fix style and typo

This commit is contained in:
Alexey Milovidov 2023-01-29 03:51:42 +01:00
parent d5cda328e0
commit 9ad87f9917
2 changed files with 4 additions and 4 deletions

View File

@ -49,8 +49,8 @@ Chunk ParquetBlockInputFormat::generate()
if (is_stopped) if (is_stopped)
return {}; return {};
for (; row_group_current < row_group_total && skip_row_groups.contains(row_group_current); ++row_group_current) while (row_group_current < row_group_total && skip_row_groups.contains(row_group_current))
; ++row_group_current;
if (row_group_current >= row_group_total) if (row_group_current >= row_group_total)
return res; return res;
@ -79,6 +79,7 @@ Chunk ParquetBlockInputFormat::generate()
if (format_settings.defaults_for_omitted_fields) if (format_settings.defaults_for_omitted_fields)
for (const auto & column_idx : missing_columns) for (const auto & column_idx : missing_columns)
block_missing_values.setBits(column_idx, res.getNumRows()); block_missing_values.setBits(column_idx, res.getNumRows());
return res; return res;
} }

View File

@ -1,12 +1,11 @@
#!/usr/bin/env bash #!/usr/bin/env bash
# Tags: replica, no-parallel, no-fasttest # Tags: replica, no-parallel, no-fasttest
# This test checks mutations concurrent execution with concurrent inserts. # This test checks mutations concurrent execution with concurrent inserts.
# There was a bug in mutations finalization, when mutation finishes not after all # There was a bug in mutations finalization, when mutation finishes not after all
# MUTATE_PART tasks execution, but after GET of already mutated part from other replica. # MUTATE_PART tasks execution, but after GET of already mutated part from other replica.
# To test it we stop some replicas to delay fetch of required parts for mutation. # To test it we stop some replicas to delay fetch of required parts for mutation.
# Since our replication queue executing tasks concurrently it may happen, that we dowload already mutated # Since our replication queue executing tasks concurrently it may happen, that we download already mutated
# part before source part. # part before source part.