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 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
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
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
83b72b578d
Miscellaneous [#CLICKHOUSE-2]
2018-04-05 22:28:07 +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
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
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
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
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
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
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
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
decaseal
98463ebe28
table function file - comments [#add_table_function_file]
2018-04-03 11:12:24 +03:00
decaseal
1804d19a2b
table function file - comments [#add_table_function_file]
2018-04-03 11:07:44 +03:00
Alexey Milovidov
0d2c2ea3d4
Fixed error after removed libzookeeper [#CLICKHOUSE-2]
2018-04-03 03:39:58 +03:00
Alexey Milovidov
daa736700d
Minor modification after removing libzookeeper [#CLICKHOUSE-2]
2018-04-03 00:48:39 +03:00
Alexey Milovidov
6364c49ad8
ZooKeeper: fixed chroot [#CLICKHOUSE-2]
2018-04-02 21:59:18 +03:00
Alexey Milovidov
bcda215439
Added a comment about absolutely wrong code [#CLICKHOUSE-1942]
2018-04-02 21:16:40 +03:00
Alexey Milovidov
205d648e0d
Fixed error with timeout of distributed queries, part 1 #217 [#CLICKHOUSE-1942]
2018-04-02 21:01:25 +03:00
Alexey Milovidov
5ec4c44989
Merge branch 'master' of github.com:yandex/ClickHouse
2018-04-02 20:57:58 +03:00
Alexey Milovidov
b3e6bb453a
Renamed method #217 [#CLICKHOUSE-1942]
2018-04-02 20:57:38 +03:00
Vitaliy Lyudvichenko
fb7e2cbd16
Fixed processConfig, skip temporary files. [#CLICKHOUSE-2]
2018-04-02 19:23:00 +03:00
Alexey Milovidov
c1d36b559a
Added example config for ZooKeeper on localhost: for development purposes [#CLICKHOUSE-2]
2018-04-02 18:54:12 +03:00
decaseal
ca78eed896
table function file - fix path validate [#add_table_function_file]
2018-04-02 18:51:22 +03:00
decaseal
2100d00764
table function file - fix path validate [#add_table_function_file]
2018-04-02 18:49:40 +03:00
decaseal
0a9e281199
table function file - test path validate [#add_table_function_file]
2018-04-02 18:47:31 +03:00
decaseal
a0f40c79f9
table function file - fix path validate [#add_table_function_file]
2018-04-02 18:40:35 +03:00
decaseal
fba2f32c53
table function file - fix path validate [#add_table_function_file]
2018-04-02 18:38:43 +03:00
decaseal
58489628aa
fix table function file [#add_table_function_file]
2018-04-02 17:23:53 +03:00
decaseal
42f028ddde
fix table function file [#add_table_function_file]
2018-04-02 17:15:41 +03:00
KochetovNicolai
62e6a1bde6
Update MergeTreeBaseBlockInputStream.cpp
...
Check is block is not empty before removing prewhere column
2018-04-02 17:08:05 +03:00
decaseal
358e0183f5
fix table function file [#add_table_function_file]
2018-04-02 16:56:54 +03:00
decaseal
2a6dbd14ae
realize table function file [#add_table_function_file]
2018-04-02 16:15:25 +03:00
proller
440b0f33c7
Compile fixes
2018-04-02 15:31:49 +03:00
decaseal
94a573e845
register table function file [#add_table_function_file]
2018-04-02 14:43:51 +03:00
decaseal
871c7a5f0e
create table function file [#add_table_function_file]
2018-04-02 14:43:37 +03:00
Alexey Milovidov
3fe743e2bd
Fixed error after merge [#CLICKHOUSE-2]
2018-04-01 22:29:08 +03:00
alexey-milovidov
b07fb1ddda
Merge branch 'master' into better-range-reader
2018-04-01 22:16:39 +03:00
Alexey Milovidov
d57fcc35c0
Merge branch 'master' of github.com:yandex/ClickHouse
2018-04-01 20:37:20 +03:00
Alexey Milovidov
a1aecc5d96
Fixed error after merge [#CLICKHOUSE-2]
2018-04-01 20:37:09 +03:00
alexey-milovidov
588591f683
Merge pull request #2149 from lamber-ken/master
...
change the return type of funciton countEqual
2018-04-01 20:31:02 +03:00
alexey-milovidov
428ee63a04
Merge branch 'master' into libzookeeper-rewrite
2018-04-01 17:31:20 +03:00
谢磊
c898986650
change the return type of funciton countEqual
...
the maximum length of the array is defined as UInt64.
the maximum of `UInt32` just 4294967295.
it's better to define the return type of the function `countEqual` as `UInt64`.
2018-03-31 12:54:06 -05:00
proller
b3e8949d2a
CLICKHOUSE-3675 Add glibc version test
...
Fix zookeeper tools compile
2018-03-30 16:58:00 +03:00
Alexey Zatelepin
5fdd50c2a2
process included config node once more if include happened [#MTRSADMIN-3894]
2018-03-30 16:33:43 +03:00
proller
ce23653cad
Fix build with old poco ( #2144 )
2018-03-30 05:42:06 -07:00
alexey-milovidov
e6019624c1
Merge pull request #2138 from bretthoerner/uninitialized-fix
...
Fix build when using GCC 7.3.1: -Wmaybe-uninitialized error
2018-03-30 00:15:33 +03:00
alexey-milovidov
f358dc4125
Update ColumnString.h
2018-03-30 00:15:14 +03:00
alexey-milovidov
10e5d63d76
Merge pull request #2131 from ClickHouse-Ninja/system-log-prepare-table-on-each-flush
...
SystemLog: проверка структуры и существования таблицы при каждом flush
2018-03-29 23:55:14 +03:00
alexey-milovidov
30838f4d9f
Update SystemLog.h
2018-03-29 23:54:57 +03:00
alexey-milovidov
db53190854
Update ColumnString.h
2018-03-29 23:21:40 +03:00
proller
037cf62230
CLICKHOUSE-3644: Server: do not use SO_REUSEPORT
2018-03-29 20:24:46 +03:00
Brett Hoerner
fef91af96f
Fix build when using GCC 7.3.1: -Wmaybe-uninitialized error
...
Before adding this ignore you would receive the following when using GCC
7.3.1:
[ 82%] Building CXX object dbms/src/Storages/System/CMakeFiles/clickhouse_storages_system.dir/StorageSystemAsynchronousMetrics.cpp.o
In file included from /ClickHouse/dbms/src/Storages/System/StorageSystemAsynchronousMetrics.cpp:5:0:
/ClickHouse/dbms/src/Columns/ColumnString.h: In member function ‘virtual DB::BlockInputStreams DB::StorageSystemAsynchronousMetrics::read(const Names&, const DB::SelectQueryInfo&, const DB::Context&, DB::QueryProcessingStage::Enum&, size_t, unsigned int)’:
/ClickHouse/dbms/src/Columns/ColumnString.h:96:45: error: ‘*((void*)&<anonymous> +8)’ may be used uninitialized in this function [-Werror=maybe-uninitialized]
const size_t size_to_append = s.size() + 1;
~~~~~~^~
cc1plus: all warnings being treated as errors
make[2]: *** [dbms/src/Storages/System/CMakeFiles/clickhouse_storages_system.dir/build.make:63: dbms/src/Storages/System/CMakeFiles/clickhouse_storages_system.dir/StorageSystemAsynchronousMetrics.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:9105: dbms/src/Storages/System/CMakeFiles/clickhouse_storages_system.dir/all] Error 2
make: *** [Makefile:163: all] Error 2
2018-03-29 12:02:09 -05:00
Alexey Milovidov
b997830289
Fixed error found by Artemeey Gavryushin [#CLICKHOUSE-3]
2018-03-29 18:31:59 +03:00
Kirill Shvakov
b742908731
SystemLog: execute prepareTable() on each flush
...
Merge remote-tracking branch 'upstream/master' into system-log-prepare-table-on-each-flush
#2131 deleted excessive logging
Revert "#2131 deleted excessive logging"
This reverts commit d78a46d958
.
Revert "SystemLog: execute prepareTable() on each flush"
This reverts commit 7f60bb0a9b
.
SystemLog: execute prepareTable() on each flush
2018-03-29 16:57:16 +03:00
Vitaliy Lyudvichenko
134efcd7ed
Swapped send and receive timeouts settings from client. [#CLICKHOUSE-2]
2018-03-29 16:35:59 +03:00
Vitaliy Lyudvichenko
63eee94319
Add max_network_bandwidth_for_all_users setting. [#CLICKHOUSE-2] ( #2137 )
2018-03-29 16:24:36 +03:00
proller
a6f9df105c
Allow use encryption for distributed tables ( #2065 )
...
* Allow use encryption for distributed tables
* wip
* fix
* rename encryption to secure
* Fix DirectoryMonitor with +secure
* fix
* fix
* Update DirectoryMonitor.cpp
* Update DirectoryMonitor.cpp
2018-03-29 04:41:06 +03:00
alexey-milovidov
54986af313
Merge pull request #2122 from proller/fix14
...
CLICKHOUSE-3630: Fix race on logger reload, enable reload
2018-03-29 04:30:30 +03:00
zhang2014
b00cb9d9b0
ISSUES-2133 Support union query with subquery
2018-03-29 09:06:17 +08:00
alexey-milovidov
4126c7767d
Merge pull request #2130 from yandex/fix-distributed-batch-inserts
...
More aggressively move files to broken/ when doing distributed batch inserts
2018-03-29 03:12:28 +03:00
alexey-milovidov
2e15ce6791
Merge pull request #2132 from yandex/small-enhancements
...
Small enhancements
2018-03-29 03:07:49 +03:00
alexey-milovidov
a220a43b8e
Merge branch 'master' into fix-detach-database
2018-03-29 03:01:07 +03:00
Vitaliy Lyudvichenko
de3791dbda
Accpet client-side send and recieve timeouts. [#CLICKHOUSE-2]
2018-03-28 17:10:11 +03:00
Vitaliy Lyudvichenko
701b58b4ff
Faster DROP PARTITION. [#CLICKHOUSE-2]
2018-03-28 15:48:40 +03:00
Alexey Zatelepin
aa4f4e62fe
mark failed batches as broken [#CLICKHOUSE-3594]
2018-03-28 15:28:15 +03:00
Alexey Zatelepin
00da8a477c
report broken files more accurately [#CLICKHOUSE-3594]
2018-03-28 15:28:15 +03:00
proller
239f0974fa
CLICKHOUSE-3630: Fix race on logger reload, enable reload
2018-03-28 15:20:45 +03:00
Alexey Zatelepin
f2db72a5e5
move squashing to read side #2084 [#CLICKHOUSE-3540]
...
This way there is a clear correspondence between blocks inserted into the parent table
and blocks inserted into the materialized view.
2018-03-28 14:41:20 +03:00
alexey-milovidov
ca5fd1e9de
Merge pull request #2033 from yandex/show-create-database
...
Show create database
2018-03-28 05:29:36 +03:00
alexey-milovidov
e3cbd3306c
Merge pull request #2081 from yandex/stricter-mutable-column-semantic-2
...
&& - qualified IColumn::mutate
2018-03-28 05:27:35 +03:00
alexey-milovidov
f48caff360
Update COWPtr.h
2018-03-28 05:27:25 +03:00
Alex Zatelepin
1be7c09702
add readPrefix()/readSuffix() calls for completeness #2084 [#CLICKHOUSE-3540]
2018-03-27 22:25:50 +00:00
Alexey Zatelepin
88a9b7de91
fix calls to writeSuffix() in PushingToViewsBlockOutputStream #2084 [#CLICKHOUSE-3540]
...
don't use copyData because it calls writeSuffix() prematurely.
2018-03-27 23:04:40 +03:00
Nikolai Kochetov
d3157d910c
minor fixes
2018-03-27 22:14:48 +03:00
Alexey Zatelepin
d58483b084
squash blocks when inserting into materialized views #2084 [#CLICKHOUSE-3540]
2018-03-27 20:08:41 +03:00
alexey-milovidov
03b01fc249
Merge pull request #2118 from yandex/faster-sync-insert
...
Faster distributed sync insert
2018-03-26 22:23:41 +03:00
Vitaliy Lyudvichenko
190964f98e
Avoid extra waits in copier. [#CLICKHOUSE-2]
2018-03-26 21:39:28 +03:00
Nikolai Kochetov
0d3ee2e07b
Merge branch 'read_query_body_fix' of https://github.com/silviucpp/ClickHouse into silviucpp-read_query_body_fix
2018-03-26 21:30:15 +03:00
Nikolai Kochetov
d63d9a4ffb
fix test [#CLICKHOUSE-3590]
2018-03-26 18:48:19 +03:00
KochetovNicolai
d25c244946
Merge pull request #1882 from zhang2014/support/simd_for_lengthUTF-8
...
ISSUES-1885 UTF8 countCodePoints use SIMD
2018-03-26 18:27:07 +03:00
Alex Zatelepin
c5b04f7f17
Add info about total uncompressed part size to system tables ( #2052 )
...
* column size calculating routines now take into account multiple streams [#CLICKHOUSE-2831]
* rename for clarity
* use more appropriate method for calculating table size
* add info about total uncompressed part size to system.parts and system.parts_columns [#CLICKHOUSE-2831]
* rename columns for clarity [#CLICKHOUSE-2831]
* count shared substreams only once [#CLICKHOUSE-2831]
2018-03-26 17:18:04 +03:00
alexey-milovidov
f1887fe033
Merge pull request #2105 from elBroom/add-query-id-to-client
...
Added query_id to client
2018-03-26 01:45:29 +03:00
alexey-milovidov
9ba28666e1
Update Client.cpp
2018-03-26 01:44:54 +03:00
alexey-milovidov
db4944508f
Merge pull request #2100 from tobad357/bugfix/fix-subscribe-multiple-topics
...
#2095 Make sure to split the topics args list on ','
2018-03-26 01:43:21 +03:00
alexey-milovidov
237c530b4e
Update StorageKafka.cpp
2018-03-26 01:42:36 +03:00
Jonatas Freitas
e07cde4363
Added missing slash on graphite monitoring section
2018-03-25 01:43:12 -03:00
Alexey Milovidov
5ac329c91c
Using different ZooKeeper library (development) [#CLICKHOUSE-2]
2018-03-25 07:34:33 +03:00
Alexey Milovidov
93307a82e6
Using different ZooKeeper library (development) [#CLICKHOUSE-2]
2018-03-25 07:20:31 +03:00
Alexey Milovidov
c2f40e8d41
Removed libzookeeper [#CLICKHOUSE-2]
2018-03-25 06:47:56 +03:00
Alexey Milovidov
2c4b28597e
Using different ZooKeeper library (development) [#CLICKHOUSE-2]
2018-03-25 03:57:04 +03:00
Alexey Milovidov
49045754d9
Using different ZooKeeper library (development) [#CLICKHOUSE-2]
2018-03-25 03:56:08 +03:00
Alexey Milovidov
6721914041
Using different ZooKeeper library (development) [#CLICKHOUSE-2]
2018-03-25 03:36:35 +03:00
Alexey Milovidov
548c4b0adf
Using different ZooKeeper library (development) [#CLICKHOUSE-2]
2018-03-25 03:20:51 +03:00
Alexey Milovidov
522bf01db9
Using different ZooKeeper library (development) [#CLICKHOUSE-2]
2018-03-25 03:15:52 +03:00
elBroom
b80f5ed875
ignoring query_id in interactive mode
2018-03-25 02:50:30 +03:00
elBroom
d406454f39
Added query_id to client
2018-03-25 02:22:58 +03:00
Alexey Milovidov
0714a217fe
Using different ZooKeeper library (development) [#CLICKHOUSE-2]
2018-03-25 02:13:05 +03:00
Alexey Milovidov
280a5f8e3f
Using different ZooKeeper library (development) [#CLICKHOUSE-2]
2018-03-25 02:01:21 +03:00
Alexey Milovidov
24f94d9352
Merge remote-tracking branch 'origin/master' into libzookeeper-rewrite
2018-03-24 23:30:57 +03:00
Alexey Milovidov
87b4d8209a
Using different ZooKeeper library (development) [#CLICKHOUSE-2]
2018-03-24 23:28:43 +03:00
Alexey Milovidov
7ec66830af
Using different ZooKeeper library (development) [#CLICKHOUSE-2]
2018-03-24 23:17:27 +03:00
Alexey Milovidov
58f32f98d7
Using different ZooKeeper library (development) [#CLICKHOUSE-2]
2018-03-24 23:11:46 +03:00
Alexey Milovidov
ae9633c1e5
Using different ZooKeeper library (development) [#CLICKHOUSE-2]
2018-03-24 23:00:16 +03:00
Alexey Zatelepin
2a366afbf5
add shutdowns everywhere [#CLICKHOUSE-3664]
2018-03-24 12:08:32 +00:00
Alexey Zatelepin
10b669a833
extract common base for DatabaseMemory and DatabaseOrdinary [#CLICKHOUSE-3664]
2018-03-24 12:08:32 +00:00
Tobias Adamson
0af09ae0c7
Add trim to topic names to be a bit more lenient if config is 'topic1, topic2'
2018-03-24 14:51:35 +08:00
Tobias Adamson
dd06b39e5f
Fix rename of variable, duplication of wrong variable name
2018-03-24 09:16:33 +08:00
Alexey Milovidov
26584844b6
Rewriting ZooKeeper library [#CLICKHOUSE-2]
2018-03-24 04:00:12 +03:00
Alexey Milovidov
10be6ca8f8
Rewriting ZooKeeper library [#CLICKHOUSE-2]
2018-03-24 03:45:04 +03:00
Alexey Milovidov
6b684fc1a3
Rewriting ZooKeeper library [#CLICKHOUSE-2]
2018-03-24 02:15:14 +03:00
Alexey Zatelepin
cf3c24d07d
break cycle of ptrs to StorageReplicatedMergeTree [#CLICKHOUSE-3664]
2018-03-23 23:30:04 +03:00
Nikolai Kochetov
cc2c1f5171
removed createImmutable
2018-03-23 22:24:55 +03:00
Alexey Milovidov
f5896d35b4
Removed duplicate code that could lead to wrong behaviour #1959
2018-03-23 21:20:54 +03:00
Alexey Milovidov
046346645f
Minor modifications #1959
2018-03-23 19:55:35 +03:00
alexey-milovidov
3f320eb031
Merge branch 'master' into show-server-group-in-client
2018-03-23 19:23:25 +03:00
alexey-milovidov
7ba82eb359
Update Defines.h
2018-03-23 19:18:36 +03:00
proller
caf83a650e
libs: compiling with msvc2017 ( #1996 )
...
* Allow use bundled *ssl library
* fix
* Add submodule
* Fixes
* fix
* fixes
* fixes
* fix
* fix
* update poco
* fix warnings
* fix
* fix
* Build fixes
* Build fixes
* fix
* fix
* fix
* fix
* fix
* fix
* fix
* add bat
* no zookeeper in dbms
* update boost
* fixes
* fixes
* fix
* fix
* fix
* fix
* try fix
* try fix
* fix
* fix
* fix
* fix
* fix
* fix
* fix
* fix
* Better
* fix
* dh verbose
* fix
* dh verbose
* fix
* clean
* Update LocalDate.h
* Update LocalDateTime.h
2018-03-23 19:05:14 +03:00
Tobias Adamson
c76d1a008d
Make sure to split the topics args list on ','
2018-03-23 22:13:09 +08:00
KochetovNicolai
aacc0bee53
Merge pull request #2097 from yandex/CLICKHOUSE-3663
...
Clickhouse 3663
2018-03-23 14:56:08 +03:00
Nikolai Kochetov
2f468f1ae1
fix test [#CLICKHOUSE-3663]
2018-03-23 13:50:20 +03:00
alexey-milovidov
cf52c2840a
Merge branch 'master' into better-range-reader
2018-03-23 02:14:40 +03:00
Alexey Milovidov
0a06971e43
Merge remote-tracking branch 'origin/master' into libzookeeper-rewrite
2018-03-23 02:10:00 +03:00
alexey-milovidov
a75d5525e7
Update MergeTreeDataPartChecksum.h
2018-03-23 00:26:46 +03:00
Vitaliy Lyudvichenko
883de7a2a6
startup() waits for initialization of ReplicatedMergeTreeRestartingThread. [#CLICKHOUSE-2]
2018-03-23 00:26:46 +03:00
Vitaliy Lyudvichenko
fe8dfd3038
Add minimalistic checksums. [#CLICKHOUSE-3660]
2018-03-23 00:26:46 +03:00
Vitaliy Lyudvichenko
7c2a99c9b8
Introduced MinimalisticDataPartChecksums. [#CLICKHOUSE-3660]
2018-03-23 00:26:46 +03:00
Nikolai Kochetov
cbfd862fa3
fix reading with evaluated defaults [#CLICKHOUSE-3663]
2018-03-22 23:18:11 +03:00
Nikolai Kochetov
97624d7d78
fix reading with evaluated defaults [#CLICKHOUSE-3663]
2018-03-22 22:53:19 +03:00
Alexey Milovidov
f4b742e9fb
Fixed segfault in case of bad argument types for some aggregate functions [#CLICKHOUSE-2]
2018-03-22 18:37:24 +03:00
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
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
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
Alexey Milovidov
a6892b8813
Fixed test [#CLICKHOUSE-2]
2018-03-16 12:00:04 +03:00
Alexey Milovidov
02c67e2b13
Fixed error [#CLICKHOUSE-2]
2018-03-16 09:51:37 +03:00
Alexey Milovidov
cf6112fd37
Fixed half of bad code [#CLICKHOUSE-2]
2018-03-16 09:39:32 +03:00
Alexey Milovidov
dc4a9be6fa
Fixed error with "makeSetsForIndex" [#CLICKHOUSE-2]
2018-03-16 09:33:23 +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
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
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
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
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
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
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
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 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
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