Commit Graph

132687 Commits

Author SHA1 Message Date
Yakov Olkhovskiy
8db5b81359
use backQuote()
Co-authored-by: Alexander Tokmakov <tavplubix@clickhouse.com>
2024-01-11 07:10:43 -05:00
Nikita Mikhaylov
baf4e5e894
Added comments for system tables (#48350) 2024-01-11 12:50:00 +01:00
Antonio Andelic
d1040725b2
Adress comments 2024-01-11 12:37:24 +01:00
Igor Nikonov
8ba9b4a7ef
Merge pull request #57235 from ClickHouse/pr-custom-key-failover
Parallel replicas custom key: skip unavailable replicas
2024-01-11 12:22:32 +01:00
Sema Checherinda
0f39245cb8
Merge pull request #58658 from ClickHouse/chesema-fix-stress-randomization
fix a typo in stress randomization setting
2024-01-11 11:44:31 +01:00
Mikhail f. Shiryaev
7ab571f0f0
Add ClickHouseVersion.is_lts 2024-01-11 11:42:59 +01:00
Mikhail f. Shiryaev
0572bf53ea
Add a new function to version_helper to get supported version from tags 2024-01-11 11:42:49 +01:00
Salvatore Mesoraca
b32149379f
Add tests for new normalizeQuery behavior 2024-01-11 11:18:59 +01:00
Salvatore Mesoraca
d134c1521d
Handle signed numeric literals in normalizeQuery
This solution is non-ideal, but it's difficult to achieve
better results using only the Lexer.

Close #57919
2024-01-11 11:04:28 +01:00
Robert Schulze
495c712713
Merge pull request #58681 from rschu1ze/remove-regex-hdr
Remove `<regex>` from libcxx
2024-01-11 10:33:04 +01:00
robot-clickhouse-ci-1
5c47a4fa91
Merge pull request #58666 from ClickHouse/docs/data-faster-than-datetime
Explains that date is generally faster than datetime.
2024-01-11 10:17:54 +01:00
robot-ch-test-poll4
aba256d9cf
Merge pull request #58669 from ClickHouse/docs/show-non-default-settings
Tells reader how to show which settings have been changed from default.
2024-01-11 09:59:07 +01:00
Kseniia Sumarokova
e74f8e9095
Update docs/en/sql-reference/data-types/datetime.md 2024-01-11 09:50:48 +01:00
Duc Canh Le
458c8d758d simplify perf tests and minor code change
Signed-off-by: Duc Canh Le <duccanh.le@ahrefs.com>
2024-01-11 08:25:35 +00:00
Antonio Andelic
2bfed6b8eb Add system commands and 4lw for jemalloc 2024-01-11 08:24:56 +00:00
Duc Canh Le
b42c5efc73 use_skipping_final -> enable_vertical_final
Signed-off-by: Duc Canh Le <duccanh.le@ahrefs.com>
2024-01-11 03:38:32 +00:00
Yakov Olkhovskiy
99c421b5be add identifier name to the error INVALID_IDENTIFIER, add test 2024-01-11 03:23:18 +00:00
Duc Canh Le
6331d8a6f2 Merge branch 'master' into final_no_copy
Resolve conflicts

Signed-off-by: Duc Canh Le <duccanh.le@ahrefs.com>
2024-01-11 02:55:14 +00:00
robot-ch-test-poll
498894a15c
Merge pull request #58700 from ClickHouse/docs/arrayjoin-short-circuit-function-eval-no-no
Adds info about not using `arrayJoin` with `short_circuit_function_evaluation`.
2024-01-11 02:22:11 +01:00
johnnymatthews
2bfe7a2cab Adds docs for ASSUME CONSTRAINT. 2024-01-10 21:13:21 -04:00
johnnymatthews
826a39b732 Adds arrayJoin exception. Prettifies file. Fixes spelling. 2024-01-10 20:43:19 -04:00
Konstantin Bogdanov
7f4ccebea4
Merge pull request #58550 from danipozo/hide-credentials-in-base-backup-name
Hide credentials in system.backup_log base_backup_name column
2024-01-11 03:42:17 +03:00
Alexey Milovidov
5f84d8894a Fix bad log message 2024-01-11 00:25:48 +01:00
Robert Schulze
6198ba0b9c
Merge pull request #58678 from rschu1ze/follow-up58458
Small follow-up to `std::regex` --> `re2` conversion (#58458)
2024-01-11 00:12:28 +01:00
Chen768959
ac224851af
Fix the exprs order bug in group by with rollup (#57786)
* Fix the exprs order bug in group by with rollup

* update test case

* make the code simpler

* Recalculate insert_position
2024-01-10 22:04:23 +01:00
Alexey Milovidov
f4b1275795
Merge pull request #58624 from ClickHouse/fix-58437
Fix possible race in ManyAggregatedData dtor.
2024-01-10 22:02:16 +01:00
Alexey Milovidov
6c6337ab15
Merge pull request #58656 from azat/perf/fix-duration
Fix perf tests duration (checks.test_duration_ms)
2024-01-10 22:00:14 +01:00
robot-clickhouse-ci-1
26bc1b5b5c
Merge pull request #58682 from rschu1ze/docs-log-type
Docs: Update type of two column in `system.query_log/text_log`
2024-01-10 21:58:18 +01:00
Alexey Milovidov
b5543b07c8
Merge pull request #58617 from omgronny/master
Add intel AMX checking
2024-01-10 21:55:03 +01:00
Igor Nikonov
8d4a395afa Merge remote-tracking branch 'origin/master' into pr-custom-key-failover 2024-01-10 20:28:04 +00:00
Robert Schulze
1b739a8f03
Docs: Update type of two column in system.query_log/text_log 2024-01-10 20:14:39 +00:00
Sema Checherinda
4880936c68 fix generate-full-key option 2024-01-10 20:50:20 +01:00
robot-ch-test-poll4
820e474585
Merge pull request #58679 from ClickHouse/docs/fix-join-discrepancies
Adds ALL qualifier to JOIN doc.
2024-01-10 20:28:43 +01:00
Robert Schulze
996527e312
Update NuRaft 2024-01-10 19:22:24 +00:00
Robert Schulze
d2187f6512
Don't delete header 2024-01-10 19:10:10 +00:00
Robert Schulze
04f2872abb
Remove <regex> from libcxx 2024-01-10 17:39:07 +00:00
johnnymatthews
b276694ac2 Adds ALL qualifier to JOIN. 2024-01-10 13:17:04 -04:00
Robert Schulze
38f1a5eb27
Follow-up to #58458
In MySQLHandler.cpp,
    return 1 == std::regex_match(query, expr);
was converted to
    return re2::RE2::PartialMatch(query, expr);

Should have been FullMatch(query, expr)
2024-01-10 17:03:53 +00:00
Yakov Olkhovskiy
4fc11e189c
Merge branch 'master' into revert-58450-revert-56064-feature-server-iface-metrics 2024-01-10 12:03:47 -05:00
Yakov Olkhovskiy
45d5e29ba0 master merge adjustments 2024-01-10 16:55:09 +00:00
Robert Schulze
52d75ab68f
Merge pull request #58458 from rschu1ze/replace-std_regexp-by-re2
Replace `std::regex` by re2
2024-01-10 17:46:54 +01:00
johnnymatthews
ebd7f19670 Example to show settings changed from default. 2024-01-10 12:38:38 -04:00
Igor Nikonov
e9fc869254 Fix test flakiness with hedge connections enabled 2024-01-10 15:59:48 +00:00
johnnymatthews
4723a9c082 Explains that date is generally faster than datetime. 2024-01-10 11:50:02 -04:00
Vitaly Baranov
dbb19e72b3
Merge pull request #58629 from vitlibar/remove-finalize-from-destructor-of-write-buffer-from-encrypted-file
Remove finalize() from ~WriteBufferFromEncryptedFile
2024-01-10 16:36:11 +01:00
Sema Checherinda
e7d33756fa fix a typo 2024-01-10 15:48:02 +01:00
Robert Schulze
582a9cc2a7
Merge pull request #58655 from rschu1ze/docs-match
Document that `match()` can use `ngrambf_v1` and `tokenbf_v1` indexes
2024-01-10 15:43:52 +01:00
Dmitry Novik
ddbdd89904 Analyzer: Correctly handle constant set in index 2024-01-10 14:34:56 +00:00
Maksim Kita
ddd480fde8 Fixed tests 2024-01-10 17:32:28 +03:00
Maksim Kita
cbe3836d38 PartsSplitter small refactoring 2024-01-10 17:32:28 +03:00