Commit Graph

135329 Commits

Author SHA1 Message Date
Kruglov Pavel
1a9ee8c318
Merge pull request #60372 from HowePa/single_arg_merge
Support single-argument version for the merge table function
2024-02-26 13:43:04 +01:00
Yong Wang
795c1a98dc
Fix segmentation fault in KQL parser when the input query exceeds the max_query_size (#59626)
* Fix_kql_issue_found_by_wingfuzz

This commit fix the issues:
 https://github.com/ClickHouse/ClickHouse/issues/59036
 https://github.com/ClickHouse/ClickHouse/issues/59037

both issues are same reason, the input query exceed the max_query_size,
so the condition isEnd() of token is not meet and cause the assertion failure

* fix_kql_issue_found_by_wingfuzz: use isValid instead of TokenType::EndOfStream

* fix_kql_issue_found_by_wingfuzz: make functional test result consist

* fix_kql_issue_found_by_wingfuzz: update test case for makeseries

* fix_kql_issue_found_by_wingfuzz: disable makeseries

* fix_kql_issue_found_by_wingfuzz:
 use isvalid() function to replace isEnd() function of TokenIterator to check the end of stream

* fix_kql_issue_found_by_wingfuzz: add test case for max_query_size

* fix_kql_issue_found_by_wingfuzz: fix AST structure

* fix_kql_issue_found_by_wingfuzz: make sure the max query size test is in the dialect of kusto

* fix_kql_issue_found_by_wingfuzz : restore max query size after test

* fix_kql_issue_found_by_wingfuzz : fix typo

---------

Co-authored-by: János Benjamin Antal <benjamin.antal@clickhouse.com>
2024-02-26 13:31:47 +01:00
robot-clickhouse-ci-1
d98fbcb8d1
Merge pull request #60402 from rschu1ze/doc-settings_changes
Document `system.settings_changes`
2024-02-26 13:20:52 +01:00
Robert Schulze
207187ab97
Update docs/en/operations/system-tables/settings_changes.md
Co-authored-by: Yarik Briukhovetskyi <114298166+yariks5s@users.noreply.github.com>
2024-02-26 12:54:27 +01:00
Robert Schulze
6bfa31fbef
Document system.settings_changes 2024-02-26 11:10:23 +00:00
Raúl Marín
56f7ee740a
Merge pull request #60244 from Algunenano/i60232
Add test for 60232
2024-02-26 12:00:58 +01:00
Raúl Marín
dd6b5009a9 Merge remote-tracking branch 'blessed/master' into i60232 2024-02-26 11:55:12 +01:00
Robert Schulze
5c967c44de
Merge pull request #60248 from ClickHouse/revert-59450-order-by-all-ambiguities
Revert "Replace `ORDER BY ALL` by `ORDER BY *`"
2024-02-26 10:23:41 +01:00
Robert Schulze
34a70664e1
Empty commit 2024-02-26 09:11:05 +00:00
Antonio Andelic
ffe1872e23
Merge pull request #60203 from ClickHouse/limit_libarchive_format
Limit libarchive format to what we use
2024-02-26 09:25:19 +01:00
Antonio Andelic
c93a2224b2
Merge pull request #60398 from ClickHouse/revert-60227-fix-clone-ast-for-rename
Revert "Fix: IAST::clone() for RENAME"
2024-02-26 08:50:31 +01:00
Antonio Andelic
5b01c4feb3
Revert "Fix: IAST::clone() for RENAME" 2024-02-26 08:47:05 +01:00
HowePa
5fffe2508c update error message 2024-02-26 10:01:24 +08:00
Alexey Milovidov
07c828ece9
Merge pull request #60374 from azat/fuzzer-fatal-log-artifact
Expose fatal.log separately for fuzzer
2024-02-25 15:18:10 +03:00
Alexey Milovidov
648e6ec5a6
Merge pull request #60373 from azat/tests/detect-io_uring
Detect io_uring in tests
2024-02-25 15:16:43 +03:00
Alexey Milovidov
273b4835a4
Merge pull request #60380 from rogeryk/patch-1
Update build-osx.md
2024-02-25 15:01:51 +03:00
rogeryk
65474216e0
Update build-osx.md
The NASM is required, The corresponding installation is missing from the doc.
2024-02-25 16:50:41 +08:00
Nikita Taranov
30d31d4d9b
Merge pull request #60204 from nickitat/fix_head_bucket_after_update
Fix bucket region discovery
2024-02-24 23:46:43 +01:00
Nikita Taranov
49f42eb09d
Merge branch 'master' into fix_head_bucket_after_update 2024-02-24 23:44:10 +01:00
Azat Khuzhin
554d993d8b clickhouse-test: fix style check (unused import platform)
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2024-02-24 19:37:13 +01:00
Azat Khuzhin
35e948a20a Detect io_uring in tests
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2024-02-24 19:36:58 +01:00
Azat Khuzhin
a70a100db0 Support io_uring for StorageFile
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2024-02-24 19:36:58 +01:00
Azat Khuzhin
dd690dd05d Expose fatal.log separately for fuzzer
Otherwise you have to download the full server.log

Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2024-02-24 19:23:28 +01:00
HowePa
17f60b54cb single arg merge table func 2024-02-24 08:02:13 +08:00
Alexey Milovidov
2d00705e4e
Merge pull request #60364 from pmusa/patch-1
[docs] Fix typo on postgresql.md
2024-02-23 22:46:15 +01:00
Pablo Musa
1d335ca645
Fix typos on postgresql.md 2024-02-23 18:34:44 +01:00
Nikolai Kochetov
f0a45970fa
Merge pull request #60358 from 4JustMe4/missed-include
Add missed #include <mutex>
2024-02-23 15:31:21 +01:00
Alexander Tokmakov
ef3b19167f
Merge pull request #58036 from MikhailBurdukov/backoff_for_failed_mutations
Backoff policy for failed mutation.
2024-02-23 15:27:41 +01:00
Nikolai Kochetov
83841c23d3
Merge pull request #60230 from ClickHouse/fix-analyzer-secrets
Fix analyzer - hide arguments for secret functions
2024-02-23 15:26:49 +01:00
mikhnenko
e6aaa278a2 Add missed #include <mutex> 2024-02-23 17:23:11 +03:00
Raúl Marín
d68ed710af
Merge pull request #60346 from Algunenano/rapidjson_submodule
Fix rapidjson submodule
2024-02-23 15:22:55 +01:00
Nikita Mikhaylov
8fef0b71c4
Merge pull request #60350 from ClickHouse/revert-54901-pufit/views-sql-security
Revert "Add definers for views"
2024-02-23 15:15:36 +01:00
Igor Nikonov
90b1f8544a
Merge pull request #60227 from ClickHouse/fix-clone-ast-for-rename
Fix: IAST::clone() for RENAME
2024-02-23 14:48:14 +01:00
Antonio Andelic
eef2c6037c
Merge pull request #60266 from ClickHouse/remove-bad-check-in-keeper
Remove bad check in Keeper
2024-02-23 14:39:46 +01:00
Raúl Marín
f70d4d9372
Merge pull request #60283 from Algunenano/stress_log
Stress test: Include the first sanitizer block message in the report
2024-02-23 14:32:09 +01:00
Max K
11e4029c6b
Merge pull request #59496 from AVMusorin/skip-tests-for-docs
Avoid running all checks when `aspell-dict.txt` was changed
2024-02-23 14:13:47 +01:00
Alexander Tokmakov
32607cc796
Merge pull request #60159 from ClickHouse/fix_create_replica
Skip sanity checks on secondary CREATE query
2024-02-23 13:53:47 +01:00
Sergei Trifonov
2c766cf75f
Merge pull request #59507 from ClickHouse/alter-table-forget-partition
Add `FORGET PARTITION` query to remove old partition nodes from ZooKeeper
2024-02-23 12:55:08 +01:00
Raúl Marín
464b5e0e15
Revert "Add definers for views (#54901)"
This reverts commit 57306706b3.
2024-02-23 12:44:31 +01:00
Vitaly Baranov
db119eed49
Merge pull request #60002 from vitlibar/add-config-setting-remove-backup-files-after-failure
Add new config setting "backups.remove_backup_files_after_failure"
2024-02-23 12:42:55 +01:00
Nikolai Kochetov
dfccd521f3
Merge pull request #60221 from kitaisreal/backups-docs-id-setting
Backups documentation added id setting
2024-02-23 12:09:29 +01:00
Kseniia Sumarokova
6a7fef13ba
Merge pull request #60282 from ClickHouse/s3queue-fix-bug-and-flaky-test
s3queue: fix bug (also fixes flaky test_storage_s3_queue/test.py::test_shards_distributed)
2024-02-23 11:57:34 +01:00
kssenii
00f5eea0fa Ping CI 2024-02-23 11:54:57 +01:00
Robert Schulze
e325afa350
Merge pull request #59551 from jinjunzh/iaadeflate_upgrade_qpl_v1.4.0
Upgrade QPL to v1.4.0+Fix qpl_deflate codec bug for polling timeout
2024-02-23 11:24:06 +01:00
Raúl Marín
1a4b4d493f
Merge pull request #60228 from Algunenano/parallel_replicas_2
Treat 2+ in allow_experimental_parallel_reading_from_replicas as 2
2024-02-23 11:17:23 +01:00
Robert Schulze
38d4d1fb57
Merge remote-tracking branch 'ClickHouse/master' into iaadeflate_upgrade_qpl_v1.4.0 2024-02-23 10:01:01 +00:00
Raúl Marín
c359f29842 Merge remote-tracking branch 'blessed/master' into stress_log 2024-02-23 10:50:46 +01:00
Raúl Marín
b7b16e5ff5
Merge pull request #60270 from Algunenano/no_such_key
Ignore valid 'No such key errors' in stress tests
2024-02-23 10:47:25 +01:00
Raúl Marín
c160607f82 Fix rapidjson submodule 2024-02-23 10:41:06 +01:00
Raúl Marín
a5b0b059a4 Merge remote-tracking branch 'blessed/master' into no_such_key 2024-02-23 10:25:12 +01:00