> ## Documentation Index
> Fetch the complete documentation index at: https://clickhouse.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# fuzzQuery

> 指定されたクエリ文字列をランダムに変化させます。

指定されたクエリ文字列をランダムに変化させます。

## 構文

```sql theme={null}
fuzzQuery(query[, max_query_length[, random_seed]])
```

## 引数

| 引数 | 説明 |
| - | - |
| `query` | (String) - ファジング対象の元のクエリ。 |
| `max_query_length` | (UInt64) - ファジング処理中にクエリが到達できる最大長。 |
| `random_seed` | (UInt64) - 再現性のある結果を得るためのランダムシード。 |

## 戻り値

変化が加えられたクエリ文字列を含む単一カラムのテーブルオブジェクト。

## 使用例

```sql theme={null}
SELECT * FROM fuzzQuery('SELECT materialize(\'a\' AS key) GROUP BY key') LIMIT 2;
```

```response theme={null}
   ┌─query──────────────────────────────────────────────────────────┐
1. │ SELECT 'a' AS key GROUP BY key                                 │
2. │ EXPLAIN PIPELINE compact = true SELECT 'a' AS key GROUP BY key │
   └────────────────────────────────────────────────────────────────┘
```
