Commit Graph

7897 Commits

Author SHA1 Message Date
Alexey Milovidov
aa629d0f7e Minor modification [#CLICKHOUSE-2]. 2017-05-05 14:25:53 -07:00
Alexey Milovidov
9d4c814b12 Aggregate function topK: style modifications [#CLICKHOUSE-2]. 2017-05-05 14:17:04 -07:00
proller
b1f1096f27 tests: correct Connection refused detection (#766) 2017-05-05 17:50:05 +03:00
proller
9bcece79f9 tests: dont stop on errors by default 2017-05-05 07:19:00 -07:00
proller
6c34f27e3b Another freebsd fix, update freebsd build doc 2017-05-05 03:23:32 +03:00
proller
1474de179c CastTypeBlockInputStream: hotfix: sometimes columns in sample blocks and stream blocks does not match 2017-05-04 22:41:55 +03:00
Nikolai Kochetov
1604ce138a changed key storage format for complex key dictionaries 2017-05-04 21:14:23 +03:00
proller
9a937591e5 Try fix freebsd 11-STABLE OCbuild 2017-05-04 18:25:34 +03:00
Marek Vavruša
5f1e65b252 AggregateFunctions: implemented topK(n)
This implements a new function for approximate
computation of the most frequent entries using
Filtered Space Saving with a merge step adapted
from Parallel Space Saving paper.

It works better for cases where GROUP BY x
is impractical due to high cardinality of x,
such as top IP addresses or top search queries.
2017-05-03 23:09:52 -07:00
proller
0787bd66ff Merge: fail if cant convert columns (#753)
* Merge: fail if cant convert columns

* Merge: convert all different types, more tests

* clean

* clean

* clean
2017-05-03 21:08:59 -07:00
Vitaliy Lyudvichenko
d504c5454a Resolves #750. Allow to load more than 16 external dictionaries. [#CLICKHOUSE-3] 2017-05-03 21:04:58 -07:00
alexey-milovidov
99c360b6c7 Update Server.cpp 2017-05-03 21:02:55 -07:00
alexey-milovidov
85e59ae3ff Update Server.cpp 2017-05-03 21:02:55 -07:00
proller
90bbdaffda Remove old comment 2017-05-03 21:02:55 -07:00
proller
f02a605900 Better "Protocol not supported" message 2017-05-03 21:02:55 -07:00
Vitaliy Lyudvichenko
6d93d9cefb Combinator -MergeState now returns AggregateFunction(nested_func). [#CLICKHOUSE-2891] 2017-05-03 20:59:42 -07:00
robot-metrika-test
713168c98f Auto version update to [54233] 2017-05-03 22:47:57 +03:00
robot-metrika-test
312a0bf5f2 Auto version update to [54232] 2017-05-02 22:39:11 +03:00
f1yegor
5ffa35cf24 translate comments 2017-04-30 23:46:40 -07:00
Maxim Fridental
e9d9abf328 Fix escaping of columns starting with a number 2017-04-29 23:40:34 -07:00
alexey-milovidov
fb01ef0132 Update StorageMerge.cpp 2017-04-29 06:37:38 +03:00
alexey-milovidov
0e8c3b976f Update CastTypeBlockInputStream.cpp 2017-04-29 06:37:38 +03:00
proller
b2e2233a59 rename CastEnumBlockInputStream -> CastTypeBlockInputStream 2017-04-29 06:37:38 +03:00
proller
7a0854775b Merge: Cast types on read [#CLICKHOUSE-2957] 2017-04-29 06:37:38 +03:00
Alexey Milovidov
e0b141e3eb Do not remove temporary directory on fetch [#CLICKHOUSE-2894]. 2017-04-29 01:26:39 +03:00
proller
2a1eceef03 Try fix macos build 2017-04-29 00:18:18 +03:00
Vitaliy Lyudvichenko
42fcf148e2 Add column rows to system.parts table. [#CLICKHOUSE-2950] 2017-04-28 23:54:24 +03:00
proller
edcc18992b Try fix macos build (again) 2017-04-28 22:50:42 +03:00
proller
948d9c39cd Try fix macos build. Add more debug io helpers 2017-04-28 21:57:26 +03:00
Nikolai Kochetov
79564054a9 added RangeDictionaryBlockInputStream 2017-04-28 21:33:31 +03:00
proller
7c891eb841 Server: Special mode with empty listen_host : try listen v4 and v6 (#730)
* Server: Special mode with empty listen_host : try listen v4 and v6 without fatal error if protocol not supported (for docker and freebsd)

* fix build on freebsd/macos

* Requested change

* Update Server.cpp

* Update Server.cpp

* Fix deadlock when queue_log queue is full

* Add log error on query log fail

* Fix incudes, move code from daemon/OwnPatternFormatter.h

* Update SystemLog.h

* Update SystemLog.h

* Auto version update to [54230]

* Catch only "Protocol not supported" listen error

* Update Server.cpp
2017-04-28 00:51:09 +03:00
Alexey Milovidov
c77152e3ba Loosen dependency [#CLICKHOUSE-2828]. 2017-04-27 23:47:24 +03:00
artpaul
d269827dfd #215 convert to Enum with FunctionCast 2017-04-27 23:29:39 +03:00
Alexey Zatelepin
b0993e2d97 simplify test queries [#CLICKHOUSE-2979] 2017-04-27 23:15:45 +03:00
Alexey Zatelepin
aeb83f9ef7 fix key columns indexing for RIGHT and FULL joins [#CLICKHOUSE-2979] 2017-04-27 23:15:45 +03:00
Nikolai Kochetov
9243439e9b added DictionaryBlockInputStream 2017-04-27 20:16:24 +03:00
robot-metrika-test
419b6e224a Auto version update to [54230] 2017-04-27 17:38:47 +03:00
alexey-milovidov
9b543dec5c Update SystemLog.h 2017-04-27 09:02:12 +03:00
alexey-milovidov
2f32c0e9d2 Update SystemLog.h 2017-04-27 09:02:12 +03:00
proller
8cdae06a2d Add log error on query log fail 2017-04-27 09:02:12 +03:00
proller
2ca3fcf7d3 Fix deadlock when queue_log queue is full 2017-04-27 09:02:12 +03:00
proller
bcb230ebc6 Fix incudes, move code from daemon/OwnPatternFormatter.h 2017-04-27 08:40:27 +03:00
proller
d00ae1a640 fix build on freebsd/macos 2017-04-26 18:16:36 +03:00
robot-metrika-test
c14948bba5 Auto version update to [54229] 2017-04-26 14:19:29 +03:00
proller
cd4a5c040c More debug io helpers: some types from dbms (#725)
* release: import options from jenkins script

* correct chdir

* limit parallel build threads

* VERSION_POSTFIX

* add postfix

* support BUILD_TYPE

* Removed unused.

* Fixed error [#CLICKHOUSE-2960].

* Fix version incrementing

* Fix message

* Fix build without icu and readline

* More io helpers: some types from dbms

* Requested changes
2017-04-26 05:50:03 +03:00
robot-metrika-test
b70b6a7b5b Auto version update to [54228] 2017-04-25 20:54:43 +03:00
artpaul
c19dada4a3 switch while to if 2017-04-25 20:17:13 +05:00
Nikolai Kochetov
bdf998d20f added StorageDictionary 2017-04-25 12:10:27 +03:00
Alexey Milovidov
5f32cf5d90 Review modifications [#CLICKHOUSE-2828]. 2017-04-25 08:10:29 +03:00
Alexey Milovidov
7f0aecfcf6 Review modifications [#CLICKHOUSE-2828]. 2017-04-25 08:08:26 +03:00
Alexey Milovidov
74c04c467b Review modifications [#CLICKHOUSE-2828]. 2017-04-25 08:07:18 +03:00
artpaul
fd9d613dc9 #215 add tests 2017-04-25 07:57:49 +03:00
artpaul
323a9aff6d #215 cast strings or ints to enum on insert 2017-04-25 07:57:49 +03:00
Alexey Milovidov
b007f6ba18 Analyzers: added type inference for higher order functions [#CLICKHOUSE-11]. 2017-04-24 07:31:03 +03:00
Alexey Milovidov
c7ff3a0ed1 Merge branch 'master' of github.com:yandex/ClickHouse 2017-04-24 06:34:24 +03:00
Alexey Milovidov
1f76b7f568 Fixed test [#CLICKHOUSE-2]. 2017-04-24 06:33:49 +03:00
proller
c3a62f1bb0 Fix build without icu and readline 2017-04-24 06:28:28 +03:00
Alexey Milovidov
3788c3d3dd Added test for Log, TinyLog, StripeLog tables with Nullable types [#CLICKHOUSE-4]. 2017-04-23 11:29:38 +03:00
Alexey Milovidov
aa2cd20823 Miscellaneous [#CLICKHOUSE-2]. 2017-04-23 11:29:24 +03:00
Alexey Milovidov
6f65176285 Explicitly disallow dummy data types and special Null data type to be in table declaration [#CLICKHOUSE-4]. 2017-04-23 10:59:49 +03:00
Alexey Milovidov
69d7432f31 Added test for ALTERing Nullable columns [#CLICKHOUSE-4]. 2017-04-23 10:27:31 +03:00
proller
f32862be60 Hotfix for functions lib in client 2017-04-21 22:16:31 +03:00
proller
8cf716fa29 Functions as separate lib 2017-04-21 21:30:16 +03:00
proller
2967fd7b41 Server default config: Full paths to certs 2017-04-21 16:03:48 +03:00
proller
05e9fa2b4b Server default config: disable https client cert verification 2017-04-21 15:57:44 +03:00
Vladimir Chebotarev
0e0ccdccf1 dbms/src/Common: Comments for HyperLogLogCounter.h. [#CHEBOTAREV-4] 2017-04-21 15:20:03 +03:00
robot-metrika-test
f119fc84ea Auto version update to [54227] 2017-04-21 13:29:02 +03:00
Vladimir Chebotarev
79e72a685d dbms/src/Common: Comments for HyperLogLogCounter.h. [#CHEBOTAREV-4] 2017-04-21 12:58:21 +03:00
robot-metrika-test
ac1b7b178d Auto version update to [54226] 2017-04-21 00:15:32 +03:00
Alexey Milovidov
48c9abc5cf Added setting 'ignore_key_if_not_keyed' for quotas [#CLICKHOUSE-2969]. 2017-04-20 23:30:33 +03:00
Alexey Milovidov
110defd56f Disabled replicated max parallel fetches/sends, because it does not work properly [#CLICKHOUSE-2960]. 2017-04-20 21:38:17 +03:00
Alexey Milovidov
ee6a7ee204 Allow to disable replicated max parallel fetches/sends [#CLICKHOUSE-2960]. 2017-04-20 21:37:01 +03:00
Alexey Milovidov
563e21247e Style [#CLICKHOUSE-2]. 2017-04-20 21:35:39 +03:00
alexey-milovidov
512d86ceaf Merge pull request #706 from yandex/lagging-replicas-failover
Check for stale replicas when performing distributed queries
2017-04-20 21:30:02 +03:00
Alexey Milovidov
b491ee7f63 Style [#CLICKHOUSE-2]. 2017-04-20 19:41:03 +03:00
Alexey Zatelepin
baf0f70ba3 Failover if the needed table is missing on remote server [#CLICKHOUSE-2141] 2017-04-20 19:19:30 +03:00
Alexey Zatelepin
d1fa449f4a PR fixes [#CLICKHOUSE-2141] 2017-04-20 17:04:38 +03:00
robot-metrika-test
63cba2a12c Auto version update to [54225] 2017-04-20 16:24:40 +03:00
robot-metrika-test
0809389249 Auto version update to [54223] 2017-04-20 15:28:54 +03:00
Alexey Milovidov
2d3e09af82 Fixed error [#CLICKHOUSE-2960]. 2017-04-20 05:22:17 +03:00
Alexey Zatelepin
ba254a082e Merge branch 'master' into lagging-replicas-failover
Conflicts:
	dbms/src/Core/ErrorCodes.cpp
2017-04-19 21:31:29 +03:00
Alexey Zatelepin
c91828e5bf PR fixes [#CLICKHOUSE-2141] 2017-04-19 21:29:50 +03:00
Alexey Zatelepin
485c58b039 use only ConnectionPoolWithFailover in RemoteBlockInputStream [#CLICKHOUSE-2141] 2017-04-19 20:50:17 +03:00
robot-metrika-test
80c2fa2ba7 Auto version update to [54220] 2017-04-19 18:16:21 +03:00
artpaul
d43c9bb1d0 odbc: send header info even on empty result 2017-04-19 18:42:58 +05:00
Alexey Milovidov
1d93e93af3 Fixed test [#CLICKHOUSE-2]. 2017-04-19 08:35:38 +03:00
Alexey Milovidov
53364dcc8d Fixed totally wrong code; implemented function emptyArrayToSingle for generic case [#CLICKHOUSE-2963]. 2017-04-19 08:08:22 +03:00
Alexey Milovidov
3de78d093b Fixed LEFT ARRAY JOIN for constant arrays [#CLICKHOUSE-2946]. 2017-04-19 07:03:11 +03:00
Alexey Milovidov
be316af758 Save stack trace on exception from typeid_cast [#CLICKHOUSE-4]. 2017-04-19 06:38:54 +03:00
Alexey Milovidov
0224468be3 Save stack trace on exception from typeid_cast [#CLICKHOUSE-4]. 2017-04-19 06:36:50 +03:00
Alexey Milovidov
ed3c0125cd Added support for Nullable types in higher order functions [#CLICKHOUSE-4]. 2017-04-19 06:35:11 +03:00
Alexey Milovidov
3af2bade1b Added test [#CLICKHOUSE-4]. 2017-04-19 06:33:54 +03:00
Alexey Milovidov
1cdb2a2797 Fixed error [#CLICKHOUSE-4]. 2017-04-19 06:11:26 +03:00
alexey-milovidov
35abae95c8 Allow to disable ICU (#711)
* Allow to disable ICU [#CLICKHOUSE-2].

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

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

* Addition to prev. revision [#CLICKHOUSE-2].
2017-04-19 04:06:29 +03:00
Alexey Milovidov
3ad87ec820 Addition to prev. revision [#CLICKHOUSE-2]. 2017-04-19 03:31:15 +03:00
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
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
Alexey Milovidov
1ce132d068 Merge branch 'master' of github.com:yandex/ClickHouse 2017-03-25 08:47:34 +03:00
Alexey Milovidov
861684c554 Fixed error found with Svace static analyzer by ISP RAS [#CLICKHOUSE-2]. 2017-03-25 08:46:50 +03:00
Alexey Zatelepin
3f9eb5f0f9 implemented clickhouse --extract-from-config tool [#CLICKHOUSE-2876] 2017-03-25 02:31:18 +03:00
Alexey Milovidov
e6a41a0256 Fixed error with NULLs [#CLICKHOUSE-2901]. 2017-03-24 07:42:36 +03:00
robot-metrika-test
6042f1d5f9 Auto version update to [54196] 2017-03-23 20:32:02 +03:00
Vitaliy Lyudvichenko
6d1a8c7c97 Consider changes in default profile to initialize default users' settings. [#CLICKHOUSE-2906] 2017-03-23 21:30:22 +04:00
Vitaliy Lyudvichenko
84694ca269 Resolved #594. Select least busiest buffer for insert into StorageBuffer. [#CLICKHOUSE-2892] 2017-03-23 21:25:14 +04:00
Alexey Zatelepin
1ce0300c51 better detection of local timezone id [#CLICKHOUSE-2852] 2017-03-23 20:13:04 +04:00
Alexey Milovidov
7fa4459f56 Fixed error in config [#CLICKHOUSE-2762]. 2017-03-23 18:38:49 +03:00
George3d6
f338a747b0 Update Client.cpp (#615)
* Update Client.cpp

* Update Client.cpp

Added a check before displaying the % completed to see if progress.total_rows is equal to zero (in order not to display faulty information for table where the % can't be computed). Also added the "elapsed_ns > 500000000" check so that the % still renders in sync with the progress bar.
2017-03-23 04:57:11 +04:00
proller
670e98fa92 allow several <graphite> targets (#603)
* allow several <graphite> targets

* fix

* fix

* Adjustable parts

* changelog version

* fix

* changelog

* Style fixes

* attachSystemTables

* config describe

* fixes

* fixes
2017-03-21 23:08:09 +04:00
robot-metrika-test
daefb877df Auto version update to [54190] 2017-03-21 21:41:01 +03:00
Alexey Milovidov
c21b4c52c5 Misc [#CLICKHOUSE-3]. 2017-03-21 21:39:07 +03:00
Alexey Milovidov
9d5ea2163c Fixed error with FixedString filtering [#CLICKHOUSE-2898]. 2017-03-21 21:37:35 +03:00
Vitaliy Lyudvichenko
349c96ec8f Resolved #619. Eliminated copy paste from benchmark util. [#CLICKHOUSE-3] 2017-03-21 15:18:56 +03:00
robot-metrika-test
f1a66ab2ef Auto version update to [54189] 2017-03-21 14:34:27 +03:00
Alexey Milovidov
d3ae1267eb Fixed error when parts of unlimited total size could be selected for merge in case of low free disk space [#CLICKHOUSE-2895]. 2017-03-20 23:29:12 +03:00
Alexey Milovidov
910c542994 Added more bitwise functions [#CLICKHOUSE-2884]. 2017-03-20 22:16:02 +03:00
Alexey Zatelepin
fccbc82c24 translate comments 2017-03-19 21:58:12 +04:00
Alexey Zatelepin
faadab3034 Allow including config elements from ZooKeeper [#CLICKHOUSE-2794] 2017-03-19 21:58:12 +04:00
robot-metrika-test
72f4236656 Auto version update to [54187] 2017-03-17 00:04:41 +03:00
robot-metrika-test
24ae6cb539 Auto version update to [54185] 2017-03-16 19:47:27 +03:00
proller
4271ef80ea fix moveing cmake files 2017-03-16 19:46:05 +03:00
Vitaliy Lyudvichenko
3bdb1b6bb0 Merge pull request #600 from yandex/CLICKHOUSE-2886
Fix Vertical merge in case of OPTIMIZE FINAL with single part.
2017-03-16 18:31:01 +03:00
proller
5b8ed657f9 fix build (#602)
* fix build

* fix freebsd
2017-03-16 18:04:05 +03:00
Vitaliy Lyudvichenko
d7d22b80e5 Fix Vertical merge in case of OPTIMIZE FINAL with single part. [#CLICKHOUSE-2886] 2017-03-16 13:42:00 +03:00
proller
8ea8b8a215 add missing file 2017-03-16 13:51:41 +04:00
proller
a08714105b Simpler vercorclass 2017-03-16 13:51:41 +04:00
proller
930ac5b2ce move ClickHouseRevision to dbms 2017-03-16 13:51:41 +04:00
proller
28ed324702 add cmake option USE_VECTORIZED_MATH_FUNCTIONS, reorganize auto configs 2017-03-16 13:51:41 +04:00
proller
9a1169fef6 fix tests 2017-03-16 13:51:21 +04:00
Bogdan Voronin
a3ff193fe3 Add log merge for replicas 2017-03-16 00:23:02 +04:00
proller
d777cab172 link Storages/System via lib 2017-03-15 23:43:02 +04:00
proller
25caed0c03 move all attaches of system tables to attach_system_tables.cpp 2017-03-15 23:43:02 +04:00
Alexander Prudaev
227312875c fix PODArray::resize_fill 2017-03-15 23:42:37 +04:00
Alexey Milovidov
dd0b0205a1 More verbose error message [#CLICKHOUSE-2885]. 2017-03-14 22:31:15 +03:00
Alexey Milovidov
701f69de6b More specific error code [#CLICKHOUSE-2]. 2017-03-14 22:06:25 +03:00
Ravengg
b47cc72701 Fix part log (#591)
* fix_part_log

* fixed language back

* add reset part_log back

* reset part_log when don't need more

* Fix header

* fix
2017-03-14 19:58:34 +04:00
Alexey Milovidov
4e67e05835 Fixed error [#CLICKHOUSE-2]. 2017-03-14 03:14:19 +03:00
Alexey Milovidov
d877718bb6 Fixed error [#CLICKHOUSE-2]. 2017-03-14 02:13:49 +03:00
Alexey Milovidov
df81e7458f Addition to prev. revision [#CLICKHOUSE-2]. 2017-03-14 00:50:15 +03:00
Alexey Milovidov
0a914b41a8 Addition to prev. revision [#CLICKHOUSE-2]. 2017-03-14 00:48:58 +03:00
Alexey Milovidov
8f9a915fef Addition to prev. revision [#CLICKHOUSE-2]. 2017-03-14 00:46:18 +03:00
Alexey Milovidov
79dd801348 Fixed error [#CLICKHOUSE-2]. 2017-03-14 00:37:53 +03:00
Alexey Milovidov
bd34b62f4a Avoid most of cases when server is aborted after exception 'Memory limit (for user) exceeded' [#CLICKHOUSE-2863]. 2017-03-13 23:38:42 +03:00
Alexey Milovidov
ef5b9a8c5c Addition to prev. revision [#CLICKHOUSE-2]. 2017-03-13 22:26:31 +03:00
Alexey Milovidov
1c6c751108 Better overloads [#CLICKHOUSE-2]. 2017-03-13 22:23:56 +03:00
Alexey Milovidov
f9b4b2012f Removed zero-width spaces [#CLICKHOUSE-2]. 2017-03-13 21:02:45 +03:00
Alexey Milovidov
26788e3938 Formatting [#CLICKHOUSE-2]. 2017-03-13 21:01:46 +03:00
Alexey Milovidov
a6a18db6da Merge branch 'translate/comments' of https://github.com/f1yegor/ClickHouse into f1yegor-translate/comments 2017-03-13 20:51:22 +03:00
Alexey Milovidov
7606eef20c Style [#CLICKHOUSE-2]. 2017-03-13 20:37:20 +03:00
Alexey Milovidov
07f256015b Revert "Update Client.cpp"
This reverts commit 4eb969087d.
2017-03-13 20:35:17 +03:00
alexey-milovidov
4eb969087d Update Client.cpp 2017-03-13 21:33:18 +04:00
ks1322
afbd2f78d8 pager for command line client 2017-03-13 00:10:52 +03:00
f1yegor
401425bb89 translate comments 2017-03-12 20:18:07 +01:00
Alexey Milovidov
9dc1f93427 Fixed error [#CLICKHOUSE-2]. 2017-03-12 19:20:12 +03:00
Alexey Milovidov
59613e1da4 Fixed build [#CLICKHOUSE-2882]. 2017-03-12 19:09:39 +03:00
Alexey Milovidov
a79eb483a2 Added test [#CLICKHOUSE-2882]. 2017-03-12 18:54:40 +03:00
Alexey Milovidov
870d36ed5c Added support for NULLS FIRST and LAST in ORDER BY (continued) [#CLICKHOUSE-2882]. 2017-03-12 18:39:49 +03:00
Alexey Milovidov
8f6966de5a Added support for NULLS FIRST and LAST in ORDER BY (continued) [#CLICKHOUSE-2882]. 2017-03-12 16:27:25 +03:00
Alexey Milovidov
8184846ee0 Added support for NULLS FIRST and LAST in ORDER BY (continued) [#CLICKHOUSE-2882]. 2017-03-12 16:16:48 +03:00
Alexey Milovidov
65beb6f961 Added support for NULLS FIRST and LAST in ORDER BY (continued) [#CLICKHOUSE-2882]. 2017-03-12 16:03:07 +03:00
Alexey Milovidov
a564fa1872 Added support for NULLS FIRST and LAST in ORDER BY (continued) [#CLICKHOUSE-2882]. 2017-03-12 16:01:19 +03:00
Alexey Milovidov
7532a1d564 Added support for NULLS FIRST and LAST in ORDER BY [#CLICKHOUSE-2882]. 2017-03-12 15:56:59 +03:00
Alexey Milovidov
a380fa88da Fixed debug build [#CLICKHOUSE-2]. 2017-03-12 14:09:25 +03:00
Alexey Milovidov
8912e5ea2b DataTypeNull: move code to cpp [#CLICKHOUSE-2]. 2017-03-12 13:38:46 +03:00
Alexey Milovidov
13e1cdc7b5 DataTypeNull: move code to cpp [#CLICKHOUSE-2]. 2017-03-12 13:35:26 +03:00
alexey-milovidov
6d5bfc8c6f Refactoring of numeric DataTypes (#581)
* Better code [#CLICKHOUSE-2].

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

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

* Addition to prev. revision [#CLICKHOUSE-2].
2017-03-12 14:13:45 +04:00
Alexey Milovidov
03d525942a Added generic version for comparison operators [#CLICKHOUSE-2881]. 2017-03-12 07:22:52 +03:00
Alexey Milovidov
ef3e44e1bc Comments [#CLICKHOUSE-2881]. 2017-03-12 07:18:17 +03:00
Alexey Milovidov
290717a88c Revert "Removed useless code [#CLICKHOUSE-2877]."
This reverts commit bd70653fc6.
2017-03-11 08:23:18 +03:00
Alexey Milovidov
612194d53a Miscellaneous [#CLICKHOUSE-2]. 2017-03-11 08:23:01 +03:00
Alexey Milovidov
37d6ee8d49 Attempt to improve performance for comparisons of FixedString(16) [#CLICKHOUSE-2877]. 2017-03-11 08:43:52 +04:00
Alexey Milovidov
724599a369 Added test [#CLICKHOUSE-2877]. 2017-03-11 08:43:52 +04:00
Alexey Milovidov
4311a09a9f Enabled fater equality/inequality comparisons for FixedString(16) [#CLICKHOUSE-2877]. 2017-03-11 08:43:52 +04:00
Alexey Milovidov
66fa4b9e39 Faster comparison operations for FixedString(16), development [#CLICKHOUSE-2877]. 2017-03-11 08:43:52 +04:00
Alexey Milovidov
3c38ba1f1c Improved performance of ColumnFixedString::filter [#CLICKHOUSE-2877]. 2017-03-11 07:41:28 +03:00
Alexey Milovidov
30aae40300 Removed usage of iconv [#CLICKHOUSE-2879]. 2017-03-11 07:39:16 +03:00
Alexey Milovidov
93bb49cecd Using ICU instead of iconv. Improved performance of 'convertCharset' function [#CLICKHOUSE-2879]. 2017-03-11 07:36:14 +03:00
Alexey Milovidov
bd70653fc6 Removed useless code [#CLICKHOUSE-2877]. 2017-03-11 04:36:07 +03:00
Alexey Milovidov
a3584e5a57 Fixed error [#CLICKHOUSE-2877]. 2017-03-11 04:29:45 +03:00
Alexey Milovidov
f15efc4e63 Fixed error [#CLICKHOUSE-2877]. 2017-03-11 04:25:27 +03:00
Alexey Milovidov
5441fd6ac6 Fixed error [#CLICKHOUSE-2877]. 2017-03-11 04:20:14 +03:00
Alexey Milovidov
61add0f252 Fixed error [#CLICKHOUSE-2877]. 2017-03-11 04:18:13 +03:00
Alexey Milovidov
785e32197c Fixed error [#CLICKHOUSE-2877]. 2017-03-11 04:15:25 +03:00
Alexey Milovidov
533a103c3a Fixed error [#CLICKHOUSE-2877]. 2017-03-11 04:15:03 +03:00
Alexey Milovidov
4871ff8ef5 Moved code to cpp [#CLICKHOUSE-2877]. 2017-03-11 04:12:51 +03:00
Alexey Milovidov
2d6d90a2cc ColumnFixedString: better 'replicate' method [#CLICKHOUSE-2877]. 2017-03-11 04:12:14 +03:00
Alexey Milovidov
93a930859e Fixed error [#CLICKHOUSE-2877]. 2017-03-11 03:52:20 +03:00
Alexey Milovidov
48de103e0e Fixed error [#CLICKHOUSE-2877]. 2017-03-11 03:49:25 +03:00
Alexey Milovidov
7b33308853 Fixed error [#CLICKHOUSE-2877]. 2017-03-11 03:44:07 +03:00
Alexey Milovidov
e8d2a5ece8 Moved code to .cpp [#CLICKHOUSE-2877]. 2017-03-11 03:38:30 +03:00
proller
b6e01cd47e Fix isolated usage of all .h files, move some code to .cpp (#578)
* split ColumnAggregateFunction.h

* format

* Allow use re2_st without cmake

* use std type in find_first_symbols.h

* fix ArrayEvaluator.h

* include fixes

* split ColumnConstAggregateFunction.h

* fix StorageMaterializedView.h

* split AddingDefaultBlockOutputStream.h

* move CSVRowInputStream::updateDiagnosticInfo to .cpp

* split ParserEnumElement.h

* format

* split DB/Parsers/ParserUseQuery.h

* clean
2017-03-11 04:27:59 +04:00
proller
81594df4d6 split FunctionsString.h (#571)
* split FunctionsString.h

* wip

* wip

* format

* wip
2017-03-10 21:53:32 +04:00
proller
cfdff04a34 try enable https dictionaries test 2017-03-10 21:53:07 +04:00
proller
a2d78e674f split FunctionsStringSearch.h (#572)
* split FunctionsStringSearch.h

* wip

* includes

* format
2017-03-10 21:52:36 +04:00
proller
3284133169 better split FunctionsMiscellaneous.cpp 2017-03-10 16:13:32 +03:00
Alexey Milovidov
75f1d7b820 Added test [#CLICKHOUSE-2789]. 2017-03-09 23:40:36 +03:00
Alexey Milovidov
abe0fca1a4 Better coalesce [#CLICKHOUSE-2789]. 2017-03-09 23:39:20 +03:00
Alexey Milovidov
1abf959722 Added test [#CLICKHOUSE-2789]. 2017-03-09 22:49:11 +03:00
Alexey Milovidov
3107156fd9 Added tests [#CLICKHOUSE-2789]. 2017-03-09 22:45:22 +03:00
Alexey Milovidov
ee0f0a8818 Fixed ifNull function [#CLICKHOUSE-4]. 2017-03-09 22:39:51 +03:00
Alexey Milovidov
82ae603426 Added function toNullable [#CLICKHOUSE-4]. 2017-03-09 22:31:16 +03:00
Alexey Milovidov
8da4e576a9 Make function ifNull to allow to return non-Nullable result [#CLICKHOUSE-2789]. 2017-03-09 21:58:44 +03:00
Alexey Milovidov
19354bef87 Renamed test [#CLICKHOUSE-4]. 2017-03-09 21:57:53 +03:00
Alexey Milovidov
01d2498bb6 Renamed test [#CLICKHOUSE-4]. 2017-03-09 21:56:38 +03:00
Alexey Milovidov
235dbe6183 Fixed error with PartLog [#CLICKHOUSE-2703]. 2017-03-09 19:46:11 +03:00
Alexey Milovidov
093d5b8d36 Disabled tests for https source of external dictionaries because test environment has not been prepared yet [#CLICKHOUSE-2]. 2017-03-09 07:58:48 +03:00
Alexey Milovidov
caebb93995 Merge remote-tracking branch 'origin/master' into if-support-nulls
Conflicts:
	dbms/include/DB/Columns/ColumnArray.h
	dbms/include/DB/Columns/ColumnString.h
	dbms/include/DB/Functions/FunctionsMiscellaneous.h
2017-03-09 07:39:45 +03:00
Alexey Milovidov
5546f7f75b Normalized formatting [#CLICKHOUSE-3]. 2017-03-09 07:26:17 +03:00
Alexey Milovidov
f24df4b648 Removed zero-width spaces [#CLICKHOUSE-3]. 2017-03-09 07:18:41 +03:00
Alexey Milovidov
9d37698e70 Updated test [#CLICKHOUSE-2789]. 2017-03-09 07:06:41 +03:00
Alexey Milovidov
9c928a5b67 Fixed error [#CLICKHOUSE-2789]. 2017-03-09 06:57:51 +03:00
Alexey Milovidov
f9a5902e76 Support for NULLs in function if: continued [#CLICKHOUSE-2873]. 2017-03-09 06:34:09 +03:00
f1yegor
48bd5b696c translate comments 2017-03-09 01:56:38 +01:00
Alexey Milovidov
169fc988b7 Added comment [#CLICKHOUSE-4]. 2017-03-08 00:45:52 +03:00
Alexey Milovidov
520e891190 Added test [#CLICKHOUSE-2873]. 2017-03-08 00:45:25 +03:00
Alexey Milovidov
f88b46c259 If for Nullable: continued [#CLICKHOUSE-2873]. 2017-03-08 00:40:46 +03:00
Alexey Milovidov
9224161223 If for Nullable: continued [#CLICKHOUSE-2873]. 2017-03-08 00:40:03 +03:00