Commit Graph

7500 Commits

Author SHA1 Message Date
artpaul
0ba72436db #214 fix conversion from fixed-string to string 2017-04-19 03:17:44 +03:00
Alexey Milovidov
1fedee71fb Removed useless includes [#CLICKHOUSE-2]. 2017-04-19 02:17:40 +03:00
Alexey Milovidov
0b5645db1a Better code for parsing part names [#CLICKHOUSE-2]. 2017-04-18 23:38:07 +03:00
Alexey Milovidov
47d2ca4136 Fixed error with fetches and sends limit when queue is traversed without pause [#CLICKHOUSE-2960]. 2017-04-18 23:36:19 +03:00
Alexey Milovidov
9eca762013 Merge branch 'master' of github.com:yandex/ClickHouse 2017-04-18 22:13:20 +03:00
Alexey Milovidov
502f42a572 Fixed translation error [#CLICKHOUSE-3]. 2017-04-18 22:13:12 +03:00
Alexey Zatelepin
aa62dc354f ensure that empty entries are not returned from PoolWithFailoverBase [#CLICKHOUSE-2141] 2017-04-18 16:37:00 +03:00
robot-metrika-test
247d067aab Auto version update to [54219] 2017-04-18 13:18:45 +03:00
proller
c8a1e19d8f Some space changes for release testing (clang-format) 2017-04-18 13:17:37 +03:00
proller
4d8b3e7034 Auto version update to [54218] 2017-04-18 13:08:31 +03:00
robot-metrika-test
4200645155 Auto version update to [54217] 2017-04-18 11:12:49 +03:00
robot-metrika-test
3ebee0dbee Auto version update to [54215] 2017-04-18 10:05:28 +03:00
Alexey Milovidov
95dd78cea4 Merge branch 'master' of github.com:yandex/ClickHouse 2017-04-18 06:03:47 +03:00
Alexey Milovidov
22e8b8029b Implemented ColumnArray::replicate for Nullable, Tuple and for generic case [#CLICKHOUSE-4]. 2017-04-18 06:03:39 +03:00
Alexey Milovidov
f51b3992f3 Little better [#CLICKHOUSE-4]. 2017-04-17 23:19:09 +03:00
Alexey Zatelepin
d29f3c79c3 translate comments [#CLICKHOUSE-3] 2017-04-17 22:51:42 +03:00
Alexey Zatelepin
e30dc7c254 check replica delay when getting a connection from ConnectionPoolWithFailover [#CLICKHOUSE-2141] 2017-04-17 22:51:41 +03:00
artpaul
d259c0ea24 order results 2017-04-18 00:30:14 +05:00
Yuri Dyachenko
51d2ffc654 fix TODO 2017-04-17 21:15:14 +03:00
Yuri Dyachenko
8fb2b7ee3d fix zookeeper format version 4 2017-04-17 21:15:14 +03:00
alexey-milovidov
5a8344382b Update StorageReplicatedMergeTree.cpp 2017-04-17 21:15:14 +03:00
alexey-milovidov
9d3e3675fd Update ReplicatedMergeTreeLogEntry.h 2017-04-17 21:15:14 +03:00
alexey-milovidov
acd3c3d4ab Update MergeTreeDataMerger.cpp 2017-04-17 21:15:14 +03:00
Yuri Dyachenko
8792c4f3ca add 'deduplicate' flag into zookeeper 'merge' Entry 2017-04-17 21:15:14 +03:00
Yuri Dyachenko
10082f3ef4 support DEDUPLICATE option in OPTIMIZE query 2017-04-17 21:15:14 +03:00
Yuri Dyachenko
5e61448f25 add support DEDUPLICATE to MergeTreeDataMerger 2017-04-17 21:15:14 +03:00
Alexey Milovidov
f76680d47e Fixed function toStringCutToZero with argument of type String [#CLICKHOUSE-2958]. 2017-04-17 20:49:11 +03:00
Alexey Zatelepin
0a98f43d3a add TablesStatus request to protocol [#CLICKHOUSE-2141] 2017-04-17 19:02:48 +03:00
Alexey Zatelepin
2bd089d589 start counting absolute replica delay when there are problems with queue update [#CLICKHOUSE-2141] 2017-04-17 18:06:12 +03:00
f1yegor
b51c6e7592 translate comments 2017-04-17 15:35:21 +03:00
Vitaliy Lyudvichenko
dcb5371844 Fixed CAST(NULL AS Nullable(...)). [#CLICKHOUSE-2754] 2017-04-17 14:44:16 +03:00
f1yegor
0b243a8b01 translate comments 2017-04-16 23:17:32 +03:00
Alexey Milovidov
41e97787e3 Less dependencies [#CLICKHOUSE-2]. 2017-04-16 08:40:17 +03:00
Alexey Milovidov
189b58b6c6 ForEach combinator of aggregate functions: more tests [#CLICKHOUSE-2952]. 2017-04-16 07:48:17 +03:00
Alexey Milovidov
8ba5ef7a4d ForEach combinator of aggregate functions: more tests [#CLICKHOUSE-2952]. 2017-04-16 07:44:40 +03:00
Alexey Milovidov
3fa1639877 ForEach combinator of aggregate functions: more tests [#CLICKHOUSE-2952]. 2017-04-16 07:38:13 +03:00
Alexey Milovidov
6b5e6104a9 ForEach combinator of aggregate functions: little better [#CLICKHOUSE-2952]. 2017-04-16 07:35:21 +03:00
Alexey Milovidov
777adabde7 Client: fixed error with percentage [#CLICKHOUSE-2]. 2017-04-16 07:28:04 +03:00
Alexey Milovidov
d9793bf5fe Fixed -ForEach combinator of aggregate functions [#CLICKHOUSE-2952]. 2017-04-16 07:16:22 +03:00
Alexey Milovidov
bf0e64e3b4 Less dependencies [#CLICKHOUSE-2952]. 2017-04-16 07:13:18 +03:00
Alexey Milovidov
ef3557950c Less dependencies [#CLICKHOUSE-2952]. 2017-04-16 07:03:14 +03:00
Alexey Milovidov
83ed2a794b Fixed -ForEach combinator of aggregate functions [#CLICKHOUSE-2952]. 2017-04-16 06:38:37 +03:00
Maxim Fridental
99dc3ea016 Implement ForEach modifier for aggregate functions. 2017-04-16 02:49:11 +03:00
Alexey Milovidov
676192f16e Fixed errors on clang [#CLICKHOUSE-2902]. 2017-04-15 07:03:12 +03:00
alexey-milovidov
0d2b1f6b6b Update InterpreterAlterQuery.h 2017-04-15 06:52:04 +03:00
artpaul
050f1d4b0a drop column from partition for MergeTree 2017-04-15 06:52:04 +03:00
alexey-milovidov
7fcf570c43 Update MergeTreeDataPart.cpp 2017-04-15 06:48:24 +03:00
alexey-milovidov
5a7a155ca1 Update MergeTreeBlockReadUtils.cpp 2017-04-15 06:48:24 +03:00
Vitaliy Lyudvichenko
994720682c Add nullable PREWHERE test. [#CLICKHOUSE-2902] 2017-04-15 06:48:24 +03:00
Vitaliy Lyudvichenko
8b54e9fc65 Removed extra diagnostic log messages. [#CLICKHOUSE-2902] 2017-04-15 06:48:24 +03:00
Vitaliy Lyudvichenko
848c927bb7 Fix race condition. Add test. [#CLICKHOUSE-2902] 2017-04-15 06:48:24 +03:00
Vitaliy Lyudvichenko
56b00a110a Removed debug code and add docs. [#CLICKHOUSE-2902] 2017-04-15 06:48:24 +03:00
Vitaliy Lyudvichenko
c78177a28a More accurate prediction. [#CLICKHOUSE-2902] 2017-04-15 06:48:24 +03:00
Vitaliy Lyudvichenko
f519100946 Split base and derived class implementations. [#CLICKHOUSE-2902] 2017-04-15 06:48:24 +03:00
Vitaliy Lyudvichenko
4b566304ca Tests are passed. [#CLICKHOUSE-2902] 2017-04-15 06:48:24 +03:00
Vitaliy Lyudvichenko
82af2278fc Avoid code duplication near MergeTreeBlockInputStream. [#CLICKHOUSE-2]
Add preferred_block_size_bytes for non-uniform reader. [#CLICKHOUSE-2902]

Make enums test more deterministic. [#CLICKHOUSE-2]

Refactored MergeTree readers.

Tabs -> spaces.

Move include/DB/ -> src/.
2017-04-15 06:48:24 +03:00
Alexey Milovidov
8075b70eac Merge branch 'master' of github.com:yandex/ClickHouse 2017-04-15 00:09:15 +03:00
Alexey Milovidov
0f0fc68d50 Meaningless changes [#CLICKHOUSE-2]. 2017-04-15 00:08:57 +03:00
alexey-milovidov
f03f32e2ab Update DistinctSortedBlockInputStream.h 2017-04-14 23:00:44 +03:00
alexey-milovidov
e62769190e Update DistinctSortedBlockInputStream.cpp 2017-04-14 23:00:44 +03:00
Yuri Dyachenko
c6d6f2de3d add DataStreams::DistinctSortedBlockInputStream 2017-04-14 23:00:44 +03:00
Yuri Dyachenko
b9461b8a1b add IBlockInputStream::isGroupedOutput 2017-04-14 22:40:04 +03:00
Alexey Milovidov
832cdfde7e Merge branch 'master' of github.com:yandex/ClickHouse 2017-04-12 22:50:57 +03:00
Alexey Milovidov
00ebb1709d Client: more correct code [#CLICKHOUSE-2]. 2017-04-12 22:50:49 +03:00
robot-metrika-test
4c37ba8902 Auto version update to [54214] 2017-04-12 22:35:28 +03:00
Alexey Zatelepin
3ca6efbbd9 substitute parse<size_t>(config.getString()) for config.getUInt64() 2017-04-12 19:37:19 +03:00
Alexey Zatelepin
eb4f895ea5 fix integer overflow [#CLICKHOUSE-2927] 2017-04-12 19:10:06 +03:00
Alexey Zatelepin
935ec549ca allow specifying log level in extract-from-config [#CLICKHOUSE-2914] 2017-04-12 18:08:52 +03:00
Alexey Zatelepin
0e6c38bd63 throw exception for invalid MergeTreeSettings config values [#CLICKHOUSE-2927] 2017-04-12 18:07:58 +03:00
Alexey Zatelepin
e1c9878c34 more descriptive exception message [#CLICKHOUSE-2927] 2017-04-12 18:07:58 +03:00
proller
c5fc866b66 Fix installing symlinks by cmake (#682) 2017-04-12 00:02:15 +03:00
robot-metrika-test
dd6ac568b5 Auto version update to [54213] 2017-04-11 22:47:28 +03:00
proller
824dc5c655 fix freebsd build (#677)
* fix freebsd build

* Fix freebsd build

* fix freebsd build

* fix freebsd build

* Update ArrayCache.h

* good fix
2017-04-11 22:39:43 +03:00
Alexey Milovidov
18edaca9a2 Merge branch 'master' of github.com:yandex/ClickHouse 2017-04-11 22:38:12 +03:00
Alexey Milovidov
fc77dc189b ODBC driver was moved to separate repository: https://github.com/yandex/clickhouse-odbc [#CLICKHOUSE-6]. 2017-04-11 22:37:23 +03:00
alexey-milovidov
d68ea42643 Fixed unbounded growth of total memory tracking (that hits max_memory_usage_for_all_queries limit) (#681)
* MemoryTracker: more convenient for investigations [#CLICKHOUSE-2935].

* Investigation [#CLICKHOUSE-2935].

* Investigation [#CLICKHOUSE-2935].

* Added comment [#CLICKHOUSE-2935].
2017-04-11 22:10:31 +03:00
Alexey Zatelepin
0b0e8fa7e1 stable column order in BufferBlockInputStream [#CLICKHOUSE-2940] 2017-04-11 21:45:41 +03:00
proller
38e9254d33 fix http methods for ReadWriteBufferFromHTTP (#675) 2017-04-11 17:13:19 +03:00
robot-metrika-test
49eb55fac9 Auto version update to [54212] 2017-04-11 16:33:41 +03:00
proller
b01a65f922 Remove missing allocator_stress from cmake 2017-04-11 16:25:27 +03:00
robot-metrika-test
17a06b1f03 Auto version update to [54211] 2017-04-11 16:20:38 +03:00
proller
a360112311 Fix freebsd build (#672)
* fix freebsd build

* Fix freebsd build
2017-04-11 15:57:31 +03:00
robot-metrika-test
10a735a883 Auto version update to [54210] 2017-04-11 14:43:32 +03:00
Alexey Milovidov
6256a40199 Merge branch 'array-cache' 2017-04-11 05:53:50 +03:00
Alexey Milovidov
174ef70e0a Merge branch 'master' of github.com:yandex/ClickHouse 2017-04-11 05:53:39 +03:00
Alexey Milovidov
a37fa9ca6a Whitespace [#CLICKHOUSE-2]. 2017-04-11 05:53:29 +03:00
Alexey Milovidov
756df579b2 ArrayCache: development [#CLICKHOUSE-2]. 2017-04-11 05:52:22 +03:00
Alexey Milovidov
5b29658aae MemoryTracker: more convenient for investigations [#CLICKHOUSE-2935]. 2017-04-11 00:43:59 +03:00
proller
72ccc69212 Debian: simpler package (#662)
* Allow use external re2 with re2_st=re2

* fix

* remove dupe

* use re2_st in FunctionsStringSearch.h

* fix

* move files from tools/etc to debian

* dont generate control

* version

* ok.

* wip

* Cmake: dont touch CMAKE_INSTALL_PREFIX

* wip

* works!

* clean

* okay

* like old

* wip

* wip

* okay

* clickhouse-server-base-dbg

* clean

* clickhouse-server-dbg

* Debian: Remove daemons

* Update rules

* add source/format

* control clean

* add watch

* clean

* clean

* temp fix build

* clean

* docs

* fake make_control

* fix

* testme

* testme

* add metrika package

* fake metrika files
2017-04-10 20:43:30 +03:00
Alexey Milovidov
ba108daf9d ArrayCache: development [#CLICKHOUSE-2]. 2017-04-10 03:24:58 +03:00
Alexey Milovidov
f418ed37cf ArrayCache: development [#CLICKHOUSE-2]. 2017-04-10 02:10:05 +03:00
Alexey Milovidov
5f8d99cbe9 ArrayCache: development [#CLICKHOUSE-2]. 2017-04-09 10:02:13 +03:00
Alexey Milovidov
1005236a09 ArrayCache: development [#CLICKHOUSE-2]. 2017-04-09 09:44:45 +03:00
Alexey Milovidov
5ededd6b51 ArrayCache: development [#CLICKHOUSE-2]. 2017-04-09 09:39:26 +03:00
Alexey Milovidov
2d0421e801 ArrayCache: development [#CLICKHOUSE-2]. 2017-04-09 09:29:26 +03:00
Alexey Milovidov
0ceb92b037 ArrayCache: development [#CLICKHOUSE-2]. 2017-04-09 08:19:50 +03:00
Alexey Milovidov
ba9590d340 Merge branch 'master' of github.com:yandex/ClickHouse 2017-04-08 04:32:24 +03:00
Alexey Milovidov
a0b9bf5e97 Moved code to cpp [#CLICKHOUSE-2]. 2017-04-08 04:32:05 +03:00
proller
957f105377 fix freebsd build 2017-04-08 04:01:21 +03:00
robot-metrika-test
82766247e2 Auto version update to [54209] 2017-04-07 23:50:27 +03:00