Commit Graph

11550 Commits

Author SHA1 Message Date
Alexey Milovidov
6d889da41e Using different ZooKeeper library (development) [#CLICKHOUSE-2] 2018-03-22 15:15:23 +03:00
Alexey Milovidov
d690c24198 Using different ZooKeeper library (development) [#CLICKHOUSE-2] 2018-03-22 00:40:53 +03:00
Nikolai Kochetov
5c91eecb2b fix test 2018-03-21 21:43:17 +03:00
Nikolai Kochetov
bd3f2ea361 Merge branch 'stricter-mutable-column-semantic-3' into stricter-mutable-column-semantic-2 2018-03-20 22:47:40 +03:00
Nikolai Kochetov
476d4b339c Immutable construction for columns 2018-03-20 22:45:10 +03:00
proller
9c9e918b78 Fix flapping test 00371_union_all 2018-03-20 22:18:56 +03:00
proller
f6f505ea33
better test in pbuilder (#2080)
* better test in pbuilder
2018-03-20 20:24:39 +03:00
Nikolai Kochetov
1f4db58d53 fix test 2018-03-20 20:01:13 +03:00
Nikolai Kochetov
a399c17f01 && - qualified IColumn::mutate 2018-03-20 17:01:00 +03:00
Alexey Zatelepin
3effbc4411 add test [#CLICKHOUSE-3659] 2018-03-20 16:44:36 +03:00
Alexey Zatelepin
86d53b34a5 forward ALTER PARTITION statements for materialized views [#CLICKHOUSE-3659] 2018-03-20 16:44:36 +03:00
Alexey Milovidov
76f9e0032d Using different ZooKeeper library (development) [#CLICKHOUSE-2] 2018-03-20 00:34:56 +03:00
Alexey Milovidov
644c5e67b6 Rewriting ZooKeeper library [#CLICKHOUSE-2] 2018-03-19 22:25:21 +03:00
Alexey Milovidov
c8f8dc429c Rewriting ZooKeeper library [#CLICKHOUSE-2] 2018-03-19 22:23:05 +03:00
Alexey Milovidov
831d38fd59 Rewriting ZooKeeper library [#CLICKHOUSE-2] 2018-03-19 22:07:50 +03:00
Vitaliy Lyudvichenko
1a0833d0e7 Fixed small race condition in ClusterCopier. [#CLICKHOUSE-2] 2018-03-19 21:30:49 +03:00
Vitaliy Lyudvichenko
e41b653f14 Parallelized block split in sync Distributed insert. [#CLICKHOUSE-2] 2018-03-19 21:26:52 +03:00
Alexey Zatelepin
b1274f7b34 fix deadlock in StorageKafka::shutdown() in case startup() wasn't called #2075 2018-03-19 20:52:48 +03:00
Alexey Milovidov
72ededeab5 Rewriting ZooKeeper library [#CLICKHOUSE-2] 2018-03-19 20:45:30 +03:00
Alexey Milovidov
7ca8b82ed1 Merge branch 'master' into libzookeeper-rewrite 2018-03-19 20:02:22 +03:00
Alexey Milovidov
590feb02b5 Fixed error; added test from Alexander Zaitsev [#CLICKHOUSE-2] 2018-03-19 17:29:40 +03:00
Alexey Milovidov
1b0a43ce55 Rewriting ZooKeeper library [#CLICKHOUSE-2] 2018-03-19 17:19:32 +03:00
Alexey Milovidov
c5ddbbb1ab Rewriting ZooKeeper library [#CLICKHOUSE-2] 2018-03-19 16:31:09 +03:00
Alexey Milovidov
5146ab8acc Rewriting ZooKeeper library [#CLICKHOUSE-2] 2018-03-19 03:32:59 +03:00
Alexey Milovidov
0d11b75def Rewriting ZooKeeper library [#CLICKHOUSE-2] 2018-03-19 02:11:57 +03:00
Alexey Milovidov
347a83029a Rewriting ZooKeeper library [#CLICKHOUSE-2] 2018-03-19 00:53:56 +03:00
Alexey Milovidov
c68af7f09a Rewriting ZooKeeper library [#CLICKHOUSE-2] 2018-03-18 23:25:40 +03:00
Alexey Milovidov
a4e1bd5bc4 Rewriting ZooKeeper library [#CLICKHOUSE-2] 2018-03-18 21:31:18 +03:00
Alexey Milovidov
c1c5aa00ca Rewriting ZooKeeper library [#CLICKHOUSE-2] 2018-03-18 21:14:01 +03:00
Alexey Milovidov
30196169a1 Rewriting ZooKeeper library [#CLICKHOUSE-2] 2018-03-18 18:23:06 +03:00
proller
bbb12e89f0 Better listen_try, pbuilder fix (#2068)
* rename libboost/boost_1_65_0 -> contrib/boost ; make submodule ; update boost to 1.66.0

* Update contrib/boost

* Update contrib/boost

* Add comments

* Fix

* Pbuilder fix

* Better listen_try

* Much better listen_try

* Revert "remove ipv6 listen_host from docker_related_config to allow running in ipv4-only dockers"

This reverts commit 3cfa4c3e65.

* Fix freebsd and macos build
2018-03-18 12:02:29 +03:00
Alexey Milovidov
90aa6374a7 Revert "Preparation #2026"
This reverts commit 60ecc03253.
2018-03-17 21:29:50 +03:00
Alexey Milovidov
b916f17215 Implemented 'uniq' family of functions for generic case including Array argument #2010 2018-03-17 21:14:05 +03:00
Alexey Milovidov
60701afa3e Removed unused code #2010 2018-03-17 21:02:19 +03:00
Alexey Milovidov
5356637e7b Merge branch 'master' of github.com:yandex/ClickHouse 2018-03-17 20:46:34 +03:00
Alexey Milovidov
60ecc03253 Preparation #2026 2018-03-17 20:46:25 +03:00
Kirill Shvakov
109b73b947 fix CREATE TEMPORARY TABLE IF NOT EXISTS 2018-03-17 01:55:07 +03:00
Vitaliy Lyudvichenko
1f28410490 Fixed false positive error messages for queries with IN and ARRAY JOIN. [#CLICKHOUSE-2] 2018-03-16 17:11:49 +03:00
robot-metrika-test
86e4099cc2 Auto version update to [54370] 2018-03-16 12:01:50 +03:00
Alexey Milovidov
a6892b8813 Fixed test [#CLICKHOUSE-2] 2018-03-16 12:00:04 +03:00
robot-metrika-test
9126692441 Auto version update to [54369] 2018-03-16 10:31:37 +03:00
Alexey Milovidov
796c65a09f Added test [#CLICKHOUSE-2] 2018-03-16 10:04:51 +03:00
Alexey Milovidov
02c67e2b13 Fixed error [#CLICKHOUSE-2] 2018-03-16 09:51:37 +03:00
Alexey Milovidov
e3e7c8c256 Merge branch 'master' of github.com:yandex/ClickHouse 2018-03-16 09:39:42 +03:00
Alexey Milovidov
cf6112fd37 Fixed half of bad code [#CLICKHOUSE-2] 2018-03-16 09:39:32 +03:00
robot-metrika-test
2e23b43ed3 Auto version update to [54368] 2018-03-16 09:35:34 +03:00
Alexey Milovidov
dc4a9be6fa Fixed error with "makeSetsForIndex" [#CLICKHOUSE-2] 2018-03-16 09:33:23 +03:00
robot-metrika-test
7633c0bf2b Auto version update to [54367] 2018-03-16 07:51:36 +03:00
Alexey Milovidov
536a4a0c52 More checks [#CLICKHOUSE-2] 2018-03-16 07:49:22 +03:00
Alexey Milovidov
ed9517bb0b Whitespace #2051 2018-03-16 07:49:00 +03:00
Alexey Milovidov
73b04a4d27 Revert "Attempt to fix bad code, try 2 [#CLICKHOUSE-3649] #1830"
This reverts commit eb0095a7b9.
2018-03-16 07:37:21 +03:00
Alexey Milovidov
eb0095a7b9 Attempt to fix bad code, try 2 [#CLICKHOUSE-3649] #1830 2018-03-16 07:13:24 +03:00
Alexey Milovidov
83b775fbf5 Attempt to fix bad code, try 1 [#CLICKHOUSE-3649] #1830 2018-03-16 07:10:38 +03:00
Alexey Milovidov
f4c54f02a5 Removed trashy, obsolete code [#CLICKHOUSE-3649] 2018-03-16 07:00:00 +03:00
Alexey Milovidov
30192b1b42 Fixed backward compatibility [#CLICKHOUSE-3650]. 2018-03-16 06:13:13 +03:00
Alexey Milovidov
e272f6d79e Not a fix [#CLICKHOUSE-3650]. 2018-03-16 06:03:17 +03:00
Alexey Milovidov
25a691f03d Don't allow Distributed table that look at itself [#CLICKHOUSE-2919]. 2018-03-16 05:08:31 +03:00
Alexey Milovidov
b5e4d0692a Disallow PREWHERE, SAMPLE, FINAL in MATERIALIZED VIEWs [#CLICKHOUSE-2]. 2018-03-16 04:23:37 +03:00
Alexey Milovidov
a16dd1cee7 Little better [#CLICKHOUSE-3650] 2018-03-16 04:22:02 +03:00
Alexey Milovidov
e845d34569 Miscellaneous [#CLICKHOUSE-2] 2018-03-16 04:15:50 +03:00
Alexey Milovidov
ace7046acb Added comment [#CLICKHOUSE-2]. 2018-03-16 04:09:31 +03:00
Alexey Milovidov
b949865d34 Added configuration for ad-hoc testing purposes [#CLICKHOUSE-2]. 2018-03-16 04:06:02 +03:00
Alexey Milovidov
3a8d6c28ef Attempt to fix a regression [#CLICKHOUSE-2] 2018-03-16 00:44:09 +03:00
robot-metrika-test
cc19e40fa0 Auto version update to [54366] 2018-03-16 00:07:09 +03:00
Alexey Milovidov
b2e4fd3098 Updated test [#CLICKHOUSE-2] 2018-03-15 22:29:53 +03:00
alexey-milovidov
b9339e0ea1
Merge pull request #2053 from yandex/small-enhancements
Small enhancements
2018-03-15 22:10:29 +03:00
alexey-milovidov
26ca895c0c
Merge pull request #2064 from yandex/sets-with-aliases
Sets for IN operator could be used via alias
2018-03-15 22:07:49 +03:00
alexey-milovidov
c5aacf8f6d
Merge pull request #2062 from yandex/no-extra-zk-rtt
No extra ZK RTTs in INSERTs
2018-03-15 22:07:18 +03:00
alexey-milovidov
1e88f2fe5c
Update AbandonableLockInZooKeeper.h 2018-03-15 22:06:53 +03:00
alexey-milovidov
e64b2df874
Update ReplicatedMergeTreeBlockOutputStream.cpp 2018-03-15 22:06:23 +03:00
alexey-milovidov
1554390bab
Update AbandonableLockInZooKeeper.h 2018-03-15 22:05:58 +03:00
Vitaliy Lyudvichenko
e77701bd4b Enable alisas for sets and tuples for IN operator. [#CLICKHOUSE-3]
Resolves #2044
2018-03-15 21:44:02 +03:00
Vitaliy Lyudvichenko
16dad209f7 Do not make extra ZK RTTs in inserts. [#CLICKHOUSE-3]
Resolves #2054
2018-03-15 21:40:59 +03:00
Alexey Milovidov
1656eafd8c Revert "Attempt to fix regression: missing support for remote tables in IN section when querying Distributed tables [#CLICKHOUSE-2]"
This reverts commit d52f688883.
2018-03-15 19:22:43 +03:00
proller
d9848d8904 Allow run test under gdb 2018-03-15 18:09:44 +03:00
Alexey Milovidov
087a5686c0 Merge branch 'master' of github.com:yandex/ClickHouse 2018-03-15 00:20:12 +03:00
Alexey Milovidov
d52f688883 Attempt to fix regression: missing support for remote tables in IN section when querying Distributed tables [#CLICKHOUSE-2] 2018-03-15 00:19:47 +03:00
Vitaliy Lyudvichenko
9e9739ce2d Fixed a test. [#CLICKHOUSE-2] 2018-03-14 23:54:16 +03:00
Vitaliy Lyudvichenko
1f1870abd4 Add more priority to local ClusterCopier workers. [#CLICKHOUSE-2] 2018-03-14 23:49:18 +03:00
Vitaliy Lyudvichenko
4011afa399 Parallel SELECT and INSERT in ClusterCopier. [#CLICKHOUSE-2] 2018-03-14 23:49:18 +03:00
Vitaliy Lyudvichenko
f1b32e8982 Fixed ordinary MergeTree merges in case of empty ORDER BY key. [#CLICKHOUSE-2] 2018-03-14 23:49:18 +03:00
Nikolai Kochetov
51301d38cd added tryGetCreateTableQuery [#CLICKHOUSE-3590] 2018-03-14 22:56:44 +03:00
proller
6a965bb707
Client: use ConfigProcessor (#2049)
* Client: use ConfigProcessor
2018-03-14 22:38:48 +03:00
Alexey Milovidov
597160443a Fixed build after merge #2036 2018-03-14 21:58:40 +03:00
Alexey Milovidov
3c16faaff0 Merge branch 'master' of github.com:yandex/ClickHouse 2018-03-14 21:57:15 +03:00
alexey-milovidov
e5836cf97f
Merge pull request #2036 from yandex/CLICKHOUSE-3639
Fixed ZooKeeper with chroot, refactoring of ZooKeeper::multi*
2018-03-14 21:56:22 +03:00
proller
d056d7e516
Fix ssl tests (#2042)
* Revert "Reverted bad modification #2035"

This reverts commit 6d6eca5e23.

* spaces

* fix

* better

* Revert "Disabled ill-formed test #2035"

This reverts commit b28cef9871.

* debug

* fix

* fix

* fix

* fix

* fix

* fix

* clean

* Tests compile fix
2018-03-14 19:57:15 +03:00
Alexey Milovidov
9862f17ae4 Merge branch 'master' of github.com:yandex/ClickHouse 2018-03-14 19:40:32 +03:00
Alexey Milovidov
57279a87c7 Whitespaces [#CLICKHOUSE-2]. 2018-03-14 19:40:08 +03:00
alexey-milovidov
2c496b33a6
Merge pull request #2046 from yandex/insane-datetime
Fix insane DateTime in system.parts
2018-03-14 19:29:21 +03:00
Vitaliy Lyudvichenko
7abbe093e9 Avoid magic constants in system.parts. [#CLICKHOUSE-3]
Resolves #2039
2018-03-14 19:04:19 +03:00
Vitaliy Lyudvichenko
56bfb05ebb Fix insane DateTime in system.parts. [#CLICKHOUSE-3] 2018-03-14 19:00:02 +03:00
robot-metrika-test
a2560045b3 Auto version update to [54365] 2018-03-14 16:50:31 +03:00
Vitaliy Lyudvichenko
f38dc334d6 Refactor of asyncMulti. [#CLICKHOUSE-2] 2018-03-14 16:29:03 +03:00
Vitaliy Lyudvichenko
8028ba0de9 Refactoring of zkutil::ZooKeeper::multi* functions. [#CLICKHOUSE-2] 2018-03-14 16:29:03 +03:00
Vitaliy Lyudvichenko
22794bc93e ZooKeeper multi op is transparent with chroot prefixes. [#CLICKHOUSE-3639] 2018-03-14 16:27:16 +03:00
Nikolai Kochetov
d6e9d08d5e getCreateTableQuery and getCreateDatabaseQuery [#CLICKHOUSE-3590] 2018-03-14 15:37:38 +03:00
Alexey Zatelepin
b910e72946 stable order in a test 2018-03-14 15:30:39 +03:00
robot-metrika-test
905652d0ba Auto version update to [54364] 2018-03-14 10:03:38 +03:00
Alexey Milovidov
f08940c04c Fixed handling of NaNs in aggregate functions that use comparison based sorting #2012 2018-03-14 08:03:51 +03:00
Alexey Milovidov
688d277ad4 Adaptation #2012 2018-03-14 07:36:41 +03:00
Alexey Milovidov
c6aac7c03c Merge branch 'master' into furmur-master 2018-03-14 06:20:05 +03:00
Alexey Milovidov
c9d1b61ef7 Fixed build after merge #2029 2018-03-14 06:19:23 +03:00
Alexey Milovidov
b4f1ecb7f8 clang-format #2012 2018-03-14 06:02:18 +03:00
Alexey Milovidov
d29e35d666 Merge branch 'master' of https://github.com/furmur/ClickHouse into furmur-master 2018-03-14 06:00:25 +03:00
alexey-milovidov
cbab87f18e
Update AggregateFunctionIntersectionsMax.cpp 2018-03-14 05:59:27 +03:00
alexey-milovidov
8bb3672bea
Update InterpreterSelectQuery.cpp 2018-03-14 05:42:48 +03:00
alexey-milovidov
9ac2569c65
Merge branch 'master' into refactor-table-declaration 2018-03-14 05:35:50 +03:00
Alexey Milovidov
b28cef9871 Disabled ill-formed test #2035 2018-03-14 04:42:51 +03:00
kshvakov
3ae2e443fd Revert "Fix quotes in partition display name based on Date, DateTime or UUID type"
This reverts commit 10aa9cfc8a.
2018-03-14 03:33:21 +03:00
Kirill Shvakov
0a33b774a3 Fix quotes in partition display name based on Date, DateTime or UUID type 2018-03-14 03:33:21 +03:00
Alexey Milovidov
04e7cad49d Merge branch 'master' of github.com:yandex/ClickHouse 2018-03-14 02:44:34 +03:00
Alexey Milovidov
8b59db58c3 Fixed uneven code #2032 2018-03-14 02:44:23 +03:00
proller
153fcd6c9f Fix double free in LibraryDictionarySource (#2028)
* Fix double free in LibraryDictionarySource

* Fix {}

* wip

* wip

* Better Exception

* Fix possible leak
2018-03-14 02:13:39 +03:00
alexey-milovidov
04cc8a52f7
Merge pull request #2032 from yandex/system-table-macro
System table macro
2018-03-14 02:10:30 +03:00
alexey-milovidov
8522a1b4d1
Update StorageSystemMacros.h 2018-03-14 02:09:26 +03:00
alexey-milovidov
165de1bc36
Update Context.cpp 2018-03-14 02:03:00 +03:00
alexey-milovidov
b5b1f7c8bd
Update ConfigReloader.h 2018-03-14 02:01:03 +03:00
proller
304b4d3f99 Merge remote-tracking branch 'origin/fix' into fix 2018-03-14 00:26:03 +03:00
Vitaliy Lyudvichenko
f11f8e0365 Fixed DDLWorker after recent changes. [#CLICKHOUSE-2] 2018-03-14 00:20:08 +03:00
Vitaliy Lyudvichenko
16c8aefba2 Fixed test after refactoring. [#CLICKHOUSE-2] 2018-03-13 23:49:13 +03:00
proller
24651f7dd6 Fixes 2018-03-13 23:38:35 +03:00
proller
53095aba45 fix 2018-03-13 22:58:26 +03:00
proller
13879f7491 Test client-server ssl 2018-03-13 22:49:21 +03:00
robot-metrika-test
eb03e63ab2 Auto version update to [54363] 2018-03-13 21:18:53 +03:00
Alexey Zatelepin
5906c9a988 rename for clarity 2018-03-13 18:00:28 +03:00
Alexey Zatelepin
fdffbe53ac encapsulate ColumnsDeclaration [#CLICKHOUSE-3241] 2018-03-13 17:41:25 +03:00
Alexey Zatelepin
2f573e4f77 add tests [#CLICKHOUSE-3241] 2018-03-13 17:24:16 +03:00
Nikolai Kochetov
cda51eb920 added fake create query for default database [#CLICKHOUSE-3590] 2018-03-13 15:31:58 +03:00
Nikolai Kochetov
324cda232c fix clang build [#CLICKHOUSE-3591] 2018-03-13 14:53:27 +03:00
Nikolai Kochetov
8b802ad774 added test for SYSTEM RELOAD CONFIG and system.macros [#CLICKHOUSE-3591] 2018-03-13 14:47:32 +03:00
Nikolai Kochetov
632a2ecabc added SYSTEM RELOAD CONFIG query [#CLICKHOUSE-3591] 2018-03-13 13:41:47 +03:00
Alexey Milovidov
b7475b1d2c Fixed error: wrong timeouts passed to ConnectionPoolWithFailover [#CLICKHOUSE-3641] 2018-03-12 23:25:18 +03:00
Alexey Zatelepin
de1db216a5 getStructureOfRemoteTable returns info about column default kinds [#CLICKHOUSE-3241] 2018-03-12 23:21:54 +03:00
Alexey Zatelepin
78d92f6794 add some useful methods, rename for clarity [#CLICKHOUSE-3241] 2018-03-12 22:10:13 +03:00
Alexey Zatelepin
972db7b072 iterate over materialized columns where it makes sense 2018-03-12 22:07:48 +03:00
Alexey Zatelepin
71642b0880 use ColumnsDescription everywhere [#CLICKHOUSE-3241] 2018-03-12 22:07:48 +03:00
Vitaliy Lyudvichenko
0b82551829 Refined comment. [#CLICKHOUSE-2] 2018-03-12 22:02:54 +03:00
Nikolai Kochetov
8b09e55102 added system.macros table [#CLICKHOUSE-3591] 2018-03-12 21:38:00 +03:00
Nikolai Kochetov
4dd7f47ad5 reload macros with config [#CLICKHOUSE-3591] 2018-03-12 21:16:51 +03:00
alexey-milovidov
56deedfe9f
Merge pull request #2027 from yandex/CLICKHOUSE-3346
Sync insert and сluster copier enhancements
2018-03-12 20:58:53 +03:00
Nikolai Kochetov
60ab3294b1 fix concurrent select from system.parts_columns 2018-03-12 19:23:48 +03:00
proller
927b5a432e listen_try also ignore dns errors 2018-03-12 18:48:55 +03:00
Nikolai Kochetov
5a07569c2a added test [#CLICKHOUSE-3590] 2018-03-12 18:22:14 +03:00
Nikolai Kochetov
2b3e897aa1 added SHOW CREATE DATABASE query [#CLICKHOUSE-3590] 2018-03-12 18:21:50 +03:00
Vitaliy Lyudvichenko
30b69c84ae Fixed Illegal PREWHERE error for Merge tables over Distributed. [#CLICKHOUSE-3637] 2018-03-12 18:14:26 +03:00
Kirill Shvakov
808bfef345 inline prompt function 2018-03-12 15:23:15 +02:00
Vitaliy Lyudvichenko
32b617e1d6 Fixed extra squashing leaded to too big timeouts. [#CLICKHOUSE-3346] 2018-03-11 21:36:09 +03:00
alexey-milovidov
b30f97e0e6
Merge pull request #2017 from filimonov/master
Some documentation fixes (fix broken links, tiny changes in KILL query description)
2018-03-11 05:23:24 +03:00
alexey-milovidov
9dfce5c0c9
Merge pull request #2018 from yandex/settings-and-limits-together
Merged Limits to Settings
2018-03-11 03:55:20 +03:00
Alexey Milovidov
5ff433b670 Merged Limits to Settings [#CLICKHOUSE-2021] 2018-03-11 03:15:26 +03:00
Mikhail Filimonov
d052f75395 Fixing broken and old-format links. 2018-03-11 00:36:26 +01:00
robot-metrika-test
48d90ed960 Auto version update to [54362] 2018-03-10 23:15:15 +03:00
Alexey Milovidov
afbbd780e3 Fixed error with initialization of PartLog [#CLICKHOUSE-3354] 2018-03-10 22:57:13 +03:00
Alexey Milovidov
d0a7f05078 Renamed test [#CLICKHOUSE-2]. 2018-03-10 05:26:31 +03:00
Alexey Milovidov
5fc47bdfb1 Fixed error [#CLICKHOUSE-3627] 2018-03-10 03:26:17 +03:00
Alexey Milovidov
7577b1db14 Added function "throwIf" [#CLICKHOUSE-2543] 2018-03-10 03:18:57 +03:00
Alexey Milovidov
988835e945 Merge branch 'master' of github.com:yandex/ClickHouse 2018-03-10 03:12:09 +03:00
Alexey Milovidov
f3b6d35167 Removed setting "strict_insert_defaults" [#CLICKHOUSE-2] 2018-03-10 03:11:39 +03:00
robot-metrika-test
c63b09eeb0 Auto version update to [54361] 2018-03-10 02:53:58 +03:00
Alexey Milovidov
1f985cced2 Merge branch 'master' of github.com:yandex/ClickHouse 2018-03-10 02:50:30 +03:00
Alexey Milovidov
3fa72379bb Fixed error #245 2018-03-10 02:50:20 +03:00
robot-metrika-test
fe1b965a09 Auto version update to [54360] 2018-03-10 02:39:41 +03:00
Alexey Milovidov
c653759714 Added another test #245 2018-03-10 02:24:38 +03:00
Alexey Milovidov
3f8ef38b41 Fixed wording #245 2018-03-10 02:23:15 +03:00
Alexey Milovidov
97b30d0b33 Added column "peak_memory_usage" to SHOW PROCESSLIST #245 2018-03-10 02:09:28 +03:00
Alexey Milovidov
b581bbec68 Added test #245 2018-03-10 02:07:08 +03:00
Alexey Milovidov
8ff0c520d0 Removed the possibility to use queries with empty query_id; better semantics #245 2018-03-10 02:04:26 +03:00
Alexey Milovidov
e102ba5415 Fixed error #245 2018-03-10 01:11:42 +03:00
Alexey Milovidov
add4d29298 Added "is_cancelled" columns to SHOW PROCESSLIST #245 2018-03-10 00:12:52 +03:00
Alexey Milovidov
ea1c5973ba Merge branch 'master' of github.com:yandex/ClickHouse 2018-03-09 21:39:29 +03:00
Alexey Milovidov
65b95580f3 Removed useless code [#CLICKHOUSE-2] 2018-03-09 21:39:14 +03:00
robot-metrika-test
0eeabc5feb Auto version update to [54359] 2018-03-09 15:58:11 +03:00
Alexey Milovidov
d4043f5ac3 Temporarily disabled logger configuration update in runtime [#CLICKHOUSE-3630] 2018-03-09 15:53:52 +03:00
Alexey Milovidov
fbd50ad399 Fixed bug (dangling reference, use after free) [#CLICKHOUSE-2] 2018-03-09 02:58:13 +03:00
Alexey Milovidov
d0a15df011 Fixed non-harmful data race [#CLICKHOUSE-2] 2018-03-09 02:07:39 +03:00
Michael Furmur
8cb5733b44 add aggregate functions IntersectionsMax and IntersectionsMaxPos 2018-03-08 15:23:28 +02:00
Kirill Shvakov
8c4a7b774e Removed BB-Style macros for colors. Preparing prompt pattern once and replace current database in the cycle only. 2018-03-08 10:55:27 +02:00
Kirill Shvakov
3f71a79025 Merge branch 'show-server-group-in-client' of https://github.com/kshvakov/ClickHouse-Server into show-server-group-in-client 2018-03-08 09:37:21 +02:00
Kirill Shvakov
052079b73a Use standard markup '{}' like macros. Add coments. 2018-03-08 09:36:58 +02:00
Alexey Milovidov
310b9104b8 Removed useless method [#CLICKHOUSE-2] 2018-03-08 05:16:03 +03:00
Alexey Milovidov
b97d680e36 Merge branch 'master' of github.com:yandex/ClickHouse 2018-03-08 04:51:10 +03:00
Alexey Milovidov
aaee96fc9d Style [#CLICKHOUSE-2] 2018-03-08 04:50:58 +03:00
zhang2014
21b62eabb6 ISSUES-258 add validation test for ISSUES-258 2018-03-08 09:21:45 +08:00
robot-metrika-test
65da2ee15b Auto version update to [54358] 2018-03-08 00:36:22 +03:00
Alexey Milovidov
3a5754944e Fixed bug after merge [#CLICKHOUSE-2] 2018-03-08 00:32:35 +03:00
alexey-milovidov
fdcc88b5a2
Update Client.cpp 2018-03-07 23:56:15 +03:00
alexey-milovidov
950a7f83cf
Update Defines.h 2018-03-07 23:54:36 +03:00
alexey-milovidov
e41e2fe613
Merge pull request #1912 from zhang2014/fix/ISSUES-369
ISSUES-369 add default database when create materialize view
2018-03-07 23:28:17 +03:00
alexey-milovidov
1ecb9dac72
Merge pull request #1901 from zhang2014/fix/ISSUES-117
ISSUES-117 add show create & exist temporary table
2018-03-07 22:53:11 +03:00
alexey-milovidov
6ce43a9816
Update InterpreterShowCreateQuery.cpp 2018-03-07 22:52:22 +03:00
alexey-milovidov
4ce15695d7
Update Context.cpp 2018-03-07 22:43:13 +03:00
alexey-milovidov
eecdbe9c7b
Update InterpreterShowCreateQuery.cpp 2018-03-07 22:39:05 +03:00
alexey-milovidov
2bb80baae5
Update Context.cpp 2018-03-07 22:33:40 +03:00
Alexey Milovidov
10a6b5c43f Fixed build after merge [#CLICKHOUSE-2] 2018-03-07 22:20:36 +03:00
alexey-milovidov
2daf6be96c
Merge pull request #2004 from yandex/CLICKHOUSE-3616
Prohibited non-UInt8 constants in WHERE
2018-03-07 22:07:24 +03:00
Alexey Milovidov
b1467886f2 Added test [#CLICKHOUSE-2] 2018-03-07 21:59:22 +03:00
Alexey Milovidov
a50706f627 Merge branch 'master' of github.com:yandex/ClickHouse 2018-03-07 21:53:44 +03:00
Alexey Milovidov
5fbc1a1ee5 Fixed regression: cannot CREATE SELECT using HTTP interface [#CLICKHOUSE-2] 2018-03-07 21:53:21 +03:00
alexey-milovidov
bd455283cc
Merge pull request #1771 from joomag/dictionary-update
Add external dictionary update feature
2018-03-07 21:48:42 +03:00
proller
d73fea5ab0
Fix macos compile (#2006)
* Fix macos compile

* rename cluster-copier -> copier
2018-03-07 21:17:17 +03:00
Alexey Zatelepin
ee91edaf70 fix test to conform to the new GROUP BY behaviour on empty tables 2018-03-07 18:09:26 +00:00
proller
65722918e7 Add clickhouse-cluster-copier to debian package 2018-03-07 20:47:58 +03:00
KochetovNicolai
3d0f298ace
Merge pull request #2005 from yandex/fix-dictionary-block-input-stream-for-empty-dicts
fix DictionaryBlockInputStream::getBlock for empty dictionary
2018-03-07 18:20:19 +03:00
Nikolai Kochetov
3f5218bb11 fix DictionaryBlockInputStream::getBlock for empty dictionary 2018-03-07 18:11:23 +03:00
Vitaliy Lyudvichenko
96d4e59dab Simplified logic of distributed sync insert. [#CLICKHOUSE-2] 2018-03-07 17:39:02 +03:00
Vitaliy Lyudvichenko
47d1d4c83c More effective retries, fast partition discovering. [#CLICKHOUSE-3346] 2018-03-07 17:39:02 +03:00
Vitaliy Lyudvichenko
17f39ab33f Add deferred initialization of shards if enabled_partitions are specified. [#CLICKHOUSE-3346] 2018-03-07 17:39:02 +03:00
Vitaliy Lyudvichenko
270b6c968e Speed up initialization, fixed settings passing. [#CLICKHOUSE-3346] 2018-03-07 17:39:02 +03:00
Vitaliy Lyudvichenko
d6635c3bf5 Fixed several integration tests. [#CLICKHOUSE-2] 2018-03-07 16:52:09 +03:00
Vitaliy Lyudvichenko
7c3d0344e8 Prohibited non-UInt8 constants in WHERE. [#CLICKHOUSE-3616] 2018-03-07 16:12:35 +03:00
Nikolai Kochetov
68357f3534 added macro.xml 2018-03-07 15:46:30 +03:00
Nikolai Kochetov
532b57aef8 perf. fixes 2018-03-07 01:05:36 +03:00
Alexey Zatelepin
b0a4e1294d remove obsolete setting from test 2018-03-06 20:36:19 +00:00
alexey-milovidov
a06af52824
Merge pull request #1995 from yandex/CLICKHOUSE-3616
Fixed segfault in case of WHERE <non-UInt8 type expression>
2018-03-06 22:10:14 +03:00
Alex Zatelepin
90ea45a397
better exception message [#CLICKHOUSE-3599] 2018-03-06 22:01:45 +03:00
Alexey Zatelepin
f3812dddea generic comparison code in GraphiteRollupSortedBlockInputStream [#CLICKHOUSE-3599] 2018-03-06 20:17:58 +03:00
Alexey Zatelepin
5d51c66bbb generic version comparison code for ReplacingMergeTree [#CLICKHOUSE-3599] 2018-03-06 20:17:58 +03:00
Alexey Zatelepin
ec91d29d6a correct MergingParams columns check [#CLICKHOUSE-3599] 2018-03-06 20:17:58 +03:00
robot-metrika-test
753c3d098e Auto version update to [54357] 2018-03-06 19:20:07 +03:00
Alexey Milovidov
8bc40879ab Fixed error [#CLICKHOUSE-2] 2018-03-06 19:11:29 +03:00
Vitaliy Lyudvichenko
1d247d0e31 Fixed segfault in case of WHERE <non-UInt8 type expression>. [#CLICKHOUSE-3616]
Prohibited non-UInt8 constants in WHERE expressions.
Fixed KILL QUERY syntax highlighting.
2018-03-06 18:42:00 +03:00
zhang2014
38fe0698a1 ISSUES-369 add attach & detach test 2018-03-06 21:05:08 +08:00
Alexey Milovidov
d134f90fa9 Whitespace [#CLICKHOUSE-2] 2018-03-06 14:59:25 +03:00
alexey-milovidov
1acf404ed1
Merge pull request #1831 from yandex/remote-table-function-insert-into-local-replica
Remote table function insert into local replica
2018-03-06 00:14:29 +03:00
proller
82a361d0e9 Show error to client if query was killed (#1989)
* Show error to client if query was killed

* Kill exception v2

* Use kill

* fix

* wip

* fix

* fxi

* try fix

* Revert "try fix"

This reverts commit eb76e4c040.

* QUERY_WASCANCELLED

* Fxi all cancel()

* fix
2018-03-06 00:09:39 +03:00
robot-metrika-test
6282c8e490 Auto version update to [54356] 2018-03-06 00:07:31 +03:00
Alexey Milovidov
ff822f5d81 Modified comment [#CLICKHOUSE-2] 2018-03-05 21:26:43 +03:00
Nikolai Kochetov
966a7d819b fix test 2018-03-05 19:15:17 +03:00
Nikolai Kochetov
7b983340b8 Merge branch 'remote-table-function-insert-into-local-replica' of github.com:yandex/ClickHouse into remote-table-function-insert-into-local-replica 2018-03-05 17:59:58 +03:00
Nikolai Kochetov
6c66f78f71 renamed shared tests 2018-03-05 17:59:51 +03:00
KochetovNicolai
9f12df3a86
Update 00459_group_array_insert_at.sql 2018-03-05 17:52:59 +03:00
Kirill Shvakov
27a9ce8dd7 Display host if display name is empty 2018-03-05 16:47:10 +02:00
Nikolai Kochetov
b2b1588d5f added FilterWithZerosCounter 2018-03-05 17:25:20 +03:00
KochetovNicolai
bf6cfadfbc
Update 00557_remote_port.sh 2018-03-05 17:23:33 +03:00
Nikolai Kochetov
8b01ec2225 Merge branch 'master' into better-range-reader 2018-03-05 15:55:06 +03:00
Nikolai Kochetov
d7e6225815 renamed treat_local_as_shared to treat_local_as_remote 2018-03-05 15:47:09 +03:00
Nikolai Kochetov
f5b9ccf337 Merge branch 'remote-table-function-insert-into-local-replica' of github.com:yandex/ClickHouse into remote-table-function-insert-into-local-replica 2018-03-05 15:38:40 +03:00
Nikolai Kochetov
871a560b37 merged with master 2018-03-05 15:36:17 +03:00
Kirill Shvakov
5e55a605f0 add bold font 2018-03-05 14:18:53 +02:00
Kirill Shvakov
3c09dacb5f fix test 2018-03-05 14:05:48 +02:00
Kirill Shvakov
bba0591452 add X-ClickHouse-Display-Name header to HTTPHandler 2018-03-05 12:20:23 +02:00
Alexey Milovidov
c1a8659000 Updated instructions 2018-03-03 22:51:21 +03:00
Alexey Milovidov
c9b81fd917 Updated instructions 2018-03-03 22:50:02 +03:00
Alexey Milovidov
91a6a88102 Explicit semantic for TSan [#CLICKHOUSE-2] 2018-03-03 21:00:46 +03:00
Alexey Milovidov
07d8db9f2a Explicit semantic for TSan [#CLICKHOUSE-2] 2018-03-03 20:44:53 +03:00
Alexey Milovidov
368f46d764 Addition to prev. revision [#CLICKHOUSE-2] 2018-03-03 19:48:24 +03:00
Alexey Milovidov
2e371822ad Changed low level data race to high level data race [#CLICKHOUSE-2] 2018-03-03 19:46:32 +03:00
Alexey Milovidov
3b0d713120 Cleanup semantics [#CLICKHOUSE-2] 2018-03-03 19:26:06 +03:00
Alexey Milovidov
c897e5ca39 Better [#CLICKHOUSE-2] 2018-03-03 18:36:20 +03:00
Alexey Milovidov
8c37547bfe Fixed harmless data race [#CLICKHOUSE-2] 2018-03-03 18:35:24 +03:00
Alexey Milovidov
49bab773fd Updated instructions [#CLICKHOUSE-2] 2018-03-03 17:42:45 +03:00
Alexey Milovidov
1aad435d52 Fixed race condition at startup [#CLICKHOUSE-2] 2018-03-03 17:40:17 +03:00
Alexey Milovidov
fca64bb9da Updated instruction [#CLICKHOUSE-2] 2018-03-03 17:40:17 +03:00
Alexey Milovidov
ba481a6acd Fixed error with TOTALS [#CLICKHOUSE-3619] 2018-03-03 04:28:13 +03:00
Alexey Milovidov
cbb440e753 Execute table functions once for a query [#CLICKHOUSE-3615] 2018-03-03 04:01:14 +03:00
Alexey Milovidov
6017cb0355 Attempt to improve config load time [#CLICKHOUSE-3618] 2018-03-03 03:33:25 +03:00
Alexey Milovidov
790b4e3a1b Fixed build #1987 2018-03-02 22:40:44 +03:00
Alexey Milovidov
13e8dd6198 Unified filename of test #1933. 2018-03-02 22:35:34 +03:00
alexey-milovidov
9b4ea7acde
Merge pull request #1933 from zhang2014/fix/ISSUES-1386
ISSUES-1386 add illegal column exception when drop exist depend
2018-03-02 22:33:57 +03:00
alexey-milovidov
1bc8e61d8b
Update AlterCommands.cpp 2018-03-02 22:33:04 +03:00
alexey-milovidov
e57124481e
Update AlterCommands.cpp 2018-03-02 22:32:30 +03:00
alexey-milovidov
fad8a56dc7
Merge pull request #1987 from yandex/add-odbc-max-field-size
added odbc_default_field_size setting
2018-03-02 21:59:52 +03:00
Alexey Milovidov
bf924d1c9d Better name [#CLICKHOUSE-2] 2018-03-02 21:51:59 +03:00
Nikolai Kochetov
7851e71a2a fix continueReadingChain from several mark ranges 2018-03-02 16:05:33 +03:00
Nikolai Kochetov
5842c35aeb added odbc_default_field_size setting 2018-03-02 15:59:41 +03:00
zhang2014
361a220743 Merge branch 'master' into fix/ISSUES-117 2018-03-02 19:06:11 +08:00
zhang2014
c400613f03 Merge branch 'master' into fix/ISSUES-369 2018-03-02 18:55:15 +08:00
zhang2014
4a38e97ed6 Merge branch 'master' into fix/ISSUES-1386 2018-03-02 18:03:18 +08:00
Alexey Milovidov
ce2fa2c4e7 Inline documentation for most of Limits [#CLICKHOUSE-2] 2018-03-02 11:12:43 +03:00
Alexey Milovidov
9024cf5fc8 Fixed test [#CLICKHOUSE-2]. 2018-03-02 10:43:47 +03:00
Alexey Milovidov
22bbc9f08c Added limit on size of AST after expansion of aliases [#CLICKHOUSE-18] 2018-03-02 09:33:17 +03:00
Alexey Milovidov
05893c1d44 Miscellaneous [#CLICKHOUSE-2] 2018-03-02 08:52:11 +03:00
Alexey Milovidov
7e7fe3c441 Execute table functions once for a query [#CLICKHOUSE-3615] 2018-03-02 08:44:17 +03:00
Alexey Milovidov
651a312896 Added ProfileEvent for table function executions [#CLICKHOUSE-3615] 2018-03-02 08:03:28 +03:00
Alexey Milovidov
eab9063352 Merge branch 'master' of github.com:yandex/ClickHouse 2018-03-02 07:05:38 +03:00
Alexey Milovidov
915f84a24f Miscellaneous #1947 2018-03-02 07:05:20 +03:00
alexey-milovidov
7e139866d2
Merge pull request #1984 from zhang2014/fix/subquery_in_create
Fix exist subquery when create materializer view
2018-03-02 04:28:58 +03:00
alexey-milovidov
b567c90a39
Merge pull request #1982 from zhang2014/fix/ISSUES-66
ISSUES-66 add insert into view test
2018-03-02 03:30:37 +03:00
proller
f749405bf0 libressl as submodule (#1983)
* Allow use bundled *ssl library

* fix

* Add submodule

* Fixes

* fix

* fixes

* fixes

* fix

* fix

* update poco

* fix warnings

* fix

* fix
2018-03-02 03:17:25 +03:00
zhang2014
54cba2f5a6 Fix exist subquery when create materializer view 2018-03-02 01:05:03 +08:00
zhang2014
ce2b100deb ISSUES-66 add insert into view test 2018-03-01 22:49:16 +08:00
Alexey Milovidov
37f9034575 Updated test #1550 2018-03-01 12:41:40 +03:00
Alexey Milovidov
ca60c0ccdf Added a test from Mikhail Kalashnikov for ALIAS columns in Distributed tables #590 #1947 2018-03-01 12:32:00 +03:00
Alexey Milovidov
a2e649f8c0 Updated test #1947 2018-03-01 11:56:12 +03:00
Alexey Milovidov
b162850754 Fixed error in checking limit on number of columns to read; added test for unnecessary columns removal inside subqueries with UNION ALL #1947 [#CLICKHOUSE-2210] 2018-03-01 11:46:59 +03:00
Alexey Milovidov
559da607fc Added test #878 2018-03-01 11:33:48 +03:00
Alexey Milovidov
8197574e37 Added test #1947 2018-03-01 11:07:46 +03:00
Alexey Milovidov
a27d27ac94 Added test #1947 [#CLICKHOUSE-3264] 2018-03-01 10:47:09 +03:00
Alexey Milovidov
28df0c3712 Removed unused constant #1947 2018-03-01 10:43:08 +03:00
Alexey Milovidov
0908ed1561 Added test #1947 2018-03-01 10:27:02 +03:00
Alexey Milovidov
4c87ae427d Added test #1947 2018-03-01 10:18:15 +03:00
Alexey Milovidov
c42d3ac17f Fixed error (PREWHERE in Distributed table) #1947 2018-03-01 10:11:35 +03:00
Alexey Milovidov
37f27b3e4b Added a test for type conversions in UNION ALL #1947 2018-03-01 10:05:03 +03:00
Alexey Milovidov
0bd9575125 Added a test from FacedSID #859 2018-03-01 09:50:46 +03:00
Alexey Milovidov
322e0ef4ec Added a test from George #728 2018-03-01 09:35:54 +03:00
Alexey Milovidov
69e8133fdc Added a test by Stas Sviridov #320 2018-03-01 09:21:15 +03:00
Alexey Milovidov
0213071683 Merge remote-tracking branch 'origin/master' into better-union-all-try2 2018-03-01 09:18:59 +03:00
Alexey Milovidov
d8fdf33efd Fixed error in clickhouse-client [#CLICKHOUSE-2] 2018-03-01 09:18:44 +03:00
Alexey Milovidov
c80a0e549a Fixed error in clickhouse-client [#CLICKHOUSE-2] 2018-03-01 09:18:25 +03:00
Alexey Milovidov
8cb640ac54 Better UNION ALL: development #1947 2018-03-01 09:08:09 +03:00
Alexey Milovidov
15dc5da190 Fixed error #1947 2018-03-01 09:07:04 +03:00
Alexey Milovidov
b9c8c04d4b Fixed error #1947 2018-03-01 08:42:44 +03:00
Alexey Milovidov
f7e0912d81 Added support for LIMIT BY arbitary expressions [#CLICKHOUSE-3613] #1947 2018-03-01 08:24:56 +03:00
Alexey Milovidov
e604be2799 Fixed error #1947 2018-03-01 07:57:51 +03:00
Alexey Milovidov
58f9d3decc Better test [#CLICKHOUSE-2] 2018-03-01 07:51:54 +03:00
Alexey Milovidov
f159be3832 Fixed error #1947 2018-03-01 07:42:18 +03:00
Alexey Milovidov
fe2da8a2c7 Added method rename for StorageView [#CLICKHOUSE-2] 2018-03-01 07:23:32 +03:00
Alexey Milovidov
280b4663c1 Caching table functions in query context #1947 2018-03-01 04:49:36 +03:00
Alexey Milovidov
e0798edc09 Better UNION ALL: development #1947 2018-03-01 04:25:06 +03:00
proller
d6a1f8470f CLICKHOUSE-3553 Rebuild loggers on every config change (#1973)
* Macos test fix

* Fix freebsd build

* CLICKHOUSE-3553 Rebuild loggers on every config change

* rename clickhouse_common_configprocessor -> clickhouse_common_config; move Server/ConfigReloader.cpp -> Common/Config/

* CLICKHOUSE-3553 Set new level to all loggers on reload

* Dont use hash

* Update BaseDaemon.h
2018-02-28 23:34:25 +03:00
Alexey Milovidov
89b2d0d2de Fixed test #1947. 2018-02-28 23:05:49 +03:00
Alexey Milovidov
cfe900c997 Fixed test #1947. 2018-02-28 23:05:29 +03:00
Alexey Milovidov
9c68584281 Fixed error #1947 2018-02-28 22:47:33 +03:00
Alexey Milovidov
f1de27a21f Fixed error #1947 2018-02-28 22:36:18 +03:00
Alexey Milovidov
63467dbcc2 Fixed error #1947 2018-02-28 22:36:01 +03:00
Alexey Milovidov
c8ca339c24 Merge remote-tracking branch 'origin/master' into better-union-all-try2 2018-02-28 21:35:49 +03:00
Alexey Milovidov
063facc769 Miscellaneous [#CLICKHOUSE-2] 2018-02-28 21:25:22 +03:00
Alexey Milovidov
701a098acf Miscellaneous [#CLICKHOUSE-2] 2018-02-28 21:25:07 +03:00
Vitaliy Lyudvichenko
72bccacba5 Skip temporary editors' config files. [#CLICKHOUSE-3]
Resolves #1190
2018-02-28 16:25:13 +03:00
Vitaliy Lyudvichenko
9c889af882 Add allow_distributed_ddl setting. [#CLICKHOUSE-3611]
Clearer exception message.
Fixed Int64 settings parsing.
2018-02-28 16:23:40 +03:00
Alexey Milovidov
8b2ca20da2 Better UNION ALL: development #1947 2018-02-28 07:55:43 +03:00
Alexey Milovidov
7fc6e0f16e Better UNION ALL: development #1947 2018-02-28 07:51:09 +03:00
Alexey Milovidov
672fc3a441 Better UNION ALL: development #1947 2018-02-28 07:49:39 +03:00
Alexey Milovidov
f4dbca54a1 Fixed bad code #1947 2018-02-28 07:30:27 +03:00
Alexey Milovidov
c4fdfbf287 Fixed error #1947 2018-02-28 07:14:18 +03:00
Alexey Milovidov
ca879f368b Added setting "union_all_sequential" #1947 2018-02-28 05:33:04 +03:00
Alexey Milovidov
73e208ff97 Better UNION ALL: development #1947 2018-02-28 05:32:34 +03:00
Alexey Milovidov
9ea0a603a0 Better UNION ALL: development #1947 2018-02-28 04:29:55 +03:00
Alexey Milovidov
c35727c7ed Miscellaneous #1947 2018-02-28 03:07:39 +03:00
Alexey Milovidov
17ffe77b8c Better UNION ALL: development #1947 2018-02-28 00:03:28 +03:00
Alexey Milovidov
492053bc43 Better UNION ALL: development #1947 2018-02-27 23:43:42 +03:00
Alexey Milovidov
a3386b3eba Better UNION ALL: development #1947 2018-02-27 23:16:58 +03:00
Alexey Milovidov
7526d65cff Better UNION ALL: development #1947 2018-02-27 22:38:59 +03:00
Alexey Milovidov
d4937621d3 Better UNION ALL: development #1947 2018-02-27 22:02:13 +03:00
Alexey Milovidov
8d72ca25d5 Better UNION ALL: development #1947 2018-02-27 22:00:55 +03:00
Vitaliy Lyudvichenko
f89d9dbfb9 Fixed segfault in an integration test. [#CLICKHOUSE-2] 2018-02-27 21:46:16 +03:00
proller
0e7c49fe9b
Build fixes (#1970)
* Macos test fix

* Fix freebsd build
2018-02-27 20:17:02 +03:00
Kirill Shvakov
053b3f21a0 move 'colors' from function body 2018-02-27 09:57:18 +02:00
alexey-milovidov
924cc3451f
Merge pull request #1955 from yandex/CLICKHOUSE-3606
Added consistent hashing functions
2018-02-27 10:52:41 +03:00
Kirill Shvakov
390ce9428b add background colors 2018-02-27 09:47:15 +02:00
Vitaliy Lyudvichenko
cf5c378ed7 Add optimized version of sumbur hash, reduced buckets range. [#CLICKHOUSE-3606] 2018-02-27 03:01:51 +03:00
Alexey Milovidov
5d27e43f96 Better UNION ALL: development #1947 2018-02-27 00:00:42 +03:00
proller
720a11fe4e Fix gcc "may be used uninitialized" warning 2018-02-26 22:38:06 +03:00
Alexey Zatelepin
2a56dd075f fix typo 2018-02-26 22:33:16 +03:00
Vitaliy Lyudvichenko
8669983ce1 Add performance test. [#CLICKHOUSE-3606] 2018-02-26 22:00:40 +03:00
Alexey Milovidov
03d4c352ec Fixed bad test #1947 2018-02-26 21:39:21 +03:00
Alexey Milovidov
dff85044ec Fixed bad test #1947 2018-02-26 21:38:52 +03:00
proller
cf9a33d04f CLICKHOUSE-3600 Use correct lld version, cmake fixes (#1968)
* Allow build without rt library

* fix

* Cmake misc

* CLICKHOUSE-3600 Use correct lld version

* CLICKHOUSE-3600 Use correct lld version

* Use libllvm same version as clang

* fix

* Fix build with iodbc

* Fix iodbc build

* Fix gold find

* Fix empty lines
2018-02-26 21:34:22 +03:00
Alexey Zatelepin
1564e31616 check that lengths of arrays passed to arrayReduce() are equal [#CLICKHOUSE-3250] #1142 2018-02-26 19:58:51 +03:00
proller
566d66e858 Dictionary Library source: Persistent per-dictionary custom data store (#1917)
* LibraryDictionarySource: Support numeric types, initial support for strings

* Dictionary Library source with string types

* clang-format

* Dictionary Library source: Persistent per-dictionary custom data store

* Fix unused

* Allocate -> New

* Update examples

* fix
2018-02-26 19:57:14 +03:00
Vitaliy Lyudvichenko
4e27c268a1 Add clickhouse-copier description to the docs. [#CLICKHOUSE-3606] 2018-02-26 18:27:36 +03:00
Kirill Shvakov
213caffdde add default section to client config 2018-02-26 15:48:07 +02:00
Kirill Shvakov
f15b55f929 prototype: custom prompt 2018-02-26 15:24:06 +02:00
Vitaliy Lyudvichenko
120530e44c Add requested changes. [#CLICKHOUSE-3606] 2018-02-26 15:14:20 +03:00
Alexey Milovidov
417cc7f6e2 Better UNION ALL: development #1947 2018-02-26 13:19:47 +03:00
Alexey Milovidov
b5610b9f81 Better UNION ALL: development #1947 2018-02-26 13:12:26 +03:00
Alexey Milovidov
4dee4770eb Better UNION ALL: development #1947 2018-02-26 13:00:56 +03:00
Alexey Milovidov
437ba4856b Better UNION ALL: development #1947 2018-02-26 12:55:14 +03:00
Alexey Milovidov
44d0736138 Better UNION ALL: development #1947 2018-02-26 12:10:11 +03:00
Alexey Milovidov
ac37b89b16 Better UNION ALL: development #1947 2018-02-26 12:05:06 +03:00
Kirill Shvakov
d3b6aafa09 Rename group_name to display_name 2018-02-26 08:49:17 +02:00
Alexey Milovidov
6ef9917fe2 Better UNION ALL: development #1947 2018-02-26 09:12:59 +03:00
Alexey Milovidov
a586fd119a Merge branch 'master' into better-union-all-try2 2018-02-26 08:05:53 +03:00
Alexey Milovidov
5c450708e1 Fixed bad code #1947 2018-02-26 07:47:27 +03:00
Alexey Milovidov
a4544ac498 Fixed error [#CLICKHOUSE-2] 2018-02-26 06:47:32 +03:00
Alexey Milovidov
89c0dc2eea Fixed build #1947 2018-02-26 06:45:46 +03:00
Alexey Milovidov
d6121a8544 Simplification of AST #1947 2018-02-26 06:40:20 +03:00
Alexey Milovidov
601ff1eee4 Simplification of AST #1947 2018-02-26 06:37:08 +03:00
Alexey Milovidov
88b01e867d Better UNION ALL: development #1947 2018-02-25 10:39:45 +03:00
Alexey Milovidov
6e93635275 Better UNION ALL: development #1947 2018-02-25 09:35:24 +03:00
Alexey Milovidov
8c1e344b78 Removed useless code #1947 2018-02-25 09:09:09 +03:00
Alexey Milovidov
9d3d0410d7 Removed useless code #1947 2018-02-25 09:08:29 +03:00
Alexey Milovidov
6e8572e628 Merge branch 'master' into better-union-all-try2 2018-02-25 08:03:59 +03:00
Alexey Milovidov
9219b3d600 Fixed build [#CLICKHOUSE-2] 2018-02-25 08:01:12 +03:00
Alexey Milovidov
f3f2b74676 Miscellaneous [#CLICKHOUSE-2] 2018-02-25 05:45:36 +03:00
Alexey Milovidov
722b6287ec Miscellaneous [#CLICKHOUSE-2] 2018-02-25 05:43:27 +03:00
Alexey Milovidov
c86fd31097 Addition to prev. revision [#CLICKHOUSE-2] 2018-02-25 05:23:04 +03:00
Alexey Milovidov
b326a111d5 Fixed bad code that may lead to race condition [#CLICKHOUSE-2] 2018-02-25 04:30:03 +03:00
Alexey Milovidov
ab594375ab Better UNION ALL: development #1947 2018-02-25 03:50:53 +03:00
Kirill Shvakov
2216f9e0cc fix function name 2018-02-24 14:36:19 +02:00
Kirill Shvakov
0b26189fab prototype: show server group name in client 2018-02-24 14:06:53 +02:00
Alexey Milovidov
97766684d7 Fixed (harmless) race condition [#CLICKHOUSE-2] 2018-02-24 07:46:14 +03:00
Alexey Milovidov
2b974554e5 Fixed test [#CLICKHOUSE-2] 2018-02-24 04:55:43 +03:00
Alexey Milovidov
3772c88472 Removed bad code that may lead to (harmless) race condition [#CLICKHOUSE-2] 2018-02-24 04:31:42 +03:00
Vitaliy Lyudvichenko
11b4cf3163 Updated test. [#CLICKHOUSE-3606] 2018-02-24 01:47:35 +03:00
Vitaliy Lyudvichenko
077f413a0d Added consistent hashing functions. [#CLICKHOUSE-3606] 2018-02-24 00:22:52 +03:00
Alexey Milovidov
16bef55d0e Fixed bad translation [#CLICKHOUSE-2] 2018-02-23 22:07:38 +03:00
Alexey Milovidov
243563d247 Fixed build [#CLICKHOUSE-2] 2018-02-23 21:55:54 +03:00
Alexey Milovidov
d4217d7aac Updated test [#CLICKHOUSE-2] 2018-02-23 14:37:49 +03:00
Alexey Milovidov
c73f5d5e95 Fixed test [#CLICKHOUSE-2] 2018-02-23 14:35:05 +03:00
alexey-milovidov
05be50de89
Merge pull request #1954 from yandex/fix-race-condition-in-lazy-stream
Fix race condition in lazy stream
2018-02-23 14:16:37 +03:00
alexey-milovidov
b12a41cdd5
Merge pull request #1951 from chenxing-xc/master
fix CHECK TABLE distributed_table crash issue
2018-02-23 14:13:09 +03:00
Alexey Milovidov
9e14dc18eb Fixed race condition in Lazy stream [#CLICKHOUSE-2] 2018-02-23 13:49:48 +03:00
Alexey Milovidov
1a3fa45b6f Fixed race condition in Lazy stream [#CLICKHOUSE-2] 2018-02-23 13:43:24 +03:00
Alexey Milovidov
cae7f96f34 Simplification [#CLICKHOUSE-2] 2018-02-23 13:02:29 +03:00
Alexey Milovidov
ffc1a76d28 Removed unused method #1947 2018-02-23 12:09:49 +03:00
Alexey Milovidov
ecc3ab8636 Fixed test #1896 2018-02-23 11:42:10 +03:00
chenxing.xc
c966bf0b95 update fix check table 2018-02-23 16:40:39 +08:00
Alexey Milovidov
90ca41f049 Fixed test #1896 2018-02-23 11:23:31 +03:00
Alexey Milovidov
36a9502e80 Simplification #1896 2018-02-23 11:05:21 +03:00
chenxing.xc
ec28a1e661 fix check distribute_table crash issue 2018-02-23 15:17:43 +08:00
Alexey Milovidov
466837b17c Removed controversial feature #1896 2018-02-23 10:06:59 +03:00
Alexey Milovidov
0207760c05 Limit and quota on result must not apply for intermediate data in subqueries and INSERT SELECT [#CLICKHOUSE-3351] 2018-02-23 09:38:23 +03:00
Alexey Milovidov
1f029c3f15 Preparations #1947 2018-02-23 09:00:48 +03:00
Alexey Milovidov
7063e0cffe Removed unused method #1947 2018-02-23 09:00:03 +03:00
Alexey Milovidov
ce1f9d7feb Fixed error #1947 2018-02-23 08:59:12 +03:00
zhang2014
01261181ae ISSUES-117 use reference 2018-02-23 10:15:09 +08:00
Alexey Milovidov
640daaf052 Fixed test #1947 2018-02-23 04:00:47 +03:00
zhang2014
88693fe85e ISSUES-1386 add test 2018-02-23 07:14:51 +08:00
Alexey Milovidov
245fd61b12 Unify NullableAdapterBlockInputStream and CastTypeBlockInputStream #1947 2018-02-23 02:02:35 +03:00
Alexey Milovidov
f792ab0824 Remove RemoveColumnsBlockInputStream #1947 2018-02-23 00:35:17 +03:00
Alexey Milovidov
c44108d5eb Allow to CAST Nullable type to non-Nullable as long as there are no NULL values #1947 2018-02-23 00:20:02 +03:00
alexey-milovidov
7a5ccc86cc
Merge pull request #1937 from yandex/CLICKHOUSE-3606
Update of clickhouse-copier
2018-02-22 23:42:33 +03:00
alexey-milovidov
82fa3883f8
Merge pull request #1930 from yandex/nonblocking-precommitted
Allow PreCommitted parts to contain each other
2018-02-22 23:35:16 +03:00
Alexey Milovidov
03c3b18e96 Fixed error with dynamic compilation of quantile family of aggregate functions #1931 2018-02-22 20:32:06 +03:00
alexey-milovidov
2acdba3781
Merge pull request #1943 from yandex/add_path_to_system_tables_and_databases
Add path to system tables and databases
2018-02-22 19:26:19 +03:00
Nikolai Kochetov
976d2a49fe merged with master 2018-02-22 14:54:26 +03:00
Vitaliy Lyudvichenko
07d01d2dfb Fixed build after merge. [#CLICKHOUSE-3606] 2018-02-22 14:40:23 +03:00
Nikolai Kochetov
733156438a fix continueReadingChain from several mark ranges 2018-02-22 14:35:06 +03:00
Nikolai Kochetov
39f16b66b5 fix continueReadingChain from several mark ranges 2018-02-22 14:31:15 +03:00
zhang2014
6f3d67be30 ISSUES-1386 fix failed test 2018-02-22 19:28:02 +08:00
zhang2014
9cffea1958 ISSUES-1386 resolve some opinions 2018-02-22 19:27:58 +08:00
Nikolai Kochetov
c7f5f6f574 added data_path and metadata_path to system.databases and path to system.parts and system.parts_columns [#CLICKHOUSE-3580] 2018-02-22 13:03:45 +03:00
Nikolai Kochetov
a75e095a80 added data_path and metadata_path to system.tables 2018-02-22 13:03:35 +03:00
KochetovNicolai
bcad88c9ae
Update ReplacingSortedBlockInputStream.h
added comment
2018-02-22 11:37:16 +03:00
zhang2014
e1c31494f2 ISSUES-995 resolve some opinions 2018-02-22 13:39:49 +08:00
alexey-milovidov
3755196b91
Merge pull request #1911 from proller/fix10
Allow to disable compiling -server or other parts to static binary
2018-02-22 03:41:10 +03:00
alexey-milovidov
ac05c6f28b
Merge pull request #1902 from kshvakov/master
Использование произвольного ключа партиционирования для таблицы лога запросов
2018-02-22 03:39:00 +03:00
alexey-milovidov
3844b129f4
Update Context.cpp 2018-02-22 03:38:05 +03:00
alexey-milovidov
b6f3f06ef3
Merge branch 'master' into CLICKHOUSE-3606 2018-02-22 02:13:38 +03:00
alexey-milovidov
533b5cbe00
Merge pull request #1938 from yandex/fix-replacing-merge-tree
Fix replacing merge tree vertical merge
2018-02-22 02:06:24 +03:00
alexey-milovidov
331fca64a9
Update ReplacingSortedBlockInputStream.h 2018-02-22 02:04:37 +03:00
alexey-milovidov
ee41f7000f
Merge pull request #1940 from yandex/CLICKHOUSE-3571
Try to reduce false positive of sanity check
2018-02-22 01:59:33 +03:00
alexey-milovidov
d4dcb9412c
Merge pull request #1941 from yandex/unsorted-mergetree
Fix MergeTree idiosyncrasies
2018-02-22 00:36:59 +03:00
Alexey Milovidov
02f7cc2d04 Fixed error with StorageMerge [#CLICKHOUSE-2]. 2018-02-21 23:24:29 +03:00
Alexey Milovidov
222fb2c945 Miscellaneous [#CLICKHOUSE-2] 2018-02-21 23:23:27 +03:00
Alexey Milovidov
4055da5979 Fixed error with filtering of tables by _table virtual column in StorageMerge [#CLICKHOUSE-3583] 2018-02-21 22:44:22 +03:00
Alexey Milovidov
f36dfe42a5 Miscellaneous [#CLICKHOUSE-2] 2018-02-21 22:35:10 +03:00
Alexey Milovidov
65f4fcc3e3 Merge branch 'master' into header-in-output-streams 2018-02-21 21:58:20 +03:00
Alexey Zatelepin
610f70fbeb forbid non-deterministic functions in primary and partition keys [#CLICKHOUSE-3455] 2018-02-21 20:54:16 +03:00
Vitaliy Lyudvichenko
fbe4066c15 Add support of any partition key. [#CLICKHOUSE-3606] 2018-02-21 20:18:31 +03:00
Vitaliy Lyudvichenko
47becc0b92 Try to reduce false positive of sanity check. More detail dignostics. [#CLICKHOUSE-3571] 2018-02-21 20:06:29 +03:00
Alexey Zatelepin
6fdf82e452 allow the primary key and the partition key to use the same expression [#CLICKHOUSE-3455] 2018-02-21 18:43:24 +03:00
Alexey Zatelepin
e3422ea52e MergeTree without primary key [#CLICKHOUSE-3462] 2018-02-21 17:50:26 +03:00
Nikolai Kochetov
da9b8dbd2c added test for ReplacingMergeTree vertical merge #1914 2018-02-21 17:13:29 +03:00
Vitaliy Lyudvichenko
963c4a972e Fixe a compile test if the compliation if turn off. [#CLICKHOUSE-2] 2018-02-21 17:12:49 +03:00
Nikolai Kochetov
9d348846d6 fix row position with max version for vertical merge of ReplacingMergeTree #1914 2018-02-21 16:57:58 +03:00
Vitaliy Lyudvichenko
c80407ad8d Fixed ZK path in a test. [#CLICKHOUSE-2] 2018-02-21 16:52:17 +03:00
Alexey Zatelepin
de46ee4261 fix typo 2018-02-21 15:31:28 +03:00
Alexey Milovidov
fef53b1963 Tiny modification [#CLICKHOUSE-2] 2018-02-21 11:34:38 +03:00
Alexey Milovidov
8e91a5e1f1 Added test [#CLICKHOUSE-2] 2018-02-21 11:19:17 +03:00
Alexey Milovidov
72aac966b1 Fixed error with order of columns in FULL JOIN that may lead to segfault [#CLICKHOUSE-2] 2018-02-21 11:16:01 +03:00
robot-metrika-test
6f5bf11647 Auto version update to [54355] 2018-02-21 10:35:08 +03:00
Alexey Milovidov
b1fc5eed45 Fixed error [#CLICKHOUSE-2] 2018-02-21 10:34:40 +03:00
Alexey Milovidov
1a026e6131 Fixed error [#CLICKHOUSE-2] 2018-02-21 09:47:32 +03:00
Alexey Milovidov
4e3a0f0ac6 Fixed error [#CLICKHOUSE-2] 2018-02-21 09:25:21 +03:00
Alexey Milovidov
aad0c62e67 Fixed error [#CLICKHOUSE-2] 2018-02-21 08:11:53 +03:00
Alexey Milovidov
09ac108f4c Fixed error [#CLICKHOUSE-2] 2018-02-21 07:38:26 +03:00
Alexey Milovidov
652dfc8c36 Fixed error [#CLICKHOUSE-2] 2018-02-21 07:18:08 +03:00
Alexey Milovidov
76cf9eb40b Fixed error [#CLICKHOUSE-2] 2018-02-21 07:14:03 +03:00
Alexey Milovidov
19a946d8af Preparation [#CLICKHOUSE-2] 2018-02-21 06:54:55 +03:00
Alexey Milovidov
63a9f96198 Preparation [#CLICKHOUSE-2] 2018-02-21 06:49:10 +03:00
Alexey Milovidov
33e42a9001 Better [#CLICKHOUSE-2] 2018-02-21 06:48:46 +03:00
Alexey Milovidov
a890473c02 Preparation [#CLICKHOUSE-2] 2018-02-21 06:26:06 +03:00
Alexey Milovidov
a69bd2220a Merge branch 'master' into header-in-output-streams 2018-02-21 04:41:09 +03:00
Alexey Milovidov
f6eb5b4b01 Enhanced test [#CLICKHOUSE-3608] 2018-02-21 04:39:46 +03:00
Alexey Milovidov
3dd665179e Fixed error with components of Nested data structures without data and PREWHERE filtering [#CLICKHOUSE-3608] 2018-02-21 04:16:09 +03:00
zhang2014
dc189fd129 ISSUES-1386 add logical error when drop exist depend 2018-02-21 08:49:30 +08:00
Tsarkova Anastasia
65a4d300a3 Add test. 2018-02-20 23:19:04 +03:00
Tsarkova Anastasia
d99d01ac3a Fix data types for key_ranges 2018-02-20 23:03:15 +03:00
Nikolai Kochetov
ba81835e58 fixed progress stats 2018-02-20 17:26:22 +03:00
Nikolai Kochetov
36fe36d003 updated MergeTreePrewhereRangeReader; renamed MergeTreePrewhereRangeReader to MergeTreeRangeReader 2018-02-20 16:59:19 +03:00
Alexey Zatelepin
da87abc422 fix condition for the 'intersects previous part' log message 2018-02-20 16:59:01 +03:00
Alexey Zatelepin
53b5c5f54c add check for intersecting parts when adding new parts 2018-02-20 16:58:41 +03:00
Nikolai Kochetov
2bf1931d86 updated MergeTreePrewhereRangeReader; renamed MergeTreePrewhereRangeReader to MergeTreeRangeReader 2018-02-20 16:37:04 +03:00
Alexey Zatelepin
5bc6bd55b1 allow PreCommitted parts to contain each other, clean up code 2018-02-20 16:33:28 +03:00
Nikolai Kochetov
dcd99860fe updated MergeTreePrewhereRangeReader; renamed MergeTreePrewhereRangeReader to MergeTreeRangeReader 2018-02-20 16:30:47 +03:00
Nikolai Kochetov
3063c35429 updated MergeTreePrewhereRangeReader; renamed MergeTreePrewhereRangeReader to MergeTreeRangeReader 2018-02-20 16:23:56 +03:00
Nikolai Kochetov
d8b5f14dd7 updated MergeTreePrewhereRangeReader; renamed MergeTreePrewhereRangeReader to MergeTreeRangeReader 2018-02-20 15:26:09 +03:00
Nikolai Kochetov
d2d0d570d8 updated MergeTreePrewhereRangeReader; renamed MergeTreePrewhereRangeReader to MergeTreeRangeReader 2018-02-20 15:09:32 +03:00
Nikolai Kochetov
77a3989558 updated MergeTreePrewhereRangeReader; renamed MergeTreePrewhereRangeReader to MergeTreeRangeReader 2018-02-20 15:02:25 +03:00
Nikolai Kochetov
58b6b7570f updated MergeTreePrewhereRangeReader; renamed MergeTreePrewhereRangeReader to MergeTreeRangeReader 2018-02-20 14:54:32 +03:00
Nikolai Kochetov
af6895ee6f updated MergeTreePrewhereRangeReader; renamed MergeTreePrewhereRangeReader to MergeTreeRangeReader 2018-02-20 14:50:33 +03:00
Nikolai Kochetov
ce70d4faa9 updated MergeTreePrewhereRangeReader; renamed MergeTreePrewhereRangeReader to MergeTreeRangeReader 2018-02-20 14:45:58 +03:00
Nikolai Kochetov
af9ac7b48b merged with master 2018-02-20 12:27:47 +03:00
Nikolai Kochetov
82c76d8467 added MergeTreePrewhereRangeReader 2018-02-20 12:23:02 +03:00
Alexey Vasiliev
376f283b84 Sort ConfigProcessor files before use [#CLICKHOUSE-3436, #METRIQA-1971] 2018-02-20 11:50:11 +03:00
Alexey Milovidov
8942d7c127 Added method "getHeader" in IBlockOutputStream: development [#CLICKHOUSE-2] 2018-02-20 04:38:42 +03:00
zhang2014
219de205e3 ISSUES-995 fix cut www 2018-02-20 09:34:50 +08:00
Alexey Milovidov
13f1d5c67d Added method "getHeader" in IBlockOutputStream: development [#CLICKHOUSE-2] 2018-02-20 04:25:56 +03:00
Alexey Milovidov
fa6420b34d Added method "getHeader" in IBlockOutputStream: development [#CLICKHOUSE-2] 2018-02-20 04:14:38 +03:00
zhang2014
3f8c42c97d ISSUES-995 add test 2018-02-20 08:45:32 +08:00
Alexey Milovidov
4add285d55 Added method "getHeader" in IBlockOutputStream: development [#CLICKHOUSE-2] 2018-02-20 02:39:16 +03:00
Alexey Milovidov
bb05235608 Added method "getHeader" in IBlockOutputStream: development [#CLICKHOUSE-2] 2018-02-20 00:01:46 +03:00
Alexey Milovidov
582798b77f Added method "getHeader" in IBlockOutputStream: development [#CLICKHOUSE-2] 2018-02-19 23:42:05 +03:00
Alexey Milovidov
ee4b5d2527 Added method "getHeader" in IBlockOutputStream: development [#CLICKHOUSE-2] 2018-02-19 23:23:25 +03:00
Alexey Milovidov
b747c83b15 Added method "getHeader" in IBlockOutputStream: development [#CLICKHOUSE-2] 2018-02-19 22:18:51 +03:00
Alexey Milovidov
3b550789b0 Added method "getHeader" in IBlockOutputStream: development [#CLICKHOUSE-2] 2018-02-19 21:15:30 +03:00
Alexey Milovidov
d0bfa15525 Removed UnsortedMergeTree, part 2 [#CLICKHOUSE-2] 2018-02-19 20:31:49 +03:00
Alexey Milovidov
7ff1346685 Removed UnsortedMergeTree, part 2 [#CLICKHOUSE-2] 2018-02-19 20:31:30 +03:00
Vitaliy Lyudvichenko
585b80acf5 Fixed typo. [#CLICKHOUSE-3346] 2018-02-19 20:26:47 +03:00
Vitaliy Lyudvichenko
369f88f65d Rewritten and improved sync distributed insert. [#CLICKHOUSE-3346] 2018-02-19 20:26:47 +03:00
Vitaliy Lyudvichenko
f6a63c4d0c Autoupdate of ClusterCopier settings. [#CLICKHOUSE-3346] 2018-02-19 20:26:47 +03:00
Vitaliy Lyudvichenko
2e2c70edb5 Add table retries. [#CLICKHOUSE-3346] 2018-02-19 20:24:54 +03:00
alexey-milovidov
0d38418122
Merge pull request #1926 from yandex/empty-string-floats
Deserialize empty strings as 0 when parsing Float columns
2018-02-19 16:29:03 +03:00
Alexey Zatelepin
8e3bf95f98 add test [#CLICKHOUSE-3603] 2018-02-19 16:00:11 +03:00
Alexey Zatelepin
ba43aaa5c0 parse empty strings as 0.0 when parsing Floats [#CLICKHOUSE-3603] 2018-02-19 15:40:43 +03:00
zhang2014
bd10613c47 ISSUES-995 support relative path 2018-02-19 19:49:49 +08:00
zhang2014
bf4813921c ISSUES-995 add test 2018-02-19 19:49:03 +08:00
Alexey Milovidov
c3b0f0bceb Added method "getHeader" in IBlockOutputStream: development [#CLICKHOUSE-2] 2018-02-19 07:30:11 +03:00
Alexey Milovidov
399ede6404 Added method "getHeader" in IBlockOutputStream: development [#CLICKHOUSE-2] 2018-02-19 07:29:56 +03:00
Alexey Milovidov
92cfa63e29 Added method "getHeader" in IBlockOutputStream: development [#CLICKHOUSE-2] 2018-02-19 07:12:50 +03:00
Alexey Milovidov
17320cc40b Added method "getHeader" in IBlockOutputStream: development [#CLICKHOUSE-2] 2018-02-19 07:12:30 +03:00
Alexey Milovidov
f6766c89c4 Added method "getHeader" in IBlockOutputStream: development [#CLICKHOUSE-2] 2018-02-19 07:12:08 +03:00
Alexey Milovidov
900755555f Added method "getHeader" in IBlockOutputStream: development [#CLICKHOUSE-2] 2018-02-19 07:11:55 +03:00
Alexey Milovidov
8d9fc36ac8 Added method "getHeader" in IBlockOutputStream: development [#CLICKHOUSE-2] 2018-02-19 07:03:59 +03:00
Alexey Milovidov
307fc93d1d Added method "getHeader" in IBlockOutputStream: development [#CLICKHOUSE-2] 2018-02-19 07:03:31 +03:00
Alexey Milovidov
8b7003ade6 Added method "getHeader" in IBlockOutputStream: development [#CLICKHOUSE-2] 2018-02-19 06:57:24 +03:00
Alexey Milovidov
74c56c2def Added method "getHeader" in IBlockOutputStream: development [#CLICKHOUSE-2] 2018-02-19 06:56:08 +03:00
Alexey Milovidov
cd7a4de412 Added method "getHeader" in IBlockOutputStream: development [#CLICKHOUSE-2] 2018-02-19 06:00:16 +03:00
Alexey Milovidov
fa50fe80a0 Added method "getHeader" in IBlockOutputStream: development [#CLICKHOUSE-2] 2018-02-19 03:45:32 +03:00
alexey-milovidov
240d907ec3
Merge pull request #1922 from yandex/aggregation-by-empty-set
Aggregation by empty set
2018-02-18 09:37:03 +03:00
Alexey Milovidov
25ba8d47bb Updated test [#CLICKHOUSE-1920] #51 2018-02-18 09:36:34 +03:00
Alexey Milovidov
18a90b1a54 Fixed error [#CLICKHOUSE-1920] #51 2018-02-18 09:12:34 +03:00
Alexey Milovidov
d4710c78bf Fixed error [#CLICKHOUSE-1920] #51 2018-02-18 09:12:19 +03:00
Alexey Milovidov
6d17ca0a8b Return single row for aggregation without keys on empty set: updated tests [#CLICKHOUSE-1920] #51 2018-02-18 08:56:45 +03:00
Alexey Milovidov
47ff837c9f Return single row for aggregation without keys on empty set: development [#CLICKHOUSE-1920] #51 2018-02-18 08:39:39 +03:00
Alexey Milovidov
7415513151 Return single row for aggregation without keys on empty set: development [#CLICKHOUSE-1920] #51 2018-02-18 08:35:48 +03:00
alexey-milovidov
d73080640d
Merge pull request #1921 from yandex/header-in-input-streams
Header in input streams
2018-02-18 07:58:04 +03:00
Alexey Milovidov
a4c10f7499 Header in every stream: development [#CLICKHOUSE-2] 2018-02-18 07:17:11 +03:00
Alexey Milovidov
afe09d3138 Removed unused code [#CLICKHOUSE-2] 2018-02-18 06:46:18 +03:00
Alexey Milovidov
754a4296df Header in every stream: fixed non-deterministic test [#CLICKHOUSE-2] 2018-02-18 06:23:48 +03:00
Alexey Milovidov
8a88aeb931 Header in every stream: fixed non-deterministic test [#CLICKHOUSE-2] 2018-02-18 05:58:42 +03:00
Alexey Milovidov
0c0b1f43e9 Header in every stream: fixed non-deterministic test [#CLICKHOUSE-2] 2018-02-18 05:58:07 +03:00
Alexey Milovidov
d6d7b3e7e4 Header in every stream: development [#CLICKHOUSE-2] 2018-02-18 05:46:39 +03:00
Alexey Milovidov
95d2d68c7d Header in every stream: development [#CLICKHOUSE-2] 2018-02-18 05:22:32 +03:00
Alexey Milovidov
df85676c17 Header in every stream: development [#CLICKHOUSE-2] 2018-02-18 04:20:29 +03:00
Alexey Milovidov
8a6cd1d658 Header in every stream: development [#CLICKHOUSE-2] 2018-02-18 04:20:14 +03:00
Alexey Milovidov
df4853a13a Header in every stream: development [#CLICKHOUSE-2] 2018-02-18 03:37:22 +03:00
Alexey Milovidov
2cf73473f7 Added test [#CLICKHOUSE-2754] 2018-02-18 00:26:59 +03:00
Alexey Milovidov
cb7719b062 Added test [#CLICKHOUSE-2754] 2018-02-18 00:26:22 +03:00
Alexey Milovidov
ff235fc506 Header in every stream: development [#CLICKHOUSE-2] 2018-02-18 00:08:21 +03:00
Alexey Milovidov
9e1638e1dd Header in every stream: development [#CLICKHOUSE-2] 2018-02-17 20:09:18 +03:00
Alexey Milovidov
84c110a8ae Header in every stream: development [#CLICKHOUSE-2] 2018-02-17 07:18:29 +03:00
Alexey Milovidov
dba529d674 Header in every stream: development [#CLICKHOUSE-2] 2018-02-17 07:13:49 +03:00
Alexey Milovidov
999d59e5ac Header in every stream: development [#CLICKHOUSE-2] 2018-02-17 06:49:34 +03:00
Alexey Milovidov
d02874bf54 Header in every stream: development [#CLICKHOUSE-2] 2018-02-17 06:06:01 +03:00
Alexey Milovidov
3204b9688c Header in every stream: development [#CLICKHOUSE-2] 2018-02-17 05:35:09 +03:00
Alexey Milovidov
6f96857427 Header in every stream: development [#CLICKHOUSE-2] 2018-02-17 05:27:34 +03:00
Alexey Milovidov
fb0920ff98 Whitespace [#CLICKHOUSE-2] 2018-02-17 01:33:46 +03:00
Alexey Milovidov
a673790748 Header in every stream: development [#CLICKHOUSE-2] 2018-02-16 23:53:47 +03:00
Alexey Milovidov
a074b777da Fixed compatibility with older clients #1918 2018-02-16 22:34:45 +03:00
Alexey Milovidov
a849bb8c04 Fixed compatibility with older clients #1918 2018-02-16 22:34:21 +03:00
Alexey Milovidov
d76feb779c Header in every stream: development [#CLICKHOUSE-2] 2018-02-16 22:04:27 +03:00
Alexey Milovidov
c320b360c6 Merge branch 'master' of github.com:yandex/ClickHouse into header-in-input-streams 2018-02-16 21:23:29 +03:00
robot-metrika-test
63c826788f Auto version update to [54354] 2018-02-16 20:44:58 +03:00
proller
db8ea9205c
LibraryDictionarySource: api v2 with strings (#1915)
* LibraryDictionarySource: Support numeric types, initial support for strings
2018-02-16 20:12:22 +03:00
Alexey Zatelepin
87b72b8e39 rename musl_exp10 -> preciseExp10 for coding style compatibility 2018-02-16 17:51:14 +03:00
Alexey Zatelepin
8fdb68ef79 add musl_ prefix to exp10 functions to avoid confusion with symbols from the system libm 2018-02-16 17:01:50 +03:00
zhang2014
079223b89d ISSUES-369 add test 2018-02-16 16:07:34 +08:00
zhang2014
5f0ecd7fbd ISSUES-369 fix restart error 2018-02-16 15:47:35 +08:00
zhang2014
cfb2efbaa6 ISSUES-369 add default database when create materialize view 2018-02-16 15:10:42 +08:00
Alexey Milovidov
264e6cbc84 Header in every stream: development [#CLICKHOUSE-2] 2018-02-16 00:31:09 +03:00
proller
d2fcfb3de6 Allow to disable compiling -server or other parts to static binary 2018-02-15 23:57:08 +03:00
Alexey Milovidov
b80a42ec65 Merge branch 'master' of github.com:yandex/ClickHouse into header-in-input-streams 2018-02-15 22:50:21 +03:00
Alexey Milovidov
69a9723ce2 Header in every stream: development [#CLICKHOUSE-2] 2018-02-15 22:48:41 +03:00
Alexey Milovidov
30b657a0da Header in every stream: development [#CLICKHOUSE-2] 2018-02-15 21:54:12 +03:00
Alexey Milovidov
0cdfadeb5a Removed useless method [#CLICKHOUSE-2] 2018-02-15 19:54:14 +03:00
Alexey Milovidov
e658741ccf Removed useless methods [#CLICKHOUSE-2] 2018-02-15 19:29:34 +03:00
robot-metrika-test
2f59713143 Auto version update to [54353] 2018-02-15 19:27:50 +03:00
Alexey Milovidov
921e09b5f8 Merge branch 'master' into header-in-input-streams 2018-02-15 19:20:36 +03:00
Alexey Milovidov
6b9b8c1f83 Merge branch 'master' of github.com:yandex/ClickHouse 2018-02-15 19:10:43 +03:00
Alexey Milovidov
4b2cff20ea Whitespace [#CLICKHOUSE-2] 2018-02-15 19:10:25 +03:00
Vitaliy Lyudvichenko
ca0cdc35eb A test was enhanced. [#CLICKHOUSE-2] 2018-02-15 18:48:26 +03:00
javi
e08199c81a removed extra line break 2018-02-15 16:53:55 +03:00
javi
e69421e7a6 fixed function and added test and doc 2018-02-15 16:53:55 +03:00
javi santana
c810db2a01 tests wip 2018-02-15 16:53:55 +03:00
javi santana
0297a598b9 function working 2018-02-15 16:53:55 +03:00
javi
95211cde25 added basic cumsum impl 2018-02-15 16:53:55 +03:00
Alexey Milovidov
e37aad9111 Merge branch 'master' of github.com:yandex/ClickHouse 2018-02-15 16:13:58 +03:00
Arsen Hakobyan
7a77b8abf0 Improvements done according to requested changes 2018-02-15 17:08:23 +04:00
Arsen Hakobyan
8b8c7a64b4 Merge branch 'master' of https://github.com/yandex/ClickHouse into dictionary-update 2018-02-15 12:07:58 +04:00
proller
10803568ad
Macos shared build fix (#1906) 2018-02-15 00:01:40 +03:00
robot-metrika-test
d7511761cf Auto version update to [54352] 2018-02-14 21:24:50 +03:00
Vitaliy Lyudvichenko
a4177287b1 Fixed too deep AST traversal. [#CLICKHOUSE-2] 2018-02-14 20:39:16 +03:00
proller
d2f1ef686e
Misc build and test fixes (#1905)
* Misc build fixes

* Fix apple tests
2018-02-14 20:27:14 +03:00
proller
7c7bdc5115
LibraryDictionarySource: Support numeric types, initial support for strings (#1903) 2018-02-14 18:03:48 +03:00
Kirill Shvakov
ddb618b1d7 Use custom expr for query log 2018-02-14 10:01:41 +02:00
Kirill Shvakov
034566fff3 Use custom partition key for the query logs table 2018-02-14 09:24:26 +02:00
zhang2014
92b27e7b79 ISSUES-117 define error code in InterpreterShowCreateQuery 2018-02-14 15:15:44 +08:00
zhang2014
f88f4567d0 ISSUES-117 add test 2018-02-14 12:37:39 +08:00
zhang2014
b89268ceb8 ISSUES-117 add show create & exist temporary table 2018-02-14 12:00:37 +08:00
zhang2014
eeae014a42 ISSUES-1885 use movemask & popcnt 2018-02-14 08:11:12 +08:00
proller
38343f7649 Internal compiler: write versions in header version mismatch message (using magic)
use same debug/release flags
2018-02-13 21:09:45 +03:00
proller
971df7b853 Try fix travis. Use less travis tests (#1897)
* Try fix travis. Use less travis tests

* Disable capnp heavy test

* Travis: add gcc in pbuilder

* Fix

* fix
2018-02-13 21:00:06 +03:00
robot-metrika-test
f30ab52834 Auto version update to [54351] 2018-02-13 16:17:02 +03:00
Vitaliy Lyudvichenko
075a3cd811 Use absoulte paths in Compiler. [#CLICKHOUSE-3573] 2018-02-13 13:32:14 +03:00
zhang2014
6033096fd1 ISSUES-1885 add performance test 2018-02-13 16:19:57 +08:00
zhang2014
0d8730c687 ISSUES-1885 fix signed problem 2018-02-13 13:46:16 +08:00
Alexey Milovidov
d8ac2382c4 Added performance test #1889 2018-02-13 00:19:56 +03:00
Nikolai Kochetov
7c69ecb3ef fix test [#CLICKHOUSE-3479] 2018-02-13 00:13:50 +03:00
Nikolai Kochetov
90d67d4e8a added test for moving partition from collapsing to versioned collapsing merge tree [#CLICKHOUSE-3479] 2018-02-13 00:13:50 +03:00
Nikolai Kochetov
36de8a2911 added secondary sort expression [#CLICKHOUSE-3479] 2018-02-13 00:13:50 +03:00
Nikolai Kochetov
64b3a8baa7 added secondary sort expression [#CLICKHOUSE-3479] 2018-02-13 00:13:50 +03:00
Nikolai Kochetov
cd7a5290b2 added tests for ReplicatedVersionedCollapsingMergeTree creation [#CLICKHOUSE-3479] 2018-02-13 00:13:50 +03:00
Nikolai Kochetov
67db049297 moved tests for vertical merge into autotests [#CLICKHOUSE-3479] 2018-02-13 00:13:50 +03:00
Nikolai Kochetov
4040e156b5 added checks and comments for FixedSizeDequeWithGaps; review fixes [#CLICKHOUSE-3479] 2018-02-13 00:13:50 +03:00
Nikolai Kochetov
beb866150d added checks and comments for FixedSizeDequeWithGaps; review fixes [#CLICKHOUSE-3479] 2018-02-13 00:13:50 +03:00
Nikolai Kochetov
40ef753992 added VersionedCollapsingMergeTree to help message [#CLICKHOUSE-3479] 2018-02-13 00:13:50 +03:00
Nikolai Kochetov
32bdf7c38c renamed MultiversionMergeTree to VersionedCollapsingMergeTree [#CLICKHOUSE-3479] 2018-02-13 00:13:50 +03:00
Nikolai Kochetov
81c61c9aa9 added test for vertical merge in MultiversionMergeTree [#CLICKHOUSE-3479] 2018-02-13 00:13:50 +03:00
Nikolai Kochetov
e997db55ef fix for vertical merge in MultiversionMergeTree [#CLICKHOUSE-3479] 2018-02-13 00:13:50 +03:00
Nikolai Kochetov
db0692eb7c added test for MultiversionMergeTree [#CLICKHOUSE-3479] 2018-02-13 00:13:50 +03:00
Nikolai Kochetov
66b94d481a added MultiversionMergeTree [#CLICKHOUSE-3479] 2018-02-13 00:13:50 +03:00
Alexey Milovidov
3656aa0606 Improved performance of function arrayElement with constant array when one of element is an empty array #1889 2018-02-13 00:06:13 +03:00
Vitaliy Lyudvichenko
ac0d1f8fba Addition to prev revision. [#CLICKHOUSE-2]
Add cluster(cluster_name, db, table) table function.
2018-02-12 23:44:59 +03:00
Vitaliy Lyudvichenko
40ac028e21 remote() table function accepts cluster name identifier as the 1st argument. [#CLICKHOUSE-2]
Add cluster(cluster_name, db, table) table function.
2018-02-12 23:35:56 +03:00
Vitaliy Lyudvichenko
d5fd8b9b5f Fix DROP MV with max_table_size_to_drop. [#CLICKHOUSE-3]
Resolves #1863
2018-02-12 23:35:56 +03:00
Vitaliy Lyudvichenko
56add902d4 Removed superfluous FORMAT statements in .sql files. [#CLICKHOUSE-3] 2018-02-12 23:35:56 +03:00
Vitaliy Lyudvichenko
56bc773249 Fixed exception catching thrown from compiled .so files. [#CLICKHOUSE-3573] 2018-02-12 23:33:31 +03:00
Alexey Milovidov
c104566eb8 Fixed performance regression in usage of COWPtr in complex cases [#CLICKHOUSE-3584]. 2018-02-12 23:10:24 +03:00
proller
2d9f66115f listen_try config option (#1892)
* Docker wip

* no tests

* fixes

* No tests

* Fixes

* Clean

* listen_try config option

* listen_try for tests
2018-02-12 22:36:18 +03:00
zhang2014
acb5b99195 ISSUES-1885 fix align bound 2018-02-12 16:05:24 +08:00
zhang2014
5f9292ac30 ISSUES-1885 resolve some opinions 2018-02-12 15:58:04 +08:00
zhang2014
73077e0245 ISSUES-1885 fix failed test 2018-02-12 15:31:54 +08:00
zhang2014
0f20952f2c ISSUES-1885 UTF8 countCodePoints use simd 2018-02-12 15:31:22 +08:00
Alexey Milovidov
f68600973f Fixed build [#CLICKHOUSE-2] 2018-02-12 04:11:28 +03:00
Alexey Milovidov
55c969d073 Added test [#CLICKHOUSE-2] 2018-02-12 03:55:46 +03:00
Alexey Milovidov
95bc1ffd2e Added functions parseDateTimeBestEffort, parseDateTimeBestEffortOrZero, parseDateTimeBestEffortOrNull [#CLICKHOUSE-2] 2018-02-12 02:57:07 +03:00
Alexey Milovidov
b5430b3885 Function "parseDateTimeBestEffort": development [#CLICKHOUSE-2] 2018-02-11 07:09:02 +03:00
Alexey Milovidov
c704f8b10c Fixed build #1879 2018-02-09 22:32:12 +03:00
alexey-milovidov
8fb9967903
Merge pull request #1879 from yandex/lambdas-without-prerequisites
Lambdas without prerequisites
2018-02-09 22:22:58 +03:00
alexey-milovidov
c5dd6a9fed
Update IFunction.h 2018-02-09 22:20:18 +03:00
alexey-milovidov
1c308d7d6b
Update IFunction.h 2018-02-09 22:15:40 +03:00
alexey-milovidov
1b2b31b24e
Update FunctionsMiscellaneous.h 2018-02-09 22:06:29 +03:00
alexey-milovidov
74a7a13ffa
Update ColumnFunction.h 2018-02-09 22:02:37 +03:00
alexey-milovidov
fb58050994
Update FunctionsMiscellaneous.h 2018-02-09 22:02:01 +03:00
alexey-milovidov
2224eb3936
Merge pull request #1880 from lugt/master
Fix on an compiling error
2018-02-09 21:12:33 +03:00
Alexey Milovidov
0bc7772bbf Miscellaneous #1881 #180 2018-02-09 21:10:32 +03:00
Alexey Milovidov
a101b735a6 Miscellaneous #1881 #180 2018-02-09 21:06:31 +03:00
zhang2014
7f4f723aa0 ISSUES-180 fix empty function with FixedString 2018-02-10 00:37:13 +08:00
alexey-milovidov
5502f5fbb8
Update ColumnsCommon.h 2018-02-09 18:09:33 +03:00
zhang2014
4e36616729 ISSUES-180 add test 2018-02-09 19:38:24 +08:00
zhang2014
7a1e5a0971 ISSUES-180 fix empty function with FixedString 2018-02-09 19:05:19 +08:00
Fruit of Eden
81f654fe40
Fix on an compiling error
added some non-effect code to avoid no-use-parameter occurence
2018-02-09 11:30:08 +08:00
Alexey Milovidov
7e83b8a729 Fixed build #1840 2018-02-09 00:15:46 +03:00
alexey-milovidov
d3160393c5
Merge branch 'master' into CLICKHOUSE-3554 2018-02-08 23:07:50 +03:00
Alexey Milovidov
c942da4141 Fixed build #1824 2018-02-08 22:53:34 +03:00
alexey-milovidov
d6b7233aa3
Merge pull request #1824 from zhang2014/fix/ISSUES-117
ISSUES-117 support temporary table management
2018-02-08 22:42:10 +03:00
alexey-milovidov
960fad130c
Update InterpreterShowTablesQuery.cpp 2018-02-08 22:41:10 +03:00
alexey-milovidov
8b2678328e
Update StorageSystemTables.cpp 2018-02-08 22:40:41 +03:00
Alexey Milovidov
5872cd5b63 Removed useless code [#CLICKHOUSE-2] 2018-02-08 22:20:24 +03:00
alexey-milovidov
121b163735
Update InterpreterShowTablesQuery.cpp 2018-02-08 22:14:59 +03:00
alexey-milovidov
a69dd93aab
Update InterpreterDropQuery.cpp 2018-02-08 22:14:22 +03:00
proller
82d74f5ab3 Allow redefine server config via command line: clickhouse-server -- --logger.level=information (#1811)
* Aloow redefine server config via command line: clickhouse-server -- --logger.level=information

* style

* fix

* BaseDaemon: Simpler createDirectory

* Allow --key value

* Update BaseDaemon.cpp

* Update BaseDaemon.cpp
2018-02-08 22:12:37 +03:00
Nikolai Kochetov
e02ca10b9a merged with master 2018-02-08 20:46:22 +03:00
alexey-milovidov
2e115dff1b
Merge pull request #1823 from chenxing-xc/master
fix endless query issue
2018-02-08 20:41:52 +03:00
alexey-milovidov
bca723b06b
Update MergeTreeBaseBlockInputStream.cpp 2018-02-08 20:41:36 +03:00
alexey-milovidov
1d8cfa351d
Update MergeTreeBaseBlockInputStream.cpp 2018-02-08 20:40:23 +03:00
Nikolai Kochetov
bad2b8c032 fix build [#CLICKHOUSE-3550] 2018-02-08 20:20:12 +03:00
Nikolai Kochetov
733450d1dd added more comments [#CLICKHOUSE-3550] 2018-02-08 20:20:10 +03:00
Nikolai Kochetov
64b0279af5 removed ColumnExpression and DataTypeExpression [#CLICKHOUSE-3550] 2018-02-08 20:20:10 +03:00
Nikolai Kochetov
27179b375a removed prerequisites [#CLICKHOUSE-3550] 2018-02-08 20:18:52 +03:00
Nikolai Kochetov
583ff32fe8 changed IFunction 2018-02-08 20:18:15 +03:00
Alexey Milovidov
03adf79fdc Miscellaneous #320 #1763 2018-02-08 20:17:48 +03:00
Alexey Milovidov
75fb48c94c Miscellaneous #1763 #320 2018-02-08 20:10:35 +03:00
alexey-milovidov
287dbcc3dd
Merge pull request #1763 from zhang2014/fix/ISSUES-320
ISSUES-320 Fix rewrite expression
2018-02-08 20:07:50 +03:00
alexey-milovidov
b7d0ae49fd
Merge pull request #1844 from bocharov/master
Fix uniqHLL12 and uniqCombined for cardinalities 100M+.
2018-02-08 20:01:45 +03:00
robot-metrika-test
3bb75a9b6e Auto version update to [54350] 2018-02-08 19:59:51 +03:00
proller
41ad692cef
Pbuilder ccache fixes (#1878)
* Pbuilder ccache fixes
2018-02-08 19:41:30 +03:00
Alexey Milovidov
953ab16cde Miscellaneous #1853 2018-02-08 18:31:37 +03:00
Alexey Milovidov
777b4404bd Fixed build #1853 2018-02-08 18:25:46 +03:00
alexey-milovidov
5a03f9e0fb
Merge pull request #1853 from ilyshnikova/master
Implement MergeTree index using for IN operator with tuple of columns.
2018-02-08 18:03:23 +03:00
Tsarkova Anastasia
5ecd50ff44 Adding comments. Reversing infinities. 2018-02-08 17:28:31 +03:00
Vitaliy Lyudvichenko
c575a7fe8a Fix DROP of virtual databases. Add requested changes. [#CLICKHOUSE-3554] 2018-02-08 17:17:51 +03:00
Vitaliy Lyudvichenko
42754a5327 Add new virtual columns into system.tables. [#CLICKHOUSE-3554] 2018-02-08 17:15:40 +03:00
robot-metrika-test
cbda6c2b21 Auto version update to [54349] 2018-02-08 14:37:41 +03:00
alexey-milovidov
20686ab405
Merge pull request #1847 from yandex/CLICKHOUSE-3558
Add system_profile setting
2018-02-07 21:29:04 +03:00
alexey-milovidov
8dc7b7338c
Update config.xml 2018-02-07 21:28:39 +03:00
alexey-milovidov
b7a09d160d
Merge pull request #1857 from gerasim13/null-values-support-for-string-field
allow nulls in string field (mongodb dictionary)
2018-02-07 20:49:56 +03:00
alexey-milovidov
22263ad627
Update MongoDBDictionarySource.cpp 2018-02-07 20:49:41 +03:00
robot-metrika-test
df6ed74388 Auto version update to [54348] 2018-02-07 20:18:35 +03:00
proller
15e77ec688 Build and test fixes:
Dont test symbols with gdb
    Travis: add clang6 + ubuntu bionic (disabled)
    Travis: dont run tests with gcc7 (too long, does not fit to limit)
    Allow use clang-7 as internal compiler: -DCMAKE_CXX_COMPILER=clang++-7 -DCMAKE_C_COMPILER=clang-7 -DLLVM_VERSION_POSTFIX=-7
    Debian: Fix package install (old version can't do service clickhouse disable_cron)
    Build fixes (ubuntu bionic + clang6.0)
    Update internal compiler clang6.0 to rc1
2018-02-07 18:58:48 +03:00
Tsarkova Anastasia
938cb2b57a Considering set first. 2018-02-07 18:29:00 +03:00
Tsarkova Anastasia
c50ccabb0a Implement MergeTree index using for IN operator with tuple of columns. 2018-02-07 18:29:00 +03:00
robot-metrika-test
124822e250 Auto version update to [54347] 2018-02-07 18:27:54 +03:00
Alexey Zatelepin
c379f56a75 add failover in getStructureOfRemoteTable() function [#CLICKHOUSE-3566] 2018-02-07 17:55:23 +03:00
robot-metrika-test
2e1d90915d Auto version update to [54346] 2018-02-07 17:54:16 +03:00
Vitaliy Lyudvichenko
ef98bff6e1
ClusterCopier improvements (#1869)
* Fixed race condition in StorageDistributed. [#CLICKHOUSE-2]

* ClusterCopier improvements. [#CLICKHOUSE-3346]

* Add performance metrics. [#CLICKHOUSE-3346]
2018-02-07 16:02:47 +03:00
Павел Литвиненко
95ec20d92a added is_object_id to list of valid config keys 2018-02-07 01:35:47 +03:00
Павел Литвиненко
8e61106450 add is_object_id property for determining when to use ObjectId 2018-02-07 00:34:56 +03:00
robot-metrika-test
20af4d45a9 Auto version update to [54345] 2018-02-07 00:00:52 +03:00
Alexey Milovidov
c38e85b1b2 Allow to parse DateTime as unix timestamp without single quotes in Values format #1850 2018-02-06 23:10:49 +03:00
Alexey Milovidov
02ae36fe0c Little better #1855 2018-02-06 21:43:28 +03:00
alexey-milovidov
48a29d6474
Merge pull request #1855 from zhang2014/fix/ISSUES-67
ISSUES-67 Use initial column values with default expression
2018-02-06 21:41:43 +03:00
Alexey Milovidov
5324571adf Removed setting "distributed_ddl_allow_replicated_alter" [#CLICKHOUSE-2]. 2018-02-06 21:29:35 +03:00
Alexey Milovidov
7a793e1a80 Removed duplicate comments for embedded documentation of Settings; cleanup [#CLICKHOUSE-2] 2018-02-06 21:28:07 +03:00
Павел Литвиненко
abf0a603c1 this make me crazy, how to retrieve document from array??? 2018-02-06 16:04:19 +03:00
Павел Литвиненко
d0e386a13d no message 2018-02-06 15:53:50 +03:00
Павел Литвиненко
b6f3a2565c convert to objectid without use of any property in config 2018-02-06 15:46:48 +03:00
Павел Литвиненко
6a12d30f78 handle default value 2018-02-06 15:39:16 +03:00
Павел Литвиненко
c2545194b6 revert 2018-02-06 15:18:20 +03:00
Павел Литвиненко
53133f76a7 trying to query without $or 2018-02-06 14:43:09 +03:00
Павел Литвиненко
f0f03596c4 revert 2018-02-06 14:15:13 +03:00
Павел Литвиненко
bb90a9742c add ability to query by objectid 2018-02-06 13:03:04 +03:00
Alexey Milovidov
468a280a94 Fixed bug [#CLICKHOUSE-3561] 2018-02-05 23:33:17 +03:00
Alexey Milovidov
300d8de50b Removed useless line of code [#CLICKHOUSE-2] 2018-02-05 23:32:53 +03:00
Alexey Milovidov
d1785d92a7 Make Enum comparable again [#CLICKHOUSE-3560]. 2018-02-05 21:39:45 +03:00
Alexey Milovidov
d62cb6162b Miscellaneous [#CLICKHOUSE-3559] 2018-02-05 21:25:35 +03:00
Alexey Milovidov
5e37021c18 Added another test [#CLICKHOUSE-3559]. 2018-02-05 21:17:02 +03:00
Alexey Milovidov
4c46a89196 Added another test [#CLICKHOUSE-3559]. 2018-02-05 21:15:47 +03:00
Alexey Milovidov
8b010428a5 Added test [#CLICKHOUSE-3559]. 2018-02-05 21:06:16 +03:00
Alexey Milovidov
4e69ba675d Fixed trash code [#CLICKHOUSE-3559]. 2018-02-05 20:57:38 +03:00
Alexey Milovidov
1ec60b69e2 Miscellaneous [#CLICKHOUSE-3559] 2018-02-05 20:56:50 +03:00
Alexey Milovidov
71ea3774a3 Removed useless method (preparation) [#CLICKHOUSE-3559]. 2018-02-05 20:12:30 +03:00
Alexey Milovidov
16ff7b7563 Better exception message for "Different expressions with the same alias" [#METRIKASUPP-8947]. 2018-02-05 17:03:01 +03:00
Павел Литвиненко
2e847d1a1b fix std::exception. Code: 1001, type: std::logic_error, e.what() = basic_string::_S_construct null not valid 2018-02-04 17:43:29 +03:00
Павел Литвиненко
4ebde2ac7e allow nulls in string field 2018-02-04 17:15:22 +03:00
zhang2014
9f66acaec5 ISSUES-117 add show temporary table test 2018-02-03 16:00:18 +08:00
zhang2014
62b6a9e07c ISSUES-117 resolve some opinions 2018-02-03 16:00:14 +08:00
zhang2014
5e001ba8e0 ISSUES-67 Use initial column values with default expression 2018-02-03 15:42:40 +08:00
zhang2014
551910d1e2 ISSUES-67 add test 2018-02-03 14:49:49 +08:00
robot-metrika-test
3c607171d2 Auto version update to [54344] 2018-02-02 21:25:45 +03:00
proller
0c00e47930 Fix tests 2018-02-02 20:29:45 +03:00
zhang2014
982b2ee7ca ISSUES-117 resolve some opinions 2018-02-02 22:20:35 +08:00
zhang2014
4875a80825 Merge branch 'master' into fix/ISSUES-117 2018-02-02 20:21:40 +08:00
proller
c1c512766d Fix LibraryDictionarySource reload 2018-02-01 22:56:22 +03:00
Vitaliy Lyudvichenko
118b17253e Add system_profile config. [#CLICKHOUSE-3558] 2018-02-01 16:53:44 +03:00
Pavel Litvinenko
7db8e99300 Поддержка Mongo ObjectId (#1833)
* update build script (gcc-5 -> gcc-7)

* add gitlab-ci

* sadly but my gitlab worker doesn't have make

* fix gitlkab-ci config

* fix the input device is not a TTY

* set runner tag to docker

* allow to use ObjectId in clickhouse (oid will be converted to string)

* update ci config

* code review
2018-02-01 14:26:44 +03:00
zhang2014
bfd19965b5 ISSUES-117 fix failed test 2018-01-31 23:56:52 +08:00
zhang2014
c74970c098 ISSUES-195 fix complex in expression with single element 2018-01-31 16:38:48 +03:00
Alex Bocharov
9963e2f160 Fix uniqHLL12 and uniqCombined for cardinalities 100M+.
* Changing size() return type from UInt32 to UInt64 to prevent overflow (this shouldn't break back compatibility).
 * Removing "big cardinalities fix" for cardinalities >2^32/30 as it was very inaccurate and for estimates >2^32 it was trying to do 'log' of negative number which is NaN and it was casted to 0.
 * Adding python script to show that intHash32 is not a good choice for HyperLogLog algorithm when it's used for linear counting branch of it.
 * Adding bash script to test uniq, uniqHLL12, uniqCombined on different set cardinalities.
 * Altering documentation of uniq* aggregate functions with recommendations to use uniq instead of uniqHLL12 or uniqCombined.
2018-01-31 11:36:01 +00:00
Vitaliy Lyudvichenko
94f38d744e
Merge pull request #1750 from yandex/CLICKHOUSE-3346
Fault-tolerant cluster copier util
2018-01-31 13:21:51 +03:00
Vitaliy Lyudvichenko
8e4007fb4e Renamed the failed test. [#CLICKHOUSE-2] 2018-01-30 13:51:21 +03:00
Vitaliy Lyudvichenko
a4248ad45c Resolves #1560. Fixed DROP DATABASE. [#CLICKHOUSE-3] 2018-01-30 13:51:19 +03:00
KochetovNicolai
71f43d9219
Update server-test.xml 2018-01-29 20:49:45 +03:00
KochetovNicolai
901c00f477
Rename 00563_insert_into_remote.sql to 00563_shard_insert_into_remote.sql 2018-01-29 20:48:52 +03:00
KochetovNicolai
66a5680ab9
Rename 00563_insert_into_remote.reference to 00563_shard_insert_into_remote.reference 2018-01-29 20:48:14 +03:00
KochetovNicolai
4a2582315b
Update server-test.xml 2018-01-29 20:09:14 +03:00
KochetovNicolai
1a7119a1c8
Update server-test.xml 2018-01-29 18:31:55 +03:00
Nikolai Kochetov
97d6c81b55 added <listen_host>::</listen_host> into server-test.xml 2018-01-29 16:35:30 +03:00
Nikolai Kochetov
21935dc53e removed remote(127.0.0.1) from tests 2018-01-29 14:40:28 +03:00
Nikolai Kochetov
277e3b8364 test for insert into remote table function 2018-01-29 13:08:25 +03:00
Nikolai Kochetov
b0f66bb234 remote don't use rpc for local replicas 2018-01-29 13:08:20 +03:00
zhang2014
19e7c291db ISSUES-117 support drop temporary table 2018-01-28 00:19:00 +08:00
zhang2014
bfe48f1255 ISSUES-117 support show tables with temporary table 2018-01-28 00:07:55 +08:00
proller
288c6c8406 Fix test in macos 2018-01-26 17:18:35 +03:00
alexey-milovidov
bea49ca136
Merge pull request #1741 from yandex/array-functions-hasAll-hasAny-intersect
Array functions hasAll hasAny arrayIntersect arrayResize
2018-01-26 12:06:48 +03:00
proller
63b3bccb04 Test and build fixes (#1822)
* Fix travis

* try

* try

* Disable macos

* Travis enable macos

* Fix

* fast_finish: true

* fix

*  fxi

* fix openssl

* fix

* fix

* Fix

* try travis

* fix

* fix

* Cmake: dont filter platform-depended files in cmake

* misc

* renamed:    tests/server_wrapper.sh -> tests/clickhouse-test-serve

* install clickhouse-test-server

* clickhouse-test-server wip

* wip
2018-01-26 12:03:38 +03:00