mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-14 19:45:11 +00:00
Make tiny improvements
This commit is contained in:
parent
4fcc5bbea7
commit
3bf2411be1
@ -251,7 +251,7 @@ bool ValuesBlockInputFormat::tryParseExpressionUsingTemplate(MutableColumnPtr &
|
||||
/// Do not use this template anymore
|
||||
templates[column_idx].reset();
|
||||
buf->rollbackToCheckpoint();
|
||||
*token_iterator = start;
|
||||
token_iterator = start;
|
||||
|
||||
/// It will deduce new template or fallback to slow SQL parser
|
||||
return parseExpression(*column, column_idx);
|
||||
|
@ -72,7 +72,7 @@ void ISource::progress(size_t read_rows, size_t read_bytes)
|
||||
|
||||
std::optional<ISource::ReadProgress> ISource::getReadProgress()
|
||||
{
|
||||
if (finished && read_progress.read_bytes == 0 && read_progress.read_bytes == 0 && read_progress.total_rows_approx == 0)
|
||||
if (finished && read_progress.read_bytes == 0 && read_progress.total_rows_approx == 0)
|
||||
return {};
|
||||
|
||||
ReadProgressCounters res_progress;
|
||||
|
Loading…
Reference in New Issue
Block a user