use error stream

This commit is contained in:
Julia Kartseva 2024-07-20 02:56:47 +00:00
parent 1ea72d3453
commit d00dcda34b

View File

@ -518,7 +518,7 @@ void ClientBase::onData(Block & block, ASTPtr parsed_query)
if (need_render_progress_table && tty_buf)
{
if (!need_render_progress && select_into_file && !select_into_file_and_stdout)
std::cerr << "\r";
error_stream << "\r";
progress_table.writeTable(*tty_buf);
}
}