Commit Graph

93868 Commits

Author SHA1 Message Date
Alexander Tokmakov
8fc075a527
Merge pull request #39619 from ClickHouse/try-do-enable-global-allocations-for-attach
Replace MemoryTrackerBlockerInThread to LockMemoryExceptionInThread
2022-07-27 13:13:04 +03:00
alesapin
e6d22793c9
Merge pull request #39428 from ClickHouse/block-builds-by-style
Require clear style check to continue building
2022-07-27 11:55:46 +02:00
Alexander Gololobov
9525bd19bf
Merge pull request #39592 from ClickHouse/fix-wrong-regexp-replace
Fix wrong regexp replace
2022-07-27 09:54:28 +02:00
Vitaly Baranov
16a60b5e93
Merge pull request #39455 from vitlibar/fix-locks-add-tests
Improve synchronization between hosts in distributed backup and fix locks
2022-07-27 09:02:58 +02:00
Antonio Andelic
904a05ac21
Merge pull request #39496 from azat/custom-tld-exclamation-asterisk
Add support of !/* (exclamation/asterisk) in custom TLDs
2022-07-27 08:55:49 +02:00
Nikolay Degterinsky
7666c4e39c
Merge pull request #39625 from tylerhannan/poweredge_r740
add Dell PowerEdge R740XD results
2022-07-27 02:41:46 +02:00
Alexander Gololobov
a64aa00869
Merge pull request #37893 from zhangjmruc/feature/sql-standard-delete
Support SQL standard "delete from ... where ..." syntax and lightweight implementation on merge tree tables
2022-07-26 23:39:07 +02:00
Nikolai Kochetov
f1818a9103 Make only one possible public ctor in MemoryTrackerBlockerInThread 2022-07-26 19:04:20 +00:00
Nikolai Kochetov
dcb86eca0b Make only one possible public ctor in MemoryTrackerBlockerInThread 2022-07-26 19:03:26 +00:00
Tyler Hannan
fe0db1e859 add Dell PowerEdge R740XD results 2022-07-26 20:57:49 +02:00
Alexander Tokmakov
288b73035f
Merge pull request #39623 from ClickHouse/tavplubix-patch-2
Disable 02327_capnproto_protobuf_empty_messages with Ordinary
2022-07-26 20:52:30 +03:00
Alexander Tokmakov
9f053935b6
Update 02327_capnproto_protobuf_empty_messages.sh 2022-07-26 20:49:41 +03:00
Robert Schulze
7d653b3bd8
Merge pull request #39495 from ClickHouse/mark-qpl-deflate-experimental
Mark new codec DEFLATE_QPL as experimental + cosmetics
2022-07-26 19:00:21 +02:00
Nikolai Kochetov
33ce662d3e Replace MemoryTrackerBlockerInThread to LockMemoryExceptionInThread in some places. Reduced MemoryTrackerBlockerInThread level to User. 2022-07-26 15:22:00 +00:00
Kruglov Pavel
c683cb252f
Merge pull request #39227 from amosbird/rename-log1
Rename log when rename merge tree tables
2022-07-26 17:12:44 +02:00
Dan Roscigno
54abeb624a
Merge pull request #39417 from nikoloko/patch-3
Corrected structure of the users section
2022-07-26 11:12:36 -04:00
Dan Roscigno
b9c8feb2b2
Merge pull request #39356 from nickitat/small_addition_to_docs
Small addition to mysql dictionary docs
2022-07-26 11:11:28 -04:00
Mikhail f. Shiryaev
061e61919a
Merge pull request #39450 from ClickHouse/tsal-clang-13
Build thread sanitizer binaries with clang-13
2022-07-26 15:13:17 +02:00
Nikolai Kochetov
908c1d8cba
Merge pull request #39601 from ClickHouse/fix-chain-add-sink
Fix Chain::addSink
2022-07-26 14:54:44 +02:00
Alexey Milovidov
b9cda3d192 Update pull_request.yml 2022-07-26 14:22:11 +02:00
Mikhail f. Shiryaev
d9baa0b1f7 Finish following runs with the same exit code as the first 2022-07-26 14:22:11 +02:00
Mikhail f. Shiryaev
db0653758e Add typing to rerun and commit_status helpers 2022-07-26 14:22:11 +02:00
Mikhail f. Shiryaev
142f7d4b44 Require clear style check to continue building 2022-07-26 14:22:11 +02:00
Vitaly Baranov
413024b4f4 Add call ZooKeeper::sync(). 2022-07-26 14:14:01 +02:00
Alexander Tokmakov
bb80ed1dbe
Merge pull request #39564 from ClickHouse/disable_tests_with_materialized_postgres
Temporarily disable all tests with MaterializedPostgreSQL
2022-07-26 14:56:48 +03:00
Kseniia Sumarokova
7d448fc177
Merge pull request #39244 from kssenii/http-buffer-small-fixes
Some small fixes for http read buffer, allow to retry partial content in case of 200ok
2022-07-26 14:47:11 +03:00
alesapin
8e98b7d47d
Merge pull request #39321 from ClickHouse/fix-flaky-keeper-recovery-test
Possible fix for flaky `test_keeper_force_recovery`
2022-07-26 13:37:41 +02:00
Alexander Gololobov
1b1fa54db1
Added 'long' tag 2022-07-26 12:42:37 +02:00
Kruglov Pavel
c362551642
Merge pull request #39357 from Avogar/fix-protobuf-capnp-empty-message
Fix schema inference in case of empty messages in Protobuf/CapnProto formats
2022-07-26 12:33:28 +02:00
Vitaly Baranov
f0cd564648 Changes after review and added comments. 2022-07-26 11:58:05 +02:00
Nikolai Kochetov
683a8866ef Fix Chain::addSink 2022-07-26 09:36:39 +00:00
Vladimir C
d9e8e9b948
Merge pull request #39552 from filimonov/maxsplit-bug
Fix bug with maxsplit in the splitByChar
2022-07-26 11:14:27 +02:00
Vladimir C
3bd5ca9b6a
Merge pull request #39271 from vdimir/join-alg-setting
Cleanup logic around join_algorithm setting, add docs
2022-07-26 11:00:22 +02:00
Vladimir C
0d65415086
Update docs/en/operations/settings/settings.md
Co-authored-by: Antonio Andelic <antonio2368@users.noreply.github.com>
2022-07-26 11:00:12 +02:00
Vladimir C
d0183de34a
Update docs/en/operations/settings/settings.md
Co-authored-by: Antonio Andelic <antonio2368@users.noreply.github.com>
2022-07-26 11:00:08 +02:00
Vladimir C
888417e788
Merge pull request #39556 from vdimir/asof_optimize_predicate_bug_37813
Fix bug in ASOF JOIN with enable_optimize_predicate_expression
2022-07-26 10:51:25 +02:00
Alexander Gololobov
0666ec2e1f
Merge branch 'master' into feature/sql-standard-delete 2022-07-26 10:42:39 +02:00
jianmei zhang
162be5acbe set mutations_sync to 2 to wait for mutations to complete on all replicas 2022-07-26 16:10:00 +08:00
Vitaly Baranov
c0ec6fd913 Use Poco::Event to simplify code. 2022-07-26 09:53:32 +02:00
Vitaly Baranov
76599d1231 Finally fix locking storages for reading during backup. 2022-07-26 08:58:33 +02:00
Vitaly Baranov
4c98a7bc0f Add test for Ordinary database. 2022-07-26 08:46:51 +02:00
Alexey Milovidov
833b24b486 Fix the wrong REGEXP_REPLACE alias 2022-07-26 08:01:49 +02:00
Alexey Milovidov
bbb5e1306d Fix wrong REGEXP_REPLACE alias 2022-07-26 08:01:31 +02:00
Alexey Milovidov
a2522d6196 Revert "Fix wrong REGEXP_REPLACE alias"
This reverts commit bb292b6aeb.
2022-07-26 08:00:49 +02:00
Alexey Milovidov
bb292b6aeb Fix wrong REGEXP_REPLACE alias 2022-07-26 07:59:58 +02:00
Azat Khuzhin
1d4a7c7290 Add support of !/* (exclamation/asterisk) in custom TLDs
Public suffix list may contain special characters (you may find format
here - [1]):
- asterisk (*)
- exclamation mark (!)

  [1]: https://github.com/publicsuffix/list/wiki/Format

It is easier to describe how it should be interpreted with an examples.

Consider the following part of the list:

    *.sch.uk
    *.kawasaki.jp
    !city.kawasaki.jp

And here are the results for `cutToFirstSignificantSubdomainCustom()`:

If you have only asterisk (*):

    foo.something.sheffield.sch.uk -> something.sheffield.sch.uk
    sheffield.sch.uk               -> sheffield.sch.uk

If you have exclamation mark (!) too:

    foo.kawasaki.jp                -> foo.kawasaki.jp
    foo.foo.kawasaki.jp            -> foo.foo.kawasaki.jp
    city.kawasaki.jp               -> city.kawasaki.jp
    some.city.kawasaki.jp          -> city.kawasaki.jp

TLDs had been verified wit the following script [2], to match with
python publicsuffix2 module.

  [2]: https://gist.github.com/azat/c1a7a9f1e3519793134ef4b1df5461a6

v2: fix StringHashTable padding requirements
Fixes: #39468
Follow-up for: #17748
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-07-26 08:34:30 +03:00
Azat Khuzhin
196b517e79 tests: add echo for 01601_custom_tld
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-07-26 08:34:30 +03:00
Alexey Milovidov
69e8e56072
Merge pull request #39578 from ClickHouse/fix-self-executable-leak
free compression and decompression contexts
2022-07-26 07:47:32 +03:00
Alexey Milovidov
71060a7e8c
Merge pull request #39501 from ClickHouse/DanRoscigno-patch-3
update Grafana plugin in docs
2022-07-26 07:04:22 +03:00
Alexey Milovidov
dadc0f3db1
Merge branch 'master' into disable_tests_with_materialized_postgres 2022-07-26 07:01:22 +03:00