Commit Graph

129506 Commits

Author SHA1 Message Date
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
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
lgbo
b38469ddf8
Optimization for getting value from map, arrayElement(2/2) (#55957) 2023-11-27 15:11:56 +01: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
Raúl Marín
130c0b45c3
Merge pull request #57202 from Algunenano/i51321
Add test for #51321
2023-11-27 12:58:09 +01: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
Kruglov Pavel
b10e46b2bc
Merge pull request #57126 from Avogar/size-virtual-column
Add _size virtual column to s3/file/hdfs/url/azureBlobStorage engines
2023-11-27 10:12:18 +01:00
Raúl Marín
deea84cac1 Adjust a test so it's a valid query 2023-11-27 10:11:14 +01:00
Antonio Andelic
4c2de5219d
Merge pull request #57196 from amosbird/fix-57194
Fix incorrect JOIN plan optimization with partially materialized normal projection
2023-11-27 09:15:13 +01:00
Nikolay Degterinsky
de0876ed68
Merge pull request #57234 from evillique/fix-docs-anchors
Fix docs
2023-11-27 01:22:43 +01:00
Nikolay Degterinsky
124fae7549 Fix style 2023-11-26 23:58:34 +00:00
Nikolay Degterinsky
dd49b46ca5 Fix style 2023-11-26 22:32:11 +00:00
Nikolay Degterinsky
faa3a43803 Fix docs 2023-11-26 19:21:39 +00:00
Alexey Milovidov
a9bb76378f
Merge pull request #56724 from canhld94/ch_replicated_column_mismatch
Do not allow tables on different replicas have different aggregate functions in SimpleAggregateFunction column
2023-11-26 17:20:10 +01:00
Alexey Milovidov
588fd16518
Merge pull request #57230 from ClickHouse/remove-bad-test
Remove test `01280_ttl_where_group_by`
2023-11-26 04:38:16 +01:00
Alexey Milovidov
1cc33f3430
Merge pull request #56164 from azat/not-byte-identical-message
Add more details to "Data after merge is not byte-identical to data on another replicas"
2023-11-26 04:14:15 +01:00
Alexey Milovidov
f8ebe5134d
Merge pull request #55836 from azat/dist/limit-by-fix
RFC: Fix "Cannot find column X in source stream" for Distributed queries with LIMIT BY
2023-11-26 04:03:41 +01:00
Alexey Milovidov
304d6375be
Merge pull request #56225 from azat/rocksdb-compact
Allow manual compaction of rocksdb via OPTIMIZE query
2023-11-26 03:59:54 +01:00
Alexey Milovidov
36cc857441
Merge pull request #57232 from ClickHouse/revert-57170-tests/01600_parts_types_metrics
Revert "Add debugging info for 01600_parts_types_metrics on failures"
2023-11-26 03:58:09 +01:00
Alexey Milovidov
32da588d5e
Revert "Add debugging info for 01600_parts_types_metrics on failures" 2023-11-26 05:57:54 +03:00
Alexey Milovidov
fde14f0daf
Merge pull request #57191 from azat/client-log_comment-file
[RFC] Set log_comment to the file name while processing files in client
2023-11-26 03:44:40 +01:00
Alexey Milovidov
f636dea879
Merge pull request #54327 from den-crane/background_fetches_pool_size
increase background_fetches_pool_size to 16, background_schedule_pool_size to 512
2023-11-26 02:50:38 +01:00
Alexey Milovidov
9fa112af9a
Merge pull request #53721 from takakawa/possible_wrong_type_conversion_bugfix
[bugfix] possible postgresql logical replication error: wrong type conversion
2023-11-26 02:48:24 +01:00
Alexey Milovidov
b92c416ced Remove test 01280_ttl_where_group_by 2023-11-26 02:34:18 +01:00
Alexey Milovidov
f63048e2d6
Merge pull request #57229 from ClickHouse/revert-57222-update-sentry
Revert "Update Sentry"
2023-11-26 02:30:17 +01:00
Alexey Milovidov
e60941f7c5
Revert "Update Sentry" 2023-11-26 04:30:05 +03:00
robot-ch-test-poll1
a956cec61f
Merge pull request #57228 from rschu1ze/docs-alias
Docs: Mention alias `database` for `name` in `system.databases`
2023-11-26 02:25:32 +01:00
Robert Schulze
e074629749
Docs: Mention alias 'database' for 'name' in system.databases 2023-11-25 22:04:49 +00:00
Alexey Milovidov
d29092f8af
Merge pull request #54909 from canhld94/revert-54893-revert-54819-ch_net_interfaces
Resubmit: Avoid excessive calls to getifaddrs in isLocalAddress
2023-11-25 23:00:18 +01:00
Alexey Milovidov
92e580997c
Update IDataType.h 2023-11-26 00:57:12 +03:00
Alexey Milovidov
d7e64fa446
Merge pull request #57150 from azat/ci/no-partial-results
Remove partial results from build matrix for stress tests
2023-11-25 22:55:14 +01:00
Alexey Milovidov
e5dd78a9e8
Merge pull request #57222 from ClickHouse/update-sentry
Update Sentry
2023-11-25 22:53:27 +01:00
Alexey Milovidov
c50f096200
Merge pull request #57227 from azat/client-INS-cursor
Change cursor style for overwrite mode (INS) to blinking in client
2023-11-25 22:53:09 +01:00
Azat Khuzhin
ced0bbd932 Change cursor style for overwrite mode (INS) to blinking in client
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2023-11-25 22:00:56 +01:00
Alexey Milovidov
b31d60e886
Merge pull request #57226 from ClickHouse/auto/v23.8.8.20-lts
Update version_date.tsv and changelogs after v23.8.8.20-lts
2023-11-25 21:37:04 +01:00
Alexey Milovidov
2cdb13e367
Merge pull request #57225 from ClickHouse/auto/v23.3.18.15-lts
Update version_date.tsv and changelogs after v23.3.18.15-lts
2023-11-25 21:36:53 +01:00
Robert Schulze
4088ec0eac
Merge pull request #57199 from rschu1ze/docs-math-funcs
Docs: Improve math function docs
2023-11-25 21:22:53 +01:00
Alexey Milovidov
4aff43ef7f
Merge pull request #57221 from ClickHouse/faster-libunwind
Fix occasional slowness of stack unwinding.
2023-11-25 21:13:21 +01:00
robot-clickhouse
ff34726e0c Update version_date.tsv and changelogs after v23.8.8.20-lts 2023-11-25 19:48:29 +00:00
Robert Schulze
2e7c16e138
Fix broken links 2023-11-25 19:47:32 +00:00
Robert Schulze
5b7d2a903d
Merge pull request #57152 from rschu1ze/fine-granular-plan-opt-settings
Fine-granular enablement/disabling of plan-level optimizations
2023-11-25 20:44:23 +01:00
Alexey Milovidov
121776783b
Merge pull request #57223 from ClickHouse/auto/v23.10.5.20-stable
Update version_date.tsv and changelogs after v23.10.5.20-stable
2023-11-25 20:21:25 +01:00
Alexey Milovidov
2fe032d47e
Merge pull request #57224 from ClickHouse/auto/v23.9.6.20-stable
Update version_date.tsv and changelogs after v23.9.6.20-stable
2023-11-25 20:20:39 +01:00
robot-clickhouse
f78612f37e Update version_date.tsv and changelogs after v23.3.18.15-lts 2023-11-25 18:40:50 +00:00
robot-clickhouse
2bb12386dd Update version_date.tsv and changelogs after v23.9.6.20-stable 2023-11-25 18:37:17 +00:00
robot-clickhouse
e58d2ae5d6 Update version_date.tsv and changelogs after v23.10.5.20-stable 2023-11-25 18:36:28 +00:00
Alexey Milovidov
1e00048cf7 Update Sentry 2023-11-25 19:11:52 +01:00
Alexey Milovidov
2222d8cbf2 Update Sentry 2023-11-25 18:47:21 +01:00
Alexey Milovidov
5eb3cafb52 libunwind: fix slowness under Musl 2023-11-25 16:21:17 +01:00