Commit Graph

51483 Commits

Author SHA1 Message Date
Ivan
f1650291d8
Fix gcc-10 build 2020-11-18 23:05:53 +03:00
Ivan Lezhankin
17977e4c4b Use global context for gtests 2020-11-18 21:24:58 +03:00
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
Alexander Kuzmenkov
73c34acafc boop the CI 2020-11-18 20:20:22 +03:00
Ivan Lezhankin
f43f61a10b Another gtest fix 2020-11-18 19:19:39 +03:00
Ivan Lezhankin
ca0740d333 Fix gtest for dictionaries 2020-11-18 17:58:55 +03:00
Ivan Lezhankin
f7041c1b55 Fix style and ya.make 2020-11-18 16:24:16 +03:00
Ivan Lezhankin
fdd1c182ab Merge remote-tracking branch 'upstream/master' into tcp-port 2020-11-18 16:22:00 +03:00
sundy-li
ddd62edf53 add submodule commits 2020-11-18 20:12:18 +08:00
alesapin
7080f424e2 Fix bug for skip indices and make code more complex 2020-11-18 15:04:13 +03:00
sundy-li
c2ff8a421c bump up rocksdb version to v6.14.5 2020-11-18 19:57:28 +08:00
Ivan
12217fb7ad
Fix build 2020-11-18 13:44:16 +03:00
Alexander Kuzmenkov
f2b3f5f8b6 Allow formatting named tuples as JSON objects 2020-11-18 13:38:30 +03:00
Nikolai Kochetov
266596783a Remove Converting transform and step. 2020-11-18 12:45:46 +03:00
Alexander Kuzmenkov
8ae67e119f Merge remote-tracking branch 'origin/master' into HEAD 2020-11-18 12:38:50 +03:00
Nikolai Kochetov
947a29e378 Remove Converting transform and step. 2020-11-18 12:38:03 +03:00
Nikolai Kochetov
354620b5a1 Remove Converting transform and step. 2020-11-18 12:35:32 +03:00
Nikolai Kochetov
a24dab766f Remove Converting transform and step. 2020-11-18 12:08:51 +03:00
filimonov
258170b325
Update ReplicatedMergeTreeMergeStrategyPicker.cpp 2020-11-18 08:45:44 +01:00
Mikhail Filimonov
234c671e52
After CR fixes 2020-11-18 08:45:44 +01:00
Mikhail Filimonov
97fef77ed1
execute_merges_on_single_replica 2020-11-18 08:45:33 +01:00
alesapin
0bc60e2d53
Merge pull request #17089 from ClickHouse/fix_ddl_worker_non_leader
Fix ON CLUSTER queries hung for non leader replicas
2020-11-18 10:21:35 +03:00
Alexey Milovidov
26d7795221 Merge branch 'master' into amosbird-ccc 2020-11-18 07:42:45 +03:00
Alexey Milovidov
acd2b62c9d Revert "Update ColumnConst.cpp"
This reverts commit 7036d2f963.
2020-11-18 07:42:14 +03:00
alexey-milovidov
0d17e79a8f
Merge pull request #17161 from vzakaznikov/fix_for_login_after_ldap_external_user_directory_is_removed
Fixing unstable test in tests/testflows/ldap/external_user_directory/tests/authentications.py
2020-11-18 07:31:58 +03:00
Vitaliy Zakaznikov
dbb5f6722e Moving to using TestFlows version 1.6.65
Fixing unstable test in tests/testflows/ldap/external_user_directory/tests/authentications.py
2020-11-17 20:22:43 -05:00
Nikolai Kochetov
8dd76a3ab5 Remove Converting transform and step. 2020-11-18 00:31:30 +03:00
Alexander Kuzmenkov
51f9d54d10 test 2020-11-17 22:51:45 +03:00
Alexander Kuzmenkov
8cde88440b Write rows as JSON array in JSONEachRow output format 2020-11-17 22:50:47 +03:00
Nikolai Kochetov
76346c0563 Remove Converting transform and step. 2020-11-17 22:43:26 +03:00
Kruglov Pavel
ffb83155d7
Merge pull request #16680 from hrissan/hrissan/prevent_tdigest_uncontrolled_growth
Hrissan/prevent tdigest uncontrolled growth
2020-11-17 22:10:35 +03:00
Nikolai Kochetov
d9a83a6086 Remove Converting transform and step. 2020-11-17 21:36:13 +03:00
Nikolai Kochetov
13eceff55c Remove Converting transform and step. 2020-11-17 20:16:55 +03:00
Konstantin Malanchev
07f65b852c Fix tests 2020-11-17 17:48:16 +01:00
Nikita Mikhaylov
f207d5dc21
Merge pull request #16769 from nikitamikhaylov/better_exception_ddl
Better exception DDL
2020-11-17 19:26:34 +03:00
Nikolai Kochetov
26ec254c69 Fix style. 2020-11-17 19:24:25 +03:00
Nikolai Kochetov
fd3ee6d8af Add converting logic to ActionsDAG. 2020-11-17 18:57:11 +03:00
Ivan
ed2452fbff
Fix build 2020-11-17 18:32:40 +03:00
zhang2014
cc0134f361 Try fix asan build 2020-11-17 23:29:02 +08:00
Nikolai Kochetov
a7e1fb11c6 Add converting logic to ActionsDAG. 2020-11-17 18:26:06 +03:00
Nikolai Kochetov
97d07ae3a9 Add converting logic to ActionsDAG. 2020-11-17 17:54:37 +03:00
Nikolai Kochetov
54f0338e22 Add converting logic to ActionsDAG. 2020-11-17 17:51:05 +03:00
nikitamikhaylov
6f4e5bcaac style 2020-11-17 17:39:34 +03:00
nikitamikhaylov
ee8b3339a1 done 2020-11-17 17:39:34 +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
alexey-milovidov
7036d2f963
Update ColumnConst.cpp 2020-11-17 17:35:53 +03:00
alexey-milovidov
9de0217c93
Update ColumnConst.h 2020-11-17 17:34:26 +03:00
Amos Bird
f24cf46db5
Fix ColumnConst comparison. 2020-11-17 22:14:31 +08:00
gyuton
fcae0d0f0a
DOCSUP-3845: documented new encrypt and decrypt functions (#16930)
* Added first draft of description

* Added toc_priority

* Updated description

* Updated documentation

* Added examples

* Fixed links

* variable fixes

* minor fixes

* added translation

* fixed typos in translation

* changed toc_title in translation

* minor change

* added various fixes

* fixed typos

* Deleted unnecessary file

* Deleted extra files

Co-authored-by: George <gyuton@yandex-team.ru>
2020-11-17 17:05:33 +03:00
Ivan Lezhankin
f897f7c93f Refactor IFunction to execute with const arguments 2020-11-17 16:24:45 +03:00