Commit Graph

7552 Commits

Author SHA1 Message Date
alexey-milovidov
c9c8c8ec50 Better option to disable mysqlclient (#710)
* Better support for disabling libmysqlclient [#CLICKHOUSE-2].

* Addition to prev. revision [#CLICKHOUSE-2].

* Addition to prev. revision [#CLICKHOUSE-2].
2017-04-19 03:25:57 +03:00
proller
ab5e6c4840 Fix build without installd unixodbc (#708)
* Fix build without installd unixodbc

* clean

* no openssl error

* fix

* fix
2017-04-19 03:21:16 +03:00
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
Yuri Dyachenko
f508f1e5f3 add ErrorCode OUTPUT_IS_NOT_SORTED 2017-04-07 23:31:53 +03:00
alexey-milovidov
d0629a9df6 Update IBlockInputStream.h 2017-04-07 23:31:53 +03:00
Yuri Dyachenko
d54d44d97d provide SortedDescription to block pipe 2017-04-07 23:31:53 +03:00
Alexey Milovidov
7454185a0a Fixed join_use_nulls setting [#CLICKHOUSE-4]. 2017-04-07 23:30:52 +03:00
Alexey Milovidov
a7e557f2a3 clickhouse-client: Fixed terminal escape codes in Mosh [#CLICKHOUSE-2930]. 2017-04-07 20:56:03 +03:00
Yuri Dyachenko
23e824d7a9 add ClearableSetVariant 2017-04-07 20:12:54 +03:00
Yuri Dyachenko
ad79394799 add ClearableHashSetWithSavedHash 2017-04-07 20:12:54 +03:00
Alexey Milovidov
463fddb2ca Joins by Nullable keys: development [#CLICKHOUSE-4]. 2017-04-07 00:44:52 +03:00
Alexey Milovidov
ab215c0fcd join_use_nulls: development; added test [#CLICKHOUSE-4]. 2017-04-07 00:09:39 +03:00
Alexey Milovidov
928b8d7653 Merge branch 'master' of github.com:yandex/ClickHouse 2017-04-06 22:51:53 +03:00
Alexey Milovidov
bd544bbe3a Fixed error with NULLs [#CLICKHOUSE-4]. 2017-04-06 22:51:44 +03:00
proller
adba3b8e6d delete ReadBufferFromHTTP, use ReadWriteBufferFromHTTP instead 2017-04-06 22:39:25 +03:00
Alexey Milovidov
e36468af29 Renamed test [#CLICKHOUSE-2]. 2017-04-06 19:35:23 +03:00
Alexey Milovidov
4132d0ed32 Fixed test [#CLICKHOUSE-2]. 2017-04-06 19:34:39 +03:00
proller
1bc311eefd ReplicatedMergeTree: Max streams to send data [#CLICKHOUSE-2878] (#656)
* ReplicatedMergeTree: Max streams to send data [#CLICKHOUSE-2878]

* fix

* better messages on client

* change code to 429 TOO_MANY_REQUESTS

* wip

* better message

* Update InterserverIOHandler.h

* Update InterserverIOHTTPHandler.cpp

* Update StorageReplicatedMergeTree.cpp
2017-04-06 16:03:23 +03:00
Alexey Milovidov
31f7fe42d6 Fool's day changed, continued [#CLICKHOUSE-3]. 2017-04-05 14:52:23 +03:00
Vitaliy Lyudvichenko
74a92cb8d9 Add test for OPTIMIZE FINAL and more diagnostics. [#CLICKHOUSE-2886] 2017-04-04 15:54:21 +03:00
proller
11218b9ba5 cmake: remove hardcoded src/ in macros add_headers_and_sources 2017-04-04 15:37:04 +03:00
Alexey Milovidov
093c77559f Added test [#CLICKHOUSE-2754]. 2017-04-04 12:24:14 +03:00
Alexey Milovidov
a272614c3d Fixed error with filtering by Nullable, continued [#CLICKHOUSE-2754]. 2017-04-04 12:22:06 +03:00
Alexey Milovidov
5919dcae70 Fixed error in filtering by Nullable column [#CLICKHOUSE-2754]. 2017-04-04 11:00:31 +03:00
Alexey Milovidov
baf2e6e95b Added 'join_use_nulls' setting to allow using NULLs as default values for non-joined rows in case of outer joins [#CLICKHOUSE-2]. 2017-04-04 09:52:39 +03:00
robot-metrika-test
af4b87e0ce Auto version update to [54208] 2017-04-03 13:05:50 +03:00
f1yegor
b4c23f122a Translated comments 2017-04-02 20:37:49 +03:00
Alexey Milovidov
7f53cec624 Moved headers and sources to same place (part 5) [#CLICKHOUSE-3]. 2017-04-01 13:25:45 +03:00
Alexey Milovidov
0f775ef20b Added missing modification [#CLICKHOUSE-2]. 2017-04-01 13:15:01 +03:00
Alexey Milovidov
e91395fa14 Moved headers and sources to same place (part 2) [#CLICKHOUSE-3]. 2017-04-01 13:10:04 +03:00
Alexey Milovidov
5784e4a898 Moved headers and sources to same place [#CLICKHOUSE-3]. 2017-04-01 13:10:04 +03:00
Alexey Milovidov
12dc10feaa Revert "Moved headers and sources to same place [#CLICKHOUSE-3]."
This reverts commit abaa1501fc.
2017-04-01 12:21:05 +03:00
Alexey Milovidov
abaa1501fc Moved headers and sources to same place [#CLICKHOUSE-3]. 2017-04-01 12:19:00 +03:00
Alexey Milovidov
09e3134bf4 Revert "Using C++17 [#CLICKHOUSE-3]."
This reverts commit 431a735efe.
2017-04-01 11:51:30 +03:00
Alexey Milovidov
ecb0b87bd8 Using C++17 [#CLICKHOUSE-3]. 2017-04-01 11:51:30 +03:00
Alexey Milovidov
137ad95929 Changed tabs to spaces in code [#CLICKHOUSE-3]. 2017-04-01 11:35:09 +03:00
robot-metrika-test
758473dcb1 Auto version update to [54207] 2017-03-31 21:06:36 +03:00
Alexey Milovidov
4423420c20 Merge branch 'master' of github.com:yandex/ClickHouse 2017-03-31 19:00:42 +03:00
Alexey Milovidov
4f44445ff0 Removed all trailing whitespaces [#CLICKHOUSE-2]. find . -name '*.h' -or -name '*.cpp' -or -name '*.cmake' -or -name 'CMakeLists.txt' -or -name '*.html' -or -name '*.xml' | grep -v contrib | xargs sed -i -r -e 's/\s+$//' 2017-03-31 19:00:30 +03:00
robot-metrika-test
5ad761a930 Auto version update to [54206] 2017-03-31 17:47:04 +03:00
proller
fbdcab343f Limit fetching threads [#CLICKHOUSE-2878] (#648)
* Max parallel fetches limit

* use MergeTreeSettings.h

* clean
2017-03-31 17:46:48 +03:00
proller
1420c72c37 Auto version update to [54205] 2017-03-31 17:39:48 +03:00
Vitaliy Lyudvichenko
53a7abf77e Fixed FreeBSD build. [#CLICKHOUSE-3] 2017-03-31 16:54:55 +03:00
Alexey Milovidov
aee25d49a7 Preparation [#CLICKHOUSE-2]. 2017-03-31 15:38:22 +03:00
proller
f5a7498559 Fix building Server.cpp without poco NetSSL lib 2017-03-31 15:16:09 +03:00
George
1d317d994f Fixed mistake that made % not show over 50% 2017-03-31 08:11:31 +03:00
proller
29d4471b9d Fix build in gcc7 (#641)
* Fix build in gcc7

* try reduce warn area

* better fix
2017-03-31 08:09:11 +03:00
proller
633b829ca5 Config: example how to load UI tabix.io on http://localhost:8123 2017-03-30 17:11:10 +03:00
Alexey Milovidov
40ce6f86db Allowed JOIN to work with Nullable keys [#CLICKHOUSE-4]. 2017-03-30 17:09:24 +03:00
Igor
a5937ed024 Incriment max_size in Dictionaries:RegionsNames & RegionsHierarchy up to 15M 2017-03-30 14:44:30 +03:00
Alexey Milovidov
3fdb1dd629 Merge branch 'master' of github.com:yandex/ClickHouse 2017-03-29 16:00:17 +03:00