https://clickhouse-test-reports.s3.yandex.net/8367/333ec2e496f4fe4addd22d5fa7c5c2a499099c57/fuzzer/fuzzer.log#fail1
writeQuoted(db, out);
        writeChar('.', out);
    }
    if (!schema.empty())
    {
        writeQuoted(schema, out);
        writeChar('.', out);
    }
    writeQuoted(table, out);
    writeString(" WHERE ", out);
    if (!where.empty())
    {
        if (method != CASSANDRA_SEPARATE_PARTITION_KEY)
            writeString("(", out);
        writeString(where, out);
        if (method != CASSANDRA_SEPARATE_PARTITION_KEY)
            writeString(") AND (", out);
        else
            writeString(" AND ", out);
    }
    if (method == AND_OR_CHAIN)
    {
        first = true;
        for (const auto row : requested_rows)
        {
            if (!first)
                writeString(" OR ", out);
            first = false;
            writeString("(", out);
            composeKeyCondition(key_columns, row, out, 0, key_columns.size());