Simply display zero if it's less or equals to 0.
if (block.rows() == 0 || (query_fuzzer_runs != 0 && processed_rows >= 100))
        return;
    /// If results are written INTO OUTFILE, we can avoid clearing progress to avoid flicker.
    if (need_render_progress && (stdout_is_a_tty || is_interactive) && !select_into_file)
        progress_indication.clearProgressOutput(
    try
    {
        output_format->write(materializeBlock(block)
        written_first_block = true;
    }
    catch (const Exception &)
    {
        /// Catch client errors like NO_ROW_DELIMITER
        throw LocalFormatError(getCurrentExceptionMessage(print_stack_trace), getCurrentExceptionCode()
    }
    /// Received data block is immediately displayed to the user.
    output_format->flush(
    /// Restore progress bar after data block.
    if (need_render_progress && (stdout_is_a_tty || is_interactive))
    {
        if (select_into_file)
            std::cerr << "\r";
        progress_indication.writeProgress(
    }
}
void ClientBase::onLogData(Block & block)
{
    initLogsOutputStream(
    progress_indication.clearProgressOutput(
    logs_out_stream->writeLogs(block