Commit Graph

662 Commits

Author SHA1 Message Date
Alexey Arno
4ff528140a dbms: Server: Feature development. [#METR-19266] 2016-07-06 13:36:58 +03:00
Alexey Arno
f52403f623 dbms: Server: Feature development. [#METR-19266] 2016-07-06 12:47:55 +03:00
Alexey Milovidov
71ecca56d0 Fixed comment [#METR-2944]. 2016-06-24 01:28:15 +03:00
Alexey Milovidov
b8adf2c906 Updated comments [#METR-2944]. 2016-06-19 00:08:35 +03:00
Alexey Milovidov
3ecfca51ba Splitted dictionaries to separate translation units [#METR-21527]. 2016-06-08 00:07:44 +03:00
Vladimir Chebotarev
39c2c0f5a5 dbms, contrib: Clang 3.8 build fixes. [#METR-21516] 2016-05-31 14:06:27 +03:00
Alexey Milovidov
1d7506d0dc Fixed error with uninitialized memory [#METR-2944]. 2016-05-31 02:42:07 +03:00
Alexey Milovidov
e37087de66 Better [#METR-20000]. 2016-05-31 00:41:41 +03:00
Alexey Milovidov
c518abe882 Get rid of Poco::SharedPtr [#METR-21503]. 2016-05-28 20:31:50 +03:00
Alexey Milovidov
f1b253680f Using std::shared_ptr for functions and AST [#METR-21503]. 2016-05-28 19:30:15 +03:00
Alexey Milovidov
6d33959183 Using std::shared_ptr for functions and AST [#METR-21503]. 2016-05-28 19:28:52 +03:00
Alexey Milovidov
128f4a963c Using std::shared_ptr for functions and AST [#METR-21503]. 2016-05-28 19:25:09 +03:00
Alexey Milovidov
8c4abcdd43 Using std::shared_ptr for functions and AST [#METR-21503]. 2016-05-28 18:42:22 +03:00
Alexey Milovidov
646d70a545 Using std::shared_ptr for data types [#METR-21503]. 2016-05-28 17:14:18 +03:00
Alexey Milovidov
47ff775a17 Using std::shared_ptr for data types [#METR-21503]. 2016-05-28 13:39:51 +03:00
Alexey Milovidov
4c7eb03b63 Using std::shared_ptr for data types [#METR-21503]. 2016-05-28 13:35:44 +03:00
Alexey Milovidov
6863e72f3d Using std::shared_ptr for data types [#METR-21503]. 2016-05-28 13:15:36 +03:00
Alexey Milovidov
be394f2c84 Using std::shared_ptr for data types [#METR-21503]. 2016-05-28 10:48:40 +03:00
Alexey Milovidov
447b24cf98 Using std::shared_ptr for columns [#METR-21503]. 2016-05-28 08:39:01 +03:00
Alexey Milovidov
4b7f461e46 Using std::shared_ptr for columns [#METR-21503]. 2016-05-28 08:31:36 +03:00
Vladimir Chebotarev
c1181c7ed3 dbms: Moved toInteger<>() implementation to cpp. [#METR-XXXXX] 2016-05-24 22:01:17 +03:00
Vladimir Chebotarev
866c8929e2 dbms, contrib: GCC 6 build fixes [#METR-20000] 2016-05-23 03:41:26 +03:00
Alexey Milovidov
ab04e6f5be Added miscellaneous function blockNumber [#METR-21347]. 2016-05-17 21:25:47 +03:00
Alexey Arno
4847589a5d dbms: Server: Performance optimization. [#METR-19697] 2016-05-05 23:59:03 +03:00
Alexey Arno
ffef681bf4 Merge 2016-05-05 15:00:14 +03:00
Alexey Arno
13f9a75634 dbms: Server: Some cleanup. [#METR-19697] 2016-05-04 13:19:03 +03:00
Alexey Arno
286baa8611 Merge 2016-05-04 02:19:14 +03:00
Alexey Arno
223db6fe93 Merge 2016-04-25 16:11:37 +03:00
Alexey Arno
52b6eceb51 dbms: Server: simplified code [#METR-19697] 2016-04-22 13:21:52 +03:00
Alexey Arno
ed1b91143a dbms: merged branch METR-19697 into master [#METR-19697] 2016-04-21 16:10:56 +03:00
Alexey Arno
f2357d50b5 Merge 2016-04-18 17:31:32 +03:00
Alexey Milovidov
c43b34d3f0 Added function 'indexHint' [#METR-20940]. 2016-04-16 02:10:29 +03:00
Alexey Milovidov
f5359cbdeb Fixed error [#METR-20892]. 2016-04-15 05:53:53 +03:00
Alexey Milovidov
f7c09d58a5 Attempt to improve performance [#METR-20892]. 2016-04-15 03:33:21 +03:00
Alexey Milovidov
e4bb35e6e1 Added missing support for hashing Enums [#METR-20890]. 2016-04-14 00:35:46 +03:00
Alexey Milovidov
f538e81c98 Added 'uptime' function [#METR-20819]. 2016-04-09 10:47:08 +03:00
Alexey Milovidov
10e325574c Disabled usage of vectorclass library [#METR-20000]. 2016-03-30 23:27:32 +03:00
Alexey Milovidov
cee7fd35bb FunctionsRound: don't process empty columns - not significant change, just in case [#METR-20540]. 2016-03-22 02:07:11 +03:00
Alexey Milovidov
b6f1352bcc FunctionsRounding: fixed error (tnx. af-arno) [#METR-20540]. 2016-03-21 23:44:30 +03:00
Alexey Arno
bcd48f47e4 dbms: Fixed error message. [#METR-19416] 2016-03-10 17:58:31 +03:00
Alexey Milovidov
5f3cbc60f1 Fixing warnings on clang [#METR-2807]. 2016-03-07 09:13:54 +03:00
Alexey Milovidov
e41feb0ade Fixing warnings on clang [#METR-2807]. 2016-03-07 09:08:34 +03:00
Alexey Milovidov
4aa0a85ca2 Fixing warning on clang [#METR-2807]. 2016-03-07 09:00:25 +03:00
Alexey Milovidov
51874d6dd3 Fixing warnings on clang [#METR-2807]. 2016-03-07 08:15:42 +03:00
Alexey Milovidov
009070123e Fixing warnings on clang [#METR-2807]. 2016-03-07 07:56:19 +03:00
Alexey Milovidov
30cba89be0 Fixing build on clang [#METR-2807]. 2016-03-07 07:31:10 +03:00
Alexey Milovidov
d38693267d dbms: fixed error with faster text formats [#METR-20081]. 2016-03-03 04:54:58 +03:00
Alexey Milovidov
4c0b0e9c80 dbms: fixed error with function positionCaseInsensitiveUTF8 [#METR-20054]. 2016-02-23 06:20:48 +03:00
Alexey Milovidov
8efb3e5ade Initial implementation of XML output format [#METR-20026]. 2016-02-14 05:37:42 +03:00
Pavel Kartavyy
eca42536d8 dbms: renamed Revision to ClickHouseRevision. Daemon to BaseDaemon 2016-02-09 20:06:50 +03:00
Alexey Milovidov
477c7245d4 dbms: added function regionToTopContinent [#METR-19807]. 2016-02-01 23:18:13 +03:00
Alexey Milovidov
37d4dcb587 dbms: fixed CAST String to Enum [#METR-19265]. 2016-02-01 21:32:34 +03:00
Alexey Milovidov
b7ef4a3e7b dbms: fixed function visibleWidth for enums [#METR-19265]. 2016-02-01 20:30:46 +03:00
Alexey Milovidov
b7d3f0e4d6 Merge 2016-01-28 03:59:35 +03:00
Alexey Milovidov
0b230fac46 dbms: fixed error [#METR-19585]. 2016-01-27 08:11:51 +03:00
Alexey Milovidov
506d79894f dbms: fixed error [#METR-19585]. 2016-01-27 07:34:10 +03:00
Alexey Milovidov
341a9e89e7 dbms: improved performance (not in all cases) [#METR-19585]. 2016-01-27 06:26:36 +03:00
Alexey Milovidov
0853c80d7c dbms: initial implementation of position functions for non-constant needle argument [#METR-19585]. 2016-01-27 06:11:28 +03:00
Alexey Milovidov
5dec54f4b5 dbms: improved URL-parsing functions for URLs with parameters without values and "parameters" after fragment identifier [#METR-19806]. 2016-01-27 00:24:09 +03:00
Alexey Milovidov
27bb0a4ea2 dbms: porting to aarch64 [#METR-19609]. 2016-01-16 04:18:42 +03:00
Alexey Milovidov
1cc27117b9 dbms: porting to aarch64 [#METR-19609]. 2016-01-16 03:45:19 +03:00
Alexey Milovidov
061f2038b8 dbms: porting to aarch64 [#METR-19609]. 2016-01-14 05:05:01 +03:00
Alexey Milovidov
203d7b0886 dbms: porting to aarch64 [#METR-19609]. 2016-01-14 04:44:21 +03:00
Alexey Milovidov
e513e9808b dbms: porting to aarch64 [#METR-19609]. 2016-01-14 00:05:11 +03:00
Alexey Milovidov
9a53bd2a3e dbms: tiny fixes (tnx. orantius) [#METR-2944]. 2016-01-13 04:02:10 +03:00
Alexey Milovidov
ab1b725779 dbms: less dependencies [#METR-2944]. 2016-01-13 03:32:59 +03:00
Alexey Milovidov
c062fc1ce0 dbms: cutting dependency [#METR-2944]. 2016-01-12 05:21:15 +03:00
Alexey Milovidov
13c7d0983a dbms: cutting dependency [#METR-2944].. 2016-01-12 00:46:36 +03:00
Andrey Mironov
2a6992689f dbms: add value to name map for enums; fix visibleWidth for enums [#METR-19265] 2015-12-30 15:12:18 +03:00
Andrey Mironov
16912808a7 dbms: disallow direct comparison of Enums with Ints [#METR-19265] 2015-12-29 18:15:58 +03:00
Andrey Mironov
0ed12f9a15 dbms: FunctionCast: forward monotonicity info from the underlying functions for primitive types [#METR-19265] 2015-12-29 16:51:12 +03:00
Andrey Mironov
325107ad5a dbms: FunctionCast for Enums: allow changing names but not values for existing elements [#METR-19265] 2015-12-29 15:57:22 +03:00
Andrey Mironov
a75cb3a528 dbms: change underlying type of Enums to signed ints [#METR-19265] 2015-12-28 20:06:15 +03:00
Andrey Mironov
5a2ec718dd remove typo 2015-12-28 16:38:45 +03:00
Andrey Mironov
782382981d dbms: FunctionCast: correctly pass modified ColumnNumbers arguments [#METR-19265] 2015-12-28 15:43:23 +03:00
Andrey Mironov
56b0a49e0f dbms: add enum to enum conversion and checks [#METR-19265] 2015-12-25 18:43:38 +03:00
Andrey Mironov
1506cc25c0 dbms: allow conversion of most types to enum (not enum to enum though)[#METR-19265] 2015-12-25 17:45:58 +03:00
Andrey Mironov
40f060fae8 dbms: allow type in CAST(expression AS type) without back quotes [#METR-19265] 2015-12-25 15:06:17 +03:00
Andrey Mironov
c483485eaf dbms: create a separate type for Tuple in Field [#METR-19265] 2015-12-25 15:06:17 +03:00
Andrey Mironov
404c79a368 dbms: CAST(expression AS Tuple(...)) [#METR-19265] 2015-12-25 15:06:16 +03:00
Andrey Mironov
49236beee8 dbms: CAST(expression AS type) [#METR-19265] 2015-12-25 15:06:16 +03:00
Andrey Mironov
d0e4cabba3 dbms: add conversion support for enums [#METR-19265] 2015-12-22 16:07:40 +03:00
Andrey Mironov
02ce1bede2 dbms: add support for comparing enums [#METR-19265] 2015-12-22 15:03:47 +03:00
Alexey Arno
3a9e7a7170 dbms: Server: Added more explanatory error messages for date-time-related functions. [#METR-19416] 2015-12-15 13:13:07 +03:00
Alexey Arno
ef135c5873 dbms: Server: Added more explanatory error messages for date-time-related functions. [#METR-19416] 2015-12-15 12:56:14 +03:00
Alexey Arno
e41c1dd9af dbms: Server: Fixed error messages of time-related functions. [#METR-19416] 2015-12-14 19:26:39 +03:00
Alexey Milovidov
cc9335fa65 dbms: improvement [#METR-19264]. 2015-12-13 14:02:58 +03:00
Alexey Milovidov
1e4def963d dbms: added function 'arrayReduce' [#METR-19264]. 2015-12-13 13:43:49 +03:00
Andrey Mironov
a57f996770 dbms: fix transform() accepting non constant second argument 2015-12-08 12:16:40 +03:00
Alexey Milovidov
7fa1a57165 dbms: fixed excessive memory allocation when splitting single-level block in Aggregator [#METR-17000]. 2015-12-05 10:01:18 +03:00
Alexey Milovidov
b6aaf1fe32 dbms: development; provided monotonicity properties for date-time functions [#METR-19052]. 2015-11-29 14:58:44 +03:00
Alexey Milovidov
d9bc972a59 dbms: allowed to use index if column is wrapped by piecewise-monotonic functions: initial implementation [#METR-19052]. 2015-11-29 11:06:29 +03:00
Andrey Mironov
aece1d21f8 dbms: improve dictGet functions for constant defaults [#METR-17328], [#METR-18520] 2015-11-20 18:53:23 +03:00
Andrey Mironov
6c8c0e03cb dbms: slightly refactor most dictionaries, add dictHas function for all dictionaries supporting dictGet*OrDefault. [#METR-17328], [#METR-18520] 2015-11-19 16:15:02 +03:00
Andrey Mironov
8feafa0da2 dbms: add dictGet*OrDefault for all new dictionaries [#METR-17382] 2015-11-18 16:31:29 +03:00
Andrey Mironov
0fd1fc9cdc dbms: add ComplexKeyCacheDictionary, not yet complete [#METR-17328]
Requires a way of deallocating keys in memory Arena (a new type of arena, actually), MySQLDictionarySource not yet capable of requesting complex keys.
2015-11-16 20:49:39 +03:00
Alexey Milovidov
df3f04cdeb dbms: fixing warnings in gcc-5 [#METR-18843]. 2015-11-16 06:28:10 +03:00
Alexey Milovidov
a7469e82d1 dbms: addition to prev. revision [#METR-18778]. 2015-11-15 12:12:40 +03:00
Alexey Milovidov
2870fbb655 dbms: moved file [#METR-18778]. 2015-11-15 12:06:53 +03:00
Andrey Mironov
c0ba6bedcb dbms:rename ComplexKeyDictionary to ComplexKeyHashedDictionary [#METR-17328] 2015-11-13 14:21:40 +03:00