presto-verifier/src/main/java/io/prestosql/verifier/QueryRewriter.java/QueryRewriter/escapeLikeExpression
class QueryRewriter:    private static String escapeLikeExpression(Connection connection, String value)
            throws SQLException
    {
        String escapeString = connection.getMetaData().getSearchStringEscape();
        return value.replace(escapeString, escapeString + escapeString).replace("_", escapeString + "_").replace("%", escapeString + "%");
    }