Commit Graph

93888 Commits

Author SHA1 Message Date
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
Alexey Milovidov
c78fe0fc10
Merge pull request #39498 from Avogar/fix-avro
Fix data race and possible heap-buffer-overflow in Avro format
2022-07-26 03:20:01 +03:00
Vladimir Chebotaryov
f32d9c5539
Uppercase ROWS, GROUPS, RANGE in queries with windows. (#39410) 2022-07-25 22:53:53 +02:00
Dan Roscigno
b6cb0e33f5
Merge pull request #39502 from ClickHouse/DanRoscigno-patch-4
Remove experimental status from projections
2022-07-25 16:41:37 -04:00
Kseniia Sumarokova
9abbb35cda
Fix integration test 2022-07-25 23:40:23 +03:00
Alexander Gololobov
25deba2c1b
Merge branch 'master' into feature/sql-standard-delete 2022-07-25 22:13:20 +02:00
robot-clickhouse
f04ad30f0d Update version_date.tsv and changelogs after v22.6.4.35-stable 2022-07-25 19:25:27 +00:00
Yakov Olkhovskiy
250f19378d free compression and decompression contexts 2022-07-25 15:22:48 -04:00
robot-clickhouse
ddff6c86df Update version_date.tsv after v22.3.9.19-lts 2022-07-25 19:13:10 +00:00
Alexey Milovidov
75d0232265
Merge pull request #39541 from ClickHouse/obfuscator-save-load
Add save/load capabilities to Obfuscator
2022-07-25 21:18:28 +03:00
Alexander Tokmakov
9254ae1f43
Merge pull request #39557 from ClickHouse/follow_up_37827
Follow up to #37827
2022-07-25 21:11:51 +03:00
Alexey Milovidov
471506ff7a
Merge pull request #39568 from ClickHouse/DanRoscigno-patch-5
Update CHANGELOG.md
2022-07-25 21:10:18 +03:00
Alexey Milovidov
c05190237a
Merge pull request #39551 from ClickHouse/freebsd_start_fix
Fix for empty function name on FreeBSD build
2022-07-25 20:52:03 +03:00
Denny Crane
813438a29d
Update settings.md 2022-07-25 14:48:53 -03:00
Dan Roscigno
72efcc65c1
Update docs/en/engines/table-engines/mergetree-family/mergetree.md 2022-07-25 12:58:57 -04:00
Dan Roscigno
5fae9f02fe
Update CHANGELOG.md
- fix the link to 22.7 log in table of contents
- To allow reuse of the changelog in the docs I need to change the `<br>` to <br/>.  With this change we can update the doc build process to
```cp $PARENT_DIR/CHANGELOG.md $PARENT_DIR/clickhouse-docs/docs/en/whats-new/changelog/index.md
```
2022-07-25 12:29:18 -04:00
Nikolay Degterinsky
ac7d83055e
Merge pull request #39311 from whysage/doc-fix-aggregatefunction
Doc. Fix link in doc AggregateFunction
2022-07-25 18:22:35 +02:00
whysage
a7f0886157 Fix second link in doc AggregateFunction 2022-07-25 18:54:02 +03:00
Alexander Tokmakov
778dcf6994
Merge pull request #39230 from Algunenano/improve_replicated_merge_logging
Improve logging around replicated merges
2022-07-25 18:42:12 +03:00
Alexander Tokmakov
9ffaf2fef2 temporarily disable all tests with materialized postgres 2022-07-25 17:32:51 +02:00
Kruglov Pavel
5aae0a2e04
Fix style 2022-07-25 17:20:01 +02:00
Alexander Gololobov
48de02a7b8 Capitalized const name 2022-07-25 16:32:16 +02:00
Robert Schulze
305291fd64
Merge pull request #39362 from ClickHouse/doc-updates
Small doc updates
2022-07-25 16:31:59 +02:00
Alexander Gololobov
7b44950d1d More detailed comment 2022-07-25 16:14:33 +02:00
Alexander Tokmakov
917fbb9b07 remove c-ares from grpc 2022-07-25 15:49:03 +02:00
vdimir
b6f640013d
Fix bug in ASOF JOIN with enable_optimize_predicate_expression 2022-07-25 12:58:34 +00:00
Yakov Olkhovskiy
d0f5dcad25
Merge pull request #38936 from ClickHouse/cmake-self-extracting-executable
Build self-extracting-executable utils
2022-07-25 08:13:25 -04:00
Kruglov Pavel
0655ff3265
Merge branch 'master' into fix-avro 2022-07-25 13:41:21 +02:00
Alexander Gololobov
dbcb7e5f1e Fix for empty function name on FreeBSD build 2022-07-25 13:11:36 +02:00
Mikhail Filimonov
33ee858d18
Fix bug with maxsplit in the splitByChar 2022-07-25 13:11:02 +02:00
Kruglov Pavel
83c7da6e88
Merge branch 'master' into fix-protobuf-capnp-empty-message 2022-07-25 13:02:41 +02:00
Kruglov Pavel
dd8667d3f9
Update settings description 2022-07-25 13:02:25 +02:00
Robert Schulze
24c74da473
Merge pull request #39430 from azat/getauxval-fix
Fix LSan by fixing getauxval() (resubmit v4)
2022-07-25 10:43:09 +02:00
Alexey Milovidov
1f4e7ea34c Add a test 2022-07-25 05:37:07 +02:00
Alexey Milovidov
4cbf4741fb Add a test 2022-07-25 04:16:07 +02:00
Alexey Milovidov
dde89c9606 Fix errors 2022-07-25 03:56:32 +02:00
Alexey Milovidov
68f5a397d7 Fix errors 2022-07-25 03:49:09 +02:00
Alexey Milovidov
52ad48d1ba Better documentation 2022-07-25 03:32:01 +02:00
Alexey Milovidov
c09413e3b9 Add save/load capabilities to Obfuscator 2022-07-25 03:27:10 +02:00
Alexey Milovidov
6fdcb009ff
Merge pull request #39533 from ClickHouse/now-in-block
Add function `nowInBlock`
2022-07-25 04:22:11 +03:00
Yakov Olkhovskiy
a85818f654 some refactoring 2022-07-24 21:13:00 -04:00