Commit Graph

94082 Commits

Author SHA1 Message Date
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
Dan Roscigno
39d6327fe1
Update docs/en/sql-reference/aggregate-functions/reference/any.md 2022-07-26 11:10:16 -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
e302bb8f38
Update 02319_sql_standard_create_drop_index.reference 2022-07-26 14:59:32 +03:00
Alexander Tokmakov
98cb7d2dfe
Update 02319_sql_standard_create_drop_index.sql 2022-07-26 14:59:07 +03: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
Antonio Andelic
c5bbf44492 Update NuRaft 2022-07-26 10:58:10 +00: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
Sergei Trifonov
24ab5fbb86 fix finish() condition to account only active threads 2022-07-26 11:32:45 +02: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
Raúl Marín
9908bff667 Fix missing tests 2022-07-26 10:40:16 +02:00
Raúl Marín
06341e1f17 Check result_rows and result_bytes in X-ClickHouse-Summary header 2022-07-26 10:40:16 +02:00
Raúl Marín
6e3a4b0a3d Add result_rows and result_bytes to progress reports and summary 2022-07-26 10:40:16 +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
Antonio Andelic
35b61cc94e Merge branch 'master' into keeper-version-check 2022-07-26 07:47:57 +00: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
Alexey Milovidov
62a069b9d8
Merge pull request #39571 from den-crane/patch-29
Doc. fix markup settings.md
2022-07-26 06:59:31 +03:00
Alexey Milovidov
c06e7b6615
Merge pull request #39576 from ClickHouse/auto/v22.3.9.19-lts
Update version_date.tsv after v22.3.9.19-lts
2022-07-26 06:58:50 +03:00
Alexey Milovidov
edef784253
Merge pull request #39579 from ClickHouse/auto/v22.6.4.35-stable
Update version_date.tsv and changelogs after v22.6.4.35-stable
2022-07-26 06:58:36 +03:00
jianmei zhang
c1834d183b ReplicatedMergeTree support lightweight delete 2022-07-26 11:50:09 +08:00