Commit Graph

130204 Commits

Author SHA1 Message Date
Antonio Andelic
889c53eca0 Correctly handle unknown changelog versions and snapshot deleting 2023-11-28 09:47:49 +00:00
Antonio Bonuccelli
612c6be204
replace incorrect field name in coalesce example
field in the example should be `telegram` (not `icq`)
2023-11-28 10:20:02 +01:00
Julia Kartseva
57a4492275
Merge pull request #56490 from jkartseva/fuzz_json
Fuzz JSON table function
2023-11-27 21:47:53 -08:00
Ubuntu
a85cf758b0 Fuzz JSON table function
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
2023-11-28 01:58:24 +00:00
serxa
0d39de9ee9 indicate that legend is not full by "..." 2023-11-28 01:18:41 +00:00
serxa
4979925095 fix legend + add string-labeled format 2023-11-28 00:36:38 +00:00
Nikolay Degterinsky
eb6fba9f65
Merge pull request #57147 from evillique/fix-segfault-nullable-materialized-update
Fix segfault after ALTER UPDATE with Nullable MATERIALIZED column
2023-11-28 00:36:52 +01:00
Philip Hallstrom
6d7f160bcc
Update URL to related content about LowCardinality 2023-11-27 15:05:59 -08:00
Han Fei
7bd2ea3add Merge branch 'master' into hanfei/statistic 2023-11-27 23:31:23 +01:00
Raúl Marín
010a6074f8 Try to fix docs 2023-11-27 23:29:03 +01:00
Raúl Marín
a3ceafbbed Fix embarrasing bug number 2 2023-11-27 23:12:17 +01:00
Raúl Marín
0754ee4901 Fix embarrasing bug number 1 2023-11-27 23:12:17 +01:00
Raúl Marín
80cc1b3a17 Remove addBatchSinglePlaceFromInterval 2023-11-27 23:12:17 +01:00
Antonio Andelic
544f6081eb
Merge pull request #57259 from ClickHouse/ignore-column-comments
Ignore comments when comparing column descriptions
2023-11-27 20:43:39 +01:00
vdimir
6a70bfcdb7
Print profile events in 02402_external_disk_mertrics 2023-11-27 19:43:27 +00:00
vdimir
40c774f387
Enable temporary_data_in_cache in s3 tests in CI 2023-11-27 19:43:27 +00:00
Nikolai Kochetov
e1b00b3ee0 Merge branch 'master' into SystemTablesFilterEngine 2023-11-27 18:54:21 +00:00
Raúl Marín
9fb19b5cb4 Merge remote-tracking branch 'blessed/master' into fix_respect_nulls 2023-11-27 19:42:58 +01:00
Raúl Marín
9bd54be6e0
Merge pull request #57190 from Algunenano/remove_optimize_move_functions_out_of_any
Remove optimize_move_functions_out_of_any optimization
2023-11-27 19:31:38 +01:00
Raúl Marín
3395c7c745 Provide a custom implementation for respect_null aggregations 2023-11-27 19:29:20 +01:00
yariks5s
ab0be2f236 init 2023-11-27 18:21:49 +00:00
jsc0218
16f664edce Fix Test File Name Type 2023-11-27 18:20:30 +00:00
Raúl Marín
0d0d813a31 PR review suggestions 2023-11-27 17:39:11 +01:00
Bharat Nallan Chakravarthy
1d788ac1c1 fix docs 2023-11-27 08:05:14 -08:00
yariks5s
a9ed876615 added size assert (possible fix of fuzzer) 2023-11-27 15:49:37 +00:00
Antonio Andelic
1242834256 Merge branch 'master' into ignore-memory-exception-asio 2023-11-27 15:21:56 +00:00
Antonio Andelic
2ea44adefd Add test 2023-11-27 15:05:56 +00:00
Antonio Andelic
9077550bb1 Better Readonly metric 2023-11-27 14:25:45 +00:00
Robert Schulze
3d256105be
Add analyzer test 2023-11-27 14:22:52 +00:00
Han Fei
824e9ef664 Merge branch 'master' into hanfei/sqllogic 2023-11-27 15:15:35 +01:00
lgbo
b38469ddf8
Optimization for getting value from map, arrayElement(2/2) (#55957) 2023-11-27 15:11:56 +01:00
Azat Khuzhin
3ab1d4ae68 Add "formatters" into spell excludes
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2023-11-27 14:42:03 +01:00
János Benjamin Antal
adf21e37c4 Make tests use the installed protobuf files 2023-11-27 13:39:28 +00:00
János Benjamin Antal
4bfbbfbd75 Fix proto file installation 2023-11-27 13:39:01 +00:00
alesapin
4abb13c795
Merge pull request #57260 from ClickHouse/add_several_groups
Add some additional groups to CI
2023-11-27 13:45:27 +01:00
alesapin
b26767d5bb Add some additional groups to CI 2023-11-27 13:43:40 +01:00
Antonio Andelic
9707796869 Ignore comments when comparing column descriptions 2023-11-27 12:25:41 +00:00
Raúl Marín
130c0b45c3
Merge pull request #57202 from Algunenano/i51321
Add test for #51321
2023-11-27 12:58:09 +01:00
kssenii
610d8ca717 Fix 2023-11-27 12:53:28 +01:00
yariks5s
b8590f8f36 style check 2023-11-27 11:44:51 +00:00
Robert Schulze
4c236b34f0
Another small cleanup 2023-11-27 11:09:07 +00:00
vdimir
bbc202a891
Merge pull request #56816 from AVMusorin/improve-settings-rocksdb
Show total_bytes and total_rows in system tables for RocksDB storage
2023-11-27 11:42:15 +01:00
Antonio Andelic
3941520cb0 Avoid memory exceptions in asio workers 2023-11-27 10:08:06 +00:00
Raúl Marín
829c2b2355 Clang-tidy detected problems 2023-11-27 11:00:27 +01:00
Raúl Marín
93893247cf Update references after updating the ASTFunction hash function 2023-11-27 11:00:27 +01:00
Raúl Marín
2e24639d46 Fix updateTreeHashImpl 2023-11-27 11:00:27 +01:00
Raúl Marín
56b15a7294 Fix style 2023-11-27 11:00:27 +01:00
Raúl Marín
bada4a561c Small cleanup 2023-11-27 11:00:27 +01:00
Raúl Marín
4484c42609 More tests around respect nulls 2023-11-27 11:00:27 +01:00
Raúl Marín
4250c6626c Move handling of RESPECT NULLS outside of the parser 2023-11-27 11:00:27 +01:00