Commit Graph

11237 Commits

Author SHA1 Message Date
proller
42cb1540a1
Update ClientInfo.h 2018-04-16 23:12:44 +03:00
Alexey Milovidov
1fdea85e21 Adjusted racy test [#CLICKHOUSE-2] 2018-04-16 21:51:13 +03:00
Nikolai Kochetov
73cf78eec9 updated test 2018-04-16 18:48:27 +03:00
Nikolai Kochetov
d9ab10634a fix build 2018-04-16 18:39:12 +03:00
Nikolai Kochetov
9e05052c2a merged with master 2018-04-16 18:35:11 +03:00
Nikolai Kochetov
7b8a306e34 minor fixes 2018-04-16 18:11:13 +03:00
sundy-li
12211ffc5b Fix:ignore the format_version check when the data is empty 2018-04-16 18:04:59 +08:00
proller
0114b69f61 Fix build 2018-04-13 23:16:12 +03:00
proller
f9cd6a09e6 sql: initial EXTRACT(... FROM ...) support (#2196)
* start

* wip

* wip

* wip

* wip

* wip

* Fix clickhouse-server.postinst

* clean

* wip

* clean

* clean

* clean

* wip

* clean

* Update dump_variable.cpp
2018-04-13 22:35:08 +03:00
Alexey Milovidov
bc47a49d58 Added a test #2208 2018-04-13 21:49:23 +03:00
robot-metrika-test
bf5763e525 Auto version update to [54378] 2018-04-13 15:44:34 +03:00
proller
5b19d89133 Add git hash to version info 2018-04-13 15:42:35 +03:00
robot-metrika-test
fe6feb3a69 Auto version update to [54377] 2018-04-11 17:23:50 +03:00
robot-metrika-test
50c2252c31 Auto version update to [54376] 2018-04-10 21:29:22 +03:00
proller
4034fcecf3 Merge remote-tracking branch 'upstream/master' into fix15 2018-04-10 21:27:21 +03:00
proller
0c2ba39978
Debian: Try make compatible package depends (#2194)
* Fix split shared build

* Fix build without system odbc libs

* Move dbms/src/Common/iostream_debug_helpers.h -> libs/libcommon/include/common/iostream_debug_helpers.h

* Fix build with libiodbc

* Fix clickhouse-server.postinst

* Debian: Try make compatible package depends

* Try fix fail on travis tests fail

* Try fix package

* Fix ssl test

* fix

* fix

* wip

* try fix

* clean

* fix
2018-04-10 11:25:08 -07:00
Alexey Milovidov
2392f87dca ZooKeeper: Fixed error [#CLICKHOUSE-2] 2018-04-10 19:48:43 +03:00
proller
157067b127 CLICKHOUSE-3700: Fix empty password on replica query 2018-04-10 17:49:52 +03:00
decaseal
c641a6cd57 table function file - remove unnecessary includes [#add_table_function_file] 2018-04-10 11:59:53 +03:00
decaseal
40b41c3c6e storage file - change error code [#add_table_function_file] 2018-04-10 11:54:31 +03:00
decaseal
e8ae0343ed Merge remote-tracking branch 'yandex/master' into add_table_function_file_dev 2018-04-10 10:30:46 +03:00
decaseal
50f65890dc table function file - use only FileStorage [#add_table_function_file] 2018-04-10 10:28:57 +03:00
decaseal
a2db6db50c table function file - use only FileStorage [#add_table_function_file] 2018-04-10 10:26:33 +03:00
decaseal
279fa17ff6 storage file - fix check creation is allowed [#add_table_function_file] 2018-04-10 10:09:50 +03:00
Alexey Milovidov
d3cf85057b Removed useless code [#CLICKHOUSE-2] 2018-04-09 18:49:12 +03:00
proller
c26b3bdef1
Fix split shared build; fix build without system odbc libs (#2191)
* Fix split shared build

* Fix build without system odbc libs

* Move dbms/src/Common/iostream_debug_helpers.h -> libs/libcommon/include/common/iostream_debug_helpers.h

* Fix build with libiodbc
2018-04-09 06:52:39 -07:00
Alexey Milovidov
f02239a307 Fixed linkage of tests [#CLICKHOUSE-2] 2018-04-08 07:54:23 +03:00
Alexey Milovidov
79e319a7b6 ZooKeeper: fixed error [#CLICKHOUSE-2] 2018-04-08 07:45:59 +03:00
Alexey Milovidov
a2482f120d Fixed test [#CLICKHOUSE-2] 2018-04-08 07:38:27 +03:00
Alexey Milovidov
86317fe0f9 ZooKeeper: Fixed error [#CLICKHOUSE-2] 2018-04-08 07:25:13 +03:00
proller
07b81c875e CLICKHOUSE-3444: show error for old query on replace_running_query (#2127)
* Add tests

* Fix test

* Fix test build

* CLICKHOUSE-3444: show error for replace_running_query

* fix naming

* fix

* fix test

* Update IProfilingBlockInputStream.cpp
2018-04-07 06:49:49 +03:00
Alexey Milovidov
babfc6aaf7 Fixed error [#CLICKHOUSE-2] 2018-04-07 06:46:20 +03:00
Alexey Milovidov
18bbd0e61b Moved SessionPoolHelpers #2180 2018-04-07 06:07:32 +03:00
Alexey Milovidov
f40817f851 Moved SessionPoolHelpers #2180 2018-04-07 06:07:26 +03:00
Alexey Milovidov
3f264f07e9 Removed excessive library dependencies #2180 2018-04-07 05:29:12 +03:00
Alexey Milovidov
3fd2773151 Improved code after introduction of method "getHeader" in every stream [#CLICKHOUSE-2] 2018-04-07 04:46:50 +03:00
Alexey Milovidov
0a4b349f73 Merge branch 'master' of github.com:yandex/ClickHouse 2018-04-07 00:47:18 +03:00
Alexey Milovidov
4e5e0fa664 ReplicatedMergeTree: Better diagnostics [#CLICKHOUSE-2] 2018-04-07 00:46:57 +03:00
alexey-milovidov
84726e17e8
Merge pull request #2185 from yandex/fix-leader-election-race
Fix races in leader election.
2018-04-07 00:18:26 +03:00
robot-metrika-test
984d7044ac Auto version update to [54375] 2018-04-06 23:52:52 +03:00
Alexey Milovidov
9b3169a331 Fixed build with clang 5 (although it is Ok on clang 6) [#CLICKHOUSE-2] 2018-04-06 23:03:35 +03:00
Alexey Milovidov
708dc5ef82 ZooKeeper: fixed error [#CLICKHOUSE-2] 2018-04-06 22:54:18 +03:00
Alexey Milovidov
0d8d99e7a4 Fixed typo [#CLICKHOUSE-2] 2018-04-06 22:48:54 +03:00
Alexey Milovidov
ee7fe63b69 Avoid herd effect in ReplicatedMergeTreeCleanupThread (continued) [#CLICKHOUSE-2] 2018-04-06 22:44:55 +03:00
Alexey Milovidov
fa776b93c2 Avoid herd effect in ReplicatedMergeTreeCleanupThread [#CLICKHOUSE-2] 2018-04-06 22:43:37 +03:00
Alexey Milovidov
af226d62f5 Fixed totally wrong code in SummingMergeTree in the case of complex maps [#CLICKHOUSE-2] 2018-04-06 21:09:20 +03:00
Alexey Milovidov
47637c7885 Actualized test #1846 2018-04-06 19:26:38 +03:00
Alexey Zatelepin
3a8ca70d1f fix races in leader election [#CLICKHOUSE-3533] 2018-04-06 19:10:23 +03:00
decaseal
139b40f976 storage file - fix check creation is allowed [#add_table_function_file] 2018-04-06 16:43:29 +03:00
decaseal
22870e1e24 table function file - fix data path [#add_table_function_file] 2018-04-06 16:36:17 +03:00
decaseal
157d51446b Merge remote-tracking branch 'yandex/master' into add_table_function_file_dev 2018-04-06 15:55:02 +03:00
decaseal
92416c3333 table function file - fix [#add_table_function_file] 2018-04-06 15:39:30 +03:00
decaseal
194974f88d table function file - fix use storage file [#add_table_function_file] 2018-04-06 15:37:35 +03:00
decaseal
b9fee66dfa table function file - fix use storage file [#add_table_function_file] 2018-04-06 15:33:03 +03:00
decaseal
b3ed1c6cca table function file - fix use storage file [#add_table_function_file] 2018-04-06 15:32:29 +03:00
decaseal
5f52defb29 table function file - fix use storage file [#add_table_function_file] 2018-04-06 15:32:19 +03:00
decaseal
29b94a0467 table function file - fix use storage file [#add_table_function_file] 2018-04-06 15:25:14 +03:00
decaseal
9ebe22dd2c table function file - fix use storage file [#add_table_function_file] 2018-04-06 15:18:05 +03:00
decaseal
5b601b9153 table function file - fix use storage file [#add_table_function_file] 2018-04-06 15:13:08 +03:00
decaseal
dc60788fa5 table function file - use storage file [#add_table_function_file] 2018-04-06 15:10:22 +03:00
proller
e933d1a1ee
Cmake fixes (#2177)
* cmake fixes

* Fix test server config
2018-04-06 05:07:40 -07:00
decaseal
b8d010eb09 table function file - test db data path [#add_table_function_file] 2018-04-06 14:21:41 +03:00
decaseal
30e79f4c7d storage file - relative table path starts with db_dir_path [#add_table_function_file] 2018-04-06 13:35:52 +03:00
decaseal
8b96dc8c7e storage file - test db_dir_path [#add_table_function_file] 2018-04-06 13:24:12 +03:00
decaseal
7296bf2cb7 storage file - fix check table file path [#add_table_function_file] 2018-04-06 13:11:39 +03:00
decaseal
d56b78c073 storage file - test fd [#add_table_function_file] 2018-04-06 12:53:38 +03:00
decaseal
39cc42172d storage file - check table file path [#add_table_function_file] 2018-04-06 12:53:29 +03:00
decaseal
9404ddff84 table function file - test application context [#add_table_function_file] 2018-04-06 11:54:45 +03:00
Alexey Milovidov
9bbd8a968e ZooKeeper: clarifications [#CLICKHOUSE-2] 2018-04-06 09:22:59 +03:00
Alexey Milovidov
0771874695 ZooKeeper: Fixed error when exception is thrown while session expiration and not all callbacks are called [#CLICKHOUSE-2] 2018-04-06 09:19:53 +03:00
Alexey Milovidov
775daa0fe9 Little better [#CLICKHOUSE-2] 2018-04-06 08:49:03 +03:00
Alexey Milovidov
3884146d92 Little better [#CLICKHOUSE-2] 2018-04-06 08:44:17 +03:00
Alexey Milovidov
ac58f92a97 Fixed error with IN where left hand side is nullable #1846 2018-04-06 08:12:47 +03:00
Alexey Milovidov
2ae9e719c6 Fixed warning [#CLICKHOUSE-2] 2018-04-06 07:48:48 +03:00
Alexey Milovidov
e655cb0bff Better debug helpers [#CLICKHOUSE-2] 2018-04-06 07:46:18 +03:00
Alexey Milovidov
65ad97452b Added a test from Silviu Caragea #2113 2018-04-06 03:28:53 +03:00
Alexey Milovidov
30dd11f8ca Removed (obsolete) special handling for Arrays in the left hand side of IN (continued) #2113 2018-04-06 03:25:14 +03:00
Alexey Milovidov
cf1a2241af Updated test [#CLICKHOUSE-2] 2018-04-06 02:06:03 +03:00
Alexey Milovidov
e6e12e6490 Fixed test [#CLICKHOUSE-2] 2018-04-06 02:04:31 +03:00
Alexey Milovidov
4c2adf1f30 Fixed test #797 2018-04-06 02:00:19 +03:00
Alexey Milovidov
f66d2fb780 Allow to use FINAL even in case of single part #2086 2018-04-06 00:36:55 +03:00
Alexey Milovidov
6452a3bb76 Removed (obsolete) special handling for Arrays in the left hand side of IN [#CLICKHOUSE-2] 2018-04-05 23:52:01 +03:00
Alexey Milovidov
d9b54a6aae Updated comment [#CLICKHOUSE-2] 2018-04-05 23:47:06 +03:00
Alexey Milovidov
da7975dc29 Added test #797 2018-04-05 23:43:35 +03:00
Alexey Milovidov
32f6adc5ed Added test #797 2018-04-05 23:41:55 +03:00
Alexey Milovidov
7d69a3363f Added test #1282 2018-04-05 23:29:19 +03:00
Alexey Milovidov
83b72b578d Miscellaneous [#CLICKHOUSE-2] 2018-04-05 22:28:07 +03:00
Alexey Milovidov
438dc2c318 Merge branch 'master' of github.com:yandex/ClickHouse 2018-04-05 22:27:41 +03:00
Alexey Milovidov
0b4a59c8b0 Fixed flappy test [#CLICKHOUSE-2] 2018-04-05 22:27:20 +03:00
robot-metrika-test
feaae7d439 Auto version update to [54374] 2018-04-05 21:26:55 +03:00
Alexey Milovidov
1e2b5f24ac Improved debug helpers [#CLICKHOUSE-2] 2018-04-05 19:43:39 +03:00
Alexey Milovidov
a2ce515a84 ZooKeeper: Fixed potential issue [#CLICKHOUSE-2] 2018-04-05 19:42:54 +03:00
Daniel Bershatsky
805325015f Include vector if ENABLE_CLICKHOUSE_CLIENT=True. (#2182)
* Include vector if ENABLE_CLICKHOUSE_CLIENT=True.

* Update main.cpp
2018-04-05 07:27:39 -07:00
decaseal
aebc28d44b table function file - test application context [#add_table_function_file] 2018-04-05 12:21:01 +03:00
Alexey Milovidov
36c9409899 Fixed error [#CLICKHOUSE-2] 2018-04-05 07:42:20 +03:00
Alexey Milovidov
d3408d45a8 ZooKeeper: fixed error [#CLICKHOUSE-2] 2018-04-05 07:31:04 +03:00
Alexey Milovidov
e00e81c3e9 ZooKeeper: fixed error [#CLICKHOUSE-2] 2018-04-05 07:06:23 +03:00
Alexey Milovidov
403a2c62a2 Miscellaneous [#CLICKHOUSE-2] 2018-04-05 05:56:11 +03:00
Alexey Milovidov
d5c5a34049 Miscellaneous [#CLICKHOUSE-2] 2018-04-05 05:55:21 +03:00
Alexey Milovidov
dec4094e5b Removed test case that test for behaviour that was correct accidentially [#CLICKHOUSE-2] 2018-04-05 05:31:17 +03:00
Alexey Milovidov
f734a4523a Fixed bad test [#CLICKHOUSE-2] 2018-04-05 05:19:32 +03:00
Alexey Milovidov
0dbc8aa1a5 ZooKeeper: added comment [#CLICKHOUSE-2] 2018-04-05 03:53:27 +03:00
Alexey Milovidov
cde5d315f1 ZooKeeper: added comment [#CLICKHOUSE-2] 2018-04-05 03:46:26 +03:00
Alexey Milovidov
0c519c763b ZooKeeper: added comment [#CLICKHOUSE-2] 2018-04-05 03:44:58 +03:00
Alexey Milovidov
b8df381a97 ZooKeeper: changed operation timeout to 10s because some users run ZooKeeper on servers with HDD and high background load [#CLICKHOUSE-2] 2018-04-05 03:02:09 +03:00
Alexey Milovidov
8faea5437a ZooKeeper: Better metrics about active sessions [#CLICKHOUSE-2] 2018-04-05 02:59:37 +03:00
Alexey Milovidov
e4fe1ef4b3 ZooKeeper: Better connection loop [#CLICKHOUSE-2] 2018-04-05 02:43:11 +03:00
Alexey Milovidov
5a525605be ZooKeeper: thread names [#CLICKHOUSE-2] 2018-04-05 02:36:58 +03:00
Alexey Milovidov
ddc4e1e388 ZooKeeper: Better connection loop [#CLICKHOUSE-2] 2018-04-05 02:33:21 +03:00
alexey-milovidov
19312e14b4
Merge pull request #2173 from yandex/fix-in-tuple
Fix pk in tuple
2018-04-05 00:43:28 +03:00
KochetovNicolai
634dd2a1d2
Merge branch 'master' into fix-in-tuple 2018-04-05 00:06:52 +03:00
Alexey Milovidov
436de0d0a7 Merge branch 'master' of github.com:yandex/ClickHouse 2018-04-05 00:05:37 +03:00
Alexey Milovidov
669b0d4bb0 Fixed highlight for UNION ALL [#CLICKHOUSE-3689] 2018-04-05 00:05:11 +03:00
Nikolai Kochetov
8f4b54d65b updated test #2170 2018-04-05 00:03:21 +03:00
Nikolai Kochetov
b96039bafe added check for partition column in mayBenefitFromIndexForIn #2170 2018-04-05 00:03:16 +03:00
alexey-milovidov
a7a924c03c Update TimeoutSetter.h 2018-04-04 22:44:38 +03:00
Vitaliy Lyudvichenko
ce8de108ed Better timeouts handling. [#CLICKHOUSE-2] 2018-04-04 22:44:38 +03:00
Nikolai Kochetov
f5ec675f4a updated test [#CLICKHOUSE-3680] 2018-04-04 22:38:42 +03:00
Nikolai Kochetov
dc22b881a7 added columns_added_by_join into in with pk [#CLICKHOUSE-3680] 2018-04-04 22:38:42 +03:00
Nikolai Kochetov
fde23f7975 added array_join_columns [#CLICKHOUSE-3680] 2018-04-04 22:38:42 +03:00
Nikolai Kochetov
7d0602c279 added columns from array join to aggregated_columns [#CLICKHOUSE-3680] 2018-04-04 22:38:42 +03:00
Nikolai Kochetov
1ad3010c4a updated test [#CLICKHOUSE-3680] 2018-04-04 22:36:22 +03:00
Nikolai Kochetov
dddbe14b4b added columns_added_by_join into in with pk [#CLICKHOUSE-3680] 2018-04-04 22:26:14 +03:00
Nikolai Kochetov
248fe37cb8 added array_join_columns [#CLICKHOUSE-3680] 2018-04-04 21:56:30 +03:00
Nikolai Kochetov
ae76d11833 Merge branch 'master' into fix-in-tuple 2018-04-04 17:42:57 +03:00
Nikolai Kochetov
67330e6789 Merge branch 'fix-in-tuple' of github.com:yandex/ClickHouse into fix-in-tuple 2018-04-04 17:37:34 +03:00
Nikolai Kochetov
eb4171bc0e added columns from array join to aggregated_columns [#CLICKHOUSE-3680] 2018-04-04 17:36:28 +03:00
Alexey Milovidov
e203457d55 Fixed metric ZooKeeperWaitMicroseconds [#CLICKHOUSE-2] 2018-04-04 05:07:12 +03:00
robot-metrika-test
848d9ecf68 Auto version update to [54373] 2018-04-04 00:45:08 +03:00
Alexey Milovidov
ba7a0ebf86 Better exception messages [#CLICKHOUSE-2] 2018-04-04 00:40:58 +03:00
Alexey Milovidov
76e822274a Better exception messages [#CLICKHOUSE-2] 2018-04-04 00:29:11 +03:00
Alexey Milovidov
c387b73f70 ZooKeeper: miscellaneous [#CLICKHOUSE-2] 2018-04-04 00:18:46 +03:00
alexey-milovidov
e2a517db12 Update MergeTreeData.cpp 2018-04-04 00:17:22 +03:00
Nikolai Kochetov
537c495a8e added test [#CLICKHOUSE-3680] 2018-04-04 00:17:22 +03:00
Nikolai Kochetov
4f7d262997 added aggregated_columns to mayBenefitFromIndexForIn [#CLICKHOUSE-3680] 2018-04-04 00:17:22 +03:00
Nikolai Kochetov
2163977b2a mayBenefitFromIndexForIn returns true if at least one tuple element is in pk [#CLICKHOUSE-3680] 2018-04-04 00:17:22 +03:00
alexey-milovidov
23baae447d
Update MergeTreeData.cpp 2018-04-04 00:16:58 +03:00
Alexey Milovidov
b0eca318cf ZooKeeper: more instrumentation [#CLICKHOUSE-2] 2018-04-04 00:14:10 +03:00
Alexey Milovidov
8029a9b579 ZooKeeper: more instrumentation [#CLICKHOUSE-2] 2018-04-04 00:11:54 +03:00
Alexey Milovidov
788d8e740d ZooKeeper: more instrumentation [#CLICKHOUSE-2] 2018-04-04 00:07:22 +03:00
Alexey Milovidov
944748e7da Modifications after removing libzookeeper [#CLICKHOUSE-2] 2018-04-03 22:54:35 +03:00
Alexey Milovidov
f5652b4477 Modifications after removing libzookeeper; initialize ZooKeeper session lazily [#CLICKHOUSE-2] 2018-04-03 22:43:33 +03:00
Nikolai Kochetov
f7b39b8df2 added test [#CLICKHOUSE-3680] 2018-04-03 22:30:39 +03:00
Nikolai Kochetov
33774e93fa added aggregated_columns to mayBenefitFromIndexForIn [#CLICKHOUSE-3680] 2018-04-03 22:16:24 +03:00
Nikolai Kochetov
a687c41a8c mayBenefitFromIndexForIn returns true if at least one tuple element is in pk [#CLICKHOUSE-3680] 2018-04-03 21:37:35 +03:00
Alexey Milovidov
08170d0d77 Modifications after removing libzookeeper [#CLICKHOUSE-2] 2018-04-03 21:24:18 +03:00
Alexey Milovidov
9379d71f74 Miscellaneous [#CLICKHOUSE-2] 2018-04-03 20:37:30 +03:00
Alexey Milovidov
2310bd7947 Miscellaneous [#CLICKHOUSE-2] 2018-04-03 20:35:48 +03:00
decaseal
77b0d7d23b Merge branch 'master' into add_table_function_file 2018-04-03 15:17:45 +03:00
proller
e58b0830e6
Prepare to new poco (PocoData renamed to PocoSQL) (#2158) 2018-04-03 04:48:40 -07:00