mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-17 20:02:05 +00:00
a85cf758b0
Create a table function `fuzzJSON` An example query: ``` CREATE NAMED COLLECTION json_fuzzer AS json_str={}; SELECT * FROM fuzzJSON(json_fuzzer, json_str = '{"students" : ["Alice", "Bob"]}', random_seed = 666, max_output_length = 128, probability = 0.9) LIMIT 3 Query id: 7f802052-efb0-41b4-87fa-03b7dd290e9d ┌─json──────────────────────────────────────────────────────────────────────────────────┐ │ {"ade0yX":[9200406572736542991, true, "sm"]} │ │ {"students":["Alice", "eSN3WO#a6NYTBe0$#OWwyIQ"], "cVoP2BuQugQ":17384271928263249403} │ │ {"students":["Alice", "Bob", "T+-k4+PJGkL%XRRaF2BoeN@&A"]} │ └───────────────────────────────────────────────────────────────────────────────────────┘ ``` Next step: * Generate invalid string Fixes #35962 add Object('json') use named collection |
||
---|---|---|
.. | ||
azureBlobStorage.md | ||
azureBlobStorageCluster.md | ||
cluster.md | ||
deltalake.md | ||
dictionary.md | ||
executable.md | ||
file.md | ||
format.md | ||
fuzzJSON.md | ||
gcs.md | ||
generate.md | ||
hdfs.md | ||
hdfsCluster.md | ||
hudi.md | ||
iceberg.md | ||
index.md | ||
input.md | ||
jdbc.md | ||
merge.md | ||
mongodb.md | ||
mysql.md | ||
null.md | ||
numbers.md | ||
odbc.md | ||
postgresql.md | ||
redis.md | ||
remote.md | ||
s3.md | ||
s3Cluster.md | ||
sqlite.md | ||
url.md | ||
urlCluster.md | ||
view.md |