Commit Graph

2685 Commits

Author SHA1 Message Date
Azat Khuzhin
48645eae33 Add cutToFirstSignificantSubdomainWithWWW()
Sometimes it is odd to get TLD itself from the
cutToFirstSignificantSubdomain() (since you will not get TLD itself if
you pass it directly):
- cutToFirstSignificantSubdomain('org')            -> ""
- cutToFirstSignificantSubdomain('www.org')        -> org
- cutToFirstSignificantSubdomain('kernel.org')     -> kernel.org
- cutToFirstSignificantSubdomain('www.kernel.org') -> kernel.org

So add one more function to get www.org in this case:
- cutToFirstSignificantSubdomainWithWWW('org')            -> ""
- cutToFirstSignificantSubdomainWithWWW('www.org')        -> www.org
- cutToFirstSignificantSubdomainWithWWW('kernel.org')     -> kernel.org
- cutToFirstSignificantSubdomainWithWWW('www.kernel.org') -> kernel.org

P.S. not sure about the naming though, so it will great if someone has
suggestion for the name.
2020-11-18 21:09:27 +03:00
Nikita Mikhaylov
68b6f08e36
Merge pull request #16721 from nikitamikhaylov/parsing-constraints
Turn off parallel parsing when memory limit is small.
2020-11-17 17:37:14 +03:00
tavplubix
b251478d98
Merge pull request #17072 from ClickHouse/fix_crash_16944
Fix crash in CREATE TABLE AS
2020-11-17 12:51:37 +03:00
Nikolai Kochetov
86395e11a2
Merge pull request #17006 from azat/fix-distributed-queries-finish
Fix Distributed queries finishing (avoid connection resets)
2020-11-17 11:11:27 +03:00
Alexander Tokmakov
8352e5d202 fix crash in CREATE AS 2020-11-16 13:14:12 +03:00
Nikolai Kochetov
00de84fbe3
Merge pull request #16610 from zhang2014/fix/ISSUES-16574
ISSUES-16574 try fix remote query failure when using 'if' suffix aggregate function
2020-11-16 12:41:14 +03:00
Nikolai Kochetov
684d649b70
Merge pull request #16928 from ClickHouse/fix-16580
Fix possible error Illegal type of argument for queries with ORDER BY.
2020-11-16 12:39:20 +03:00
tavplubix
88de1b052c
Merge pull request #16048 from ClickHouse/materialized-view-check-stack-size
Fix possible stack overflow in materialized views.
2020-11-16 12:02:27 +03:00
alexey-milovidov
0afa1b8fc4
Merge pull request #17044 from CurtizJ/remove-empty-parts-settings
Add setting remove_empty_parts
2020-11-15 23:06:44 +03:00
Nikolai Kochetov
0a1ba8095e
Merge pull request #16992 from ClickHouse/try-fix-ci-5
Trying to fix the unimportant "Arcadia" checks in the CI.
2020-11-15 20:18:13 +03:00
Anton Popov
de5ead0c40 add setting remove_empty_parts 2020-11-15 05:24:47 +03:00
Alexey Milovidov
df081e57cf Fix test 2020-11-14 23:22:15 +03:00
Alexey Milovidov
1991f1d827 Merge branch 'master' into amosbird-fixcrash 2020-11-14 23:19:57 +03:00
Azat Khuzhin
ed64f2ad67 Add a test for Distributed query finish does not produce any NETWORK_ERROR 2020-11-14 18:35:15 +03:00
alexey-milovidov
8ef4bfc0b5
Merge pull request #16968 from amosbird/blocktypemismatch
Fix missing conversion of unmutated parts
2020-11-14 17:16:51 +03:00
alexey-milovidov
66831d44d4
Merge pull request #16983 from ClickHouse/fix_my_flaky_tests
Trying to fix some flaky tests
2020-11-14 17:12:58 +03:00
Nikolai Kochetov
ea8f6fde99 Add test to skiplist. 2020-11-13 22:30:38 +03:00
Nikolai Kochetov
ed98b48845
Merge pull request #16618 from ClickHouse/actions-dag-f14
Actions dag 2
2020-11-13 18:34:51 +03:00
Nikolai Kochetov
257bbcafea Added test from #16588
(cherry picked from commit b5a8ef3ceb)
2020-11-13 17:46:23 +03:00
alesapin
14485238b1
Update 01040_dictionary_invalidate_query_switchover_long.sh 2020-11-13 16:28:04 +03:00
nikitamikhaylov
070d1bcdd0 Merge branch 'master' of github.com:ClickHouse/ClickHouse into parsing-constraints 2020-11-13 16:27:17 +03:00
alesapin
5ef2eaeeef Trying to fix some flaky tests 2020-11-13 16:25:18 +03:00
Nikolai Kochetov
b5a8ef3ceb Added test from #16588 2020-11-13 15:51:50 +03:00
alesapin
2760593940 Better test 2020-11-13 13:50:15 +03:00
Nikolai Kochetov
00e8c8a2f6 Skip test. 2020-11-13 12:28:21 +03:00
alesapin
e590a341e5 Add test 2020-11-13 11:45:51 +03:00
alesapin
8d3858fc22
Merge pull request #16895 from CurtizJ/remove-empty-parts
Remove empty parts after they were pruned by TTL [2]
2020-11-13 10:00:18 +03:00
Nikita Mikhaylov
33bada767c
Merge branch 'master' into parsing-constraints 2020-11-12 23:25:39 +03:00
alesapin
bbd85c3b2d
Merge pull request #16390 from ClickHouse/add_separate_pool_for_fetches
Add separate pool for fetches
2020-11-12 22:42:28 +03:00
alexey-milovidov
2151365764
Merge pull request #16865 from filimonov/timeSeriesGroupSum-segfault
Fix for issue #16862
2020-11-12 19:39:14 +03:00
Nikolai Kochetov
e031e805c4 Fix test. 2020-11-12 19:04:35 +03:00
tavplubix
e0dc004b95
Merge pull request #16885 from amosbird/dd
Disable ATTACH/DETACH TABLE <DICTIONARY>
2020-11-12 16:34:21 +03:00
Nikolai Kochetov
1fec1de199 Sdded test 2020-11-12 15:39:35 +03:00
Anton Popov
0aa35d53c7 Merge remote-tracking branch 'upstream/master' into HEAD 2020-11-12 14:31:58 +03:00
alexey-milovidov
6e62108606
Merge pull request #16774 from ucasFL/agg-func-setting-null-for-empty
fix Aggregation Function not found error after #16123
2020-11-12 13:50:15 +03:00
Alexey Milovidov
1af28be77e Merge branch 'master' into amosbird-fixcrash 2020-11-12 13:47:50 +03:00
alexey-milovidov
91f98d2068
Merge pull request #16834 from Avogar/enum-as-num
Try to treat input values as enum id in tsv/scv
2020-11-12 13:46:41 +03:00
alexey-milovidov
ff29b2d2ee
Merge pull request #15073 from sundy-li/storage-rocksdb
StorageEmbeddedRocksDB
2020-11-12 13:17:58 +03:00
alexey-milovidov
8dd81410de
Merge pull request #16843 from azat/clickhouse-client-stage
Add --stage option for clickhouse-client
2020-11-12 13:09:40 +03:00
alesapin
a8d466a645 Merge branch 'master' into add_separate_pool_for_fetches 2020-11-12 12:51:02 +03:00
Nikolai Kochetov
46f70dd0de Merge branch 'master' into actions-dag-f14 2020-11-12 11:54:44 +03:00
sundyli
5ef809931e
Merge branch 'master' into storage-rocksdb 2020-11-12 08:26:27 +08:00
alexey-milovidov
ed88379646
Update 01560_crash_in_agg_empty_arglist.reference 2020-11-12 03:22:43 +03:00
alexey-milovidov
34b2a460ba
Merge pull request #16578 from fibersel/issue-8828
add compression method for files: Xz
2020-11-12 02:58:52 +03:00
Anton Popov
2497598a49 Remove empty parts after they were pruned by TTL 2020-11-11 19:19:43 +03:00
Ivan
bdbd41bd3d
Pytest test fixes (#16836) 2020-11-11 18:29:36 +03:00
Amos Bird
134786afd5
Disable ATTACH/DETACH TABLE <DICTIONARY> 2020-11-11 23:04:49 +08:00
filimonov
7995405109
Update 01560_timeseriesgroupsum_segfault.sql 2020-11-11 14:27:21 +01:00
Nikolai Kochetov
072f481234 Try fix tests. 2020-11-11 15:01:16 +03:00
Mikhail Filimonov
e400d97b12
Test for issue #16862 2020-11-11 11:17:21 +01:00