张健
e9b03b3abc
ISSUES-2242 add default data_path & metadata_path for system.tables with temporary ( #2243 )
2018-04-19 23:22:08 +03:00
Alexey Milovidov
12e33cfd85
Exit from threads when ZooKeeper session is expired (non significant change) [#CLICKHOUSE-2]
2018-04-19 21:16:18 +03:00
Alexey Milovidov
da94c7dd91
Exit from queueUpdatingThread when ZooKeeper session is expired (non-significant change) [#CLICKHOUSE-2]
2018-04-19 21:01:50 +03:00
Alexey Milovidov
41428e4a11
Allowed to read files by table function "file" inside "user_files_path" #2164
2018-04-19 08:32:09 +03:00
alexey-milovidov
08dfd8a09b
Merge pull request #2164 from topvisor/add_table_function_file
...
Add table function file
2018-04-19 07:53:49 +03:00
alexey-milovidov
8f5436e8b0
Update StorageFile.cpp
2018-04-19 07:39:48 +03:00
alexey-milovidov
4b3aa3fc11
Update StorageFile.cpp
2018-04-19 07:39:16 +03:00
alexey-milovidov
19f918512b
Update StorageFile.cpp
2018-04-19 07:36:08 +03:00
Alexey Milovidov
a55abd0a25
Fixed test [#CLICKHOUSE-2]
2018-04-18 23:27:27 +03:00
Alexey Milovidov
3eff0184fa
Added set size checking when set from subquery is used for index; removed harmful feature for special support of (a, b) IN (SELECT (a, b)) instead of (a, b) IN (SELECT a, b) [#CLICKHOUSE-2]
2018-04-18 22:38:40 +03:00
alexey-milovidov
22f7a3a545
Merge pull request #2223 from sundy-li/master
...
Fix:ignore the format_version check when the data is empty
2018-04-17 22:50:26 +03:00
alexey-milovidov
089e71d9a5
Merge pull request #2235 from yandex/small-enhancements
...
Small enhancements
2018-04-17 22:45:01 +03:00
Vitaliy Lyudvichenko
bf832b3ea6
Fixed OPTIMIZE after RENAME of replicated table. [#CLICKHOUSE-2]
2018-04-17 20:59:42 +03:00
proller
27b4af9dd7
Change obsolete comment
2018-04-16 23:25:07 +03:00
alexey-milovidov
17dd218338
Merge pull request #2202 from proller/fix15
...
CLICKHOUSE-3700: Fix empty password on replica query
2018-04-16 23:18:47 +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
157067b127
CLICKHOUSE-3700: Fix empty password on replica query
2018-04-10 17:49:52 +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
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
18bbd0e61b
Moved SessionPoolHelpers #2180
2018-04-07 06:07:32 +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
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 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
157d51446b
Merge remote-tracking branch 'yandex/master' into add_table_function_file_dev
2018-04-06 15:55:02 +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
39cc42172d
storage file - check table file path [#add_table_function_file]
2018-04-06 12:53:29 +03:00
Alexey Milovidov
f66d2fb780
Allow to use FINAL even in case of single part #2086
2018-04-06 00:36:55 +03:00
Nikolai Kochetov
b96039bafe
added check for partition column in mayBenefitFromIndexForIn #2170
2018-04-05 00:03:16 +03:00
alexey-milovidov
e2a517db12
Update MergeTreeData.cpp
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
08170d0d77
Modifications after removing libzookeeper [#CLICKHOUSE-2]
2018-04-03 21:24:18 +03:00
Alexey Milovidov
2310bd7947
Miscellaneous [#CLICKHOUSE-2]
2018-04-03 20:35:48 +03:00
proller
e58b0830e6
Prepare to new poco (PocoData renamed to PocoSQL) ( #2158 )
2018-04-03 04:48:40 -07:00
KochetovNicolai
62e6a1bde6
Update MergeTreeBaseBlockInputStream.cpp
...
Check is block is not empty before removing prewhere column
2018-04-02 17:08:05 +03:00
proller
440b0f33c7
Compile fixes
2018-04-02 15:31:49 +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
428ee63a04
Merge branch 'master' into libzookeeper-rewrite
2018-04-01 17:31:20 +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
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
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
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
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
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
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
Alexey Milovidov
522bf01db9
Using different ZooKeeper library (development) [#CLICKHOUSE-2]
2018-03-25 03:15:52 +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
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 Zatelepin
cf3c24d07d
break cycle of ptrs to StorageReplicatedMergeTree [#CLICKHOUSE-3664]
2018-03-23 23:30:04 +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
d690c24198
Using different ZooKeeper library (development) [#CLICKHOUSE-2]
2018-03-22 00:40:53 +03:00
Nikolai Kochetov
476d4b339c
Immutable construction for columns
2018-03-20 22:45:10 +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
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
590feb02b5
Fixed error; added test from Alexander Zaitsev [#CLICKHOUSE-2]
2018-03-19 17:29:40 +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
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
b9339e0ea1
Merge pull request #2053 from yandex/small-enhancements
...
Small enhancements
2018-03-15 22:10:29 +03:00
alexey-milovidov
1e88f2fe5c
Update AbandonableLockInZooKeeper.h
2018-03-15 22:06:53 +03:00