presto-cli/src/main/java/io/prestosql/cli/VerticalRecordPrinter.java/VerticalRecordPrinter/finish
class VerticalRecordPrinter:    @Override
    public void finish()
            throws IOException
    {
        if (rowCount == 0) {
            writer.append("(no rows)\n");
        }
        writer.flush();
    }