Commit Graph

7516 Commits

Author SHA1 Message Date
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
Alexey Milovidov
cc43f989bc Preparation [#CLICKHOUSE-4]. 2017-03-29 14:33:07 +03:00
Alexey Milovidov
034e53e6a4 JOIN: translated comments [#CLICKHOUSE-4]. 2017-03-29 14:12:47 +03:00
proller
8a9d9dddb4 Allow build with poco with disabled MongoDB or DataODBC or NetSSL (#636)
* partial poco support

* fix

* fix optional ssl

* servier without netssl

* fix link order

* testme

* requested changes

* throw on https listen, shutdown tip
2017-03-28 23:30:57 +03:00
proller
5fe01a1e6c requested fixes 2017-03-28 21:46:22 +03:00
proller
6b9cdd585a On shutdown wait 5 seconds to complete queries 2017-03-28 21:46:22 +03:00
proller
37f3ccb1ab cmake: split USE_STATIC_LIBRARIES to USE_STATIC_LIBRARIES + MAKE_STATIC_LIBRARIES
fix freebsd install path
fix TEST_COVERAGE flags
2017-03-28 20:50:58 +03:00
Vitaliy Lyudvichenko
b7b485f376 Removed unused settings. 2017-03-28 20:46:16 +03:00
Vitaliy Lyudvichenko
60dfa8dbf3 Add requested changes. [#CLICKHOUSE-2070] 2017-03-28 20:46:16 +03:00
Vitaliy Lyudvichenko
2ab25099cd Move boost::tests to Google Tests. [#CLICKHOUSE-2] 2017-03-28 20:46:16 +03:00
Vitaliy Lyudvichenko
a1e27e2b84 Add ru doc. [#CLICKHOUSE-2070] 2017-03-28 20:46:16 +03:00
Vitaliy Lyudvichenko
0290203f6d Fix test, add more comments. [#CLICKHOUSE-2070] 2017-03-28 20:46:16 +03:00
Vitaliy Lyudvichenko
44c9bad289 Add functional test, fixed error. [#CLICKHOUSE-2070] 2017-03-28 20:46:16 +03:00
Vitaliy Lyudvichenko
b5b863a6f4 Better HTTPHandler and IReadableWriteBuffer. [#CLICKHOUSE-2070] 2017-03-28 20:46:16 +03:00
Vitaliy Lyudvichenko
c73971d7ec Split implementations to different files. [#CLICKHOUSE-2070] 2017-03-28 20:46:16 +03:00
Vitaliy Lyudvichenko
15254f91d2 Improve CMakeLists.txt for tests. [#CLICKHOUSE-2] 2017-03-28 20:46:16 +03:00
Vitaliy Lyudvichenko
19a2195710 Implemented re-readable buffers, add unit tests. [#CLICKHOUSE-2070] 2017-03-28 20:46:16 +03:00
Alexey Milovidov
3e48021f81 Style [#CLICKHOUSE-2]. 2017-03-28 20:40:25 +03:00
robot-metrika-test
9dab131846 Auto version update to [54198] 2017-03-28 20:19:44 +03:00
Ravengg
a973e3898d Add remove for part log (#638)
* Add REMOVE_PART

* fix

* fix

* fix codestyle
2017-03-28 20:18:49 +03:00
robot-metrika-test
99c79ba10d Auto version update to [54197] 2017-03-28 13:13:16 +03:00
Alexey Milovidov
8cf0e87382 Unified JOIN variants (continued) [#CLICKHOUSE-4]. 2017-03-28 10:00:03 +03:00
Alexey Milovidov
b859463296 Unified JOIN variants. Added all variants from Set [#CLICKHOUSE-4]. 2017-03-28 09:51:22 +03:00
Alexey Milovidov
f55075b1ba Removed deprecated functions from documentation [#CLICKHOUSE-2]. 2017-03-28 07:59:05 +03:00
Alexey Milovidov
f2933e7623 Fixed double whitespace [#CLICKHOUSE-2]. 2017-03-28 06:54:25 +03:00
Alexey Milovidov
a8f6a3127d Implemented limited support for NULLs in IN operator [#CLICKHOUSE-4]. 2017-03-28 06:00:33 +03:00
Alexey Milovidov
8b2f769f12 Fixed error after translated comments [#CLICKHOUSE-3]. 2017-03-26 05:07:15 +03:00
Alexey Milovidov
14c8003081 Normalized formatting [#CLICKHOUSE-3].
Apply in a loop:
find dbms -name '*.h' -or -name '*.cpp' | xargs grep -l -P '^(\t*)    ' | xargs sed -i -r -e 's/^(\t*)    /\1\t/'
2017-03-26 04:28:07 +03:00
Alexey Milovidov
93890423f1 Fixed zero-width spaces [#CLICKHOUSE-3].
find dbms -name '*.h' -or -name '*.cpp' | xargs grep -l $'\xe2\x80\x8b' | xargs sed -i 's/'$'\xe2\x80\x8b''//g'
2017-03-26 04:20:25 +03:00
Alexey Milovidov
edd405ef29 Merge branch 'docs/translate' of https://github.com/f1yegor/ClickHouse into f1yegor-docs/translate 2017-03-26 04:17:58 +03:00
alexey-milovidov
3d7587cb84 Update DatabaseCloud.cpp 2017-03-26 04:14:49 +03:00
Alexey Milovidov
e6ba252507 Hierarchical dictionaries performance: continued [#CLICKHOUSE-2144]. 2017-03-26 03:42:01 +03:00
Alexey Milovidov
d4992da546 Implemented isIn methods for cache dictionaries [#CLICKHOUSE-2144]. 2017-03-26 02:42:04 +03:00
f1yegor
bc0d9a2cae translate comments 2017-03-25 21:12:56 +01:00
Alexey Milovidov
f5434cd2ae Separated functions for embedded and external dictionaries [#CLICKHOUSE-2144]. 2017-03-25 21:11:09 +03:00
Alexey Milovidov
9e7813686e Merge branch 'master' into hierarchical-dictionaries-performance 2017-03-25 20:53:41 +03:00
Alexey Milovidov
18ecccb856 Moved code to cpp [#CLICKHOUSE-2]. 2017-03-25 08:55:49 +03:00