Commit Graph

1559 Commits

Author SHA1 Message Date
Vladimir Chebotarev
8e1a6aaf3e cmake: Boost, OpenSSL into find_package(). [#METR-23701] 2016-12-06 16:20:32 +03:00
Vladimir Chebotarev
bcc5500f91 cmake: More options. [#METR-23701] 2016-12-05 15:43:14 +03:00
Alexey Milovidov
21f8501ccc Benchmark: update [#METR-2944]. 2016-12-02 06:39:11 +03:00
alexey-milovidov
21ce8a44f7 Merge pull request #216 from yandex/if_with_const_condition
ExpressionAnalyzer: make aliases and ast consistent after constant if optimization
2016-11-30 17:58:02 +04:00
Pavel Kartavyy
5dfbd57bad ExpressionAnalyzer: make aliases and ast consistent after constant if optimization 2016-11-30 16:19:39 +03:00
alexey-milovidov
08cb8e506b Merge pull request #211 from yandex/if_with_const_condition
ExpressionAnalyzer: added more tests for aliases. fix bug [METR-23545]
2016-11-29 23:28:50 +04:00
Pavel Kartavyy
106bb24fd8 ExpressionAnalyzer: added more tests for aliases. fix bug [#METR-23545] 2016-11-29 22:19:15 +03:00
alexey-milovidov
7fda6394b8 Merge pull request #202 from yandex/if_with_const_condition
ExpressionAnalyzer: optimize if with constant condition [METR-23545]
2016-11-25 20:03:04 +04:00
Pavel Kartavyy
84a89b3b3d ExpressionAnalyzer: optimize if with constant condition [#METR-23545] 2016-11-24 17:18:44 +03:00
Vitaliy Lyudvichenko
544ef67c28 Fixed IN <Set> usage inside PK expressions.
Refactoring of type conversion functions convertFieldToType().
2016-11-24 15:32:04 +03:00
alexey-milovidov
fdabcd4e38 Merge pull request #192 from ludv1x/enums-fix
Fixed Enum usage in PK expressions.
2016-11-24 03:13:16 +04:00
Alexey Milovidov
a2e9359b18 Fixed rare deadlock after startup when structure of query_log was changed [#METR-23594]. 2016-11-23 23:41:39 +03:00
Vitaliy Lyudvichenko
e07fc7cea5 Fixed Enum usage in PK expressions. [#METR-23473]
Added check for duplicates of column names in CREATE query.
2016-11-23 16:19:15 +03:00
Alexey Milovidov
b0fa239612 Fixed error [#METR-2944]. 2016-11-21 03:56:59 +03:00
Alexey Milovidov
ef3fb70123 Fixed error [#METR-2944]. 2016-11-21 03:36:50 +03:00
Alexey Milovidov
43eea71930 Addition to prev. revision [#METR-2944]. 2016-11-20 15:51:56 +03:00
Alexey Milovidov
9018906e1a Better [#METR-2944]. 2016-11-20 15:43:20 +03:00
Alexey Milovidov
3a16cd3ecc Added string concatenation operator [#METR-23546]. 2016-11-20 07:47:51 +03:00
Alexey Milovidov
a4aae7e047 Fixed ClientInfo [#METR-19471]. 2016-11-16 23:46:02 +03:00
Pavel Kartavyy
631d9ea0a0 add getSessionContext() const 2016-11-16 18:52:35 +03:00
Pavel Kartavyy
bdb7e9745b add hasColumnInTable function [#METR-23248] 2016-11-16 18:52:35 +03:00
Alexey Milovidov
d5155fbe7a Added quota_key to query_log and processlist [#METR-23505]. 2016-11-16 08:09:41 +03:00
Alexey Milovidov
eb1ae65eda Fixed error with analyzing double-distributed subqueries [#METR-23472]. 2016-11-14 04:13:56 +03:00
alexey-milovidov
52390b0180 Merge pull request #150 from ludv1x/METR-23101
clickhouse-local application and File(...) storage
2016-11-14 04:03:03 +04:00
Vitaliy Lyudvichenko
107f7b34c7 Added requested PR changes, 2nd iteration. 2016-11-14 02:57:18 +03:00
Alexey Milovidov
be7cc18d00 Fixing bad test [#METR-23472]. 2016-11-13 05:19:38 +03:00
artpaul
e1cda4b760 move impl of common parsers to cpp 2016-11-12 22:55:40 +05:00
Vitaliy Lyudvichenko
c05f512637 Merged server, client and local into single binary, more args for local mode. 2016-11-09 22:06:29 +03:00
Vitaliy Lyudvichenko
cf24f6e2d1 Implemented draft version of clickhouse-local service. 2016-11-09 22:03:47 +03:00
Vladimir Chebotarev
cdaece7dfa : More specific usage of static libraries. [#METR-21516] 2016-11-09 21:49:01 +03:00
Vladimir Smirnov
d36f52502e Make it compilable on OS X
It's still hackish and dirty, but server and client compies.

Server starts, but throwes meaningless exception on any query.

Client seems to be working fine.

Linux compilation might (but shouldn't) be broken (not tested).
2016-11-01 17:59:21 +01:00
Alexey Milovidov
968bcb6f66 Preparation [#METR-2944]. 2016-10-27 20:48:12 +03:00
Alexey Milovidov
c2fa56b905 ClientInfo: fixes [#METR-23279]. 2016-10-25 08:07:29 +03:00
Alexey Milovidov
3a5300b8d1 Addition to prev. revision [#METR-23279]. 2016-10-25 01:46:27 +03:00
Alexey Milovidov
1527176378 Addition to prev. revision [#METR-23279]. 2016-10-25 01:30:51 +03:00
Alexey Milovidov
daeac24f04 Added ClientInfo: passing original source of query during distributed query execution; improvement of per-user limits in ProcessList [#METR-23279]. 2016-10-25 00:40:39 +03:00
Alexey Milovidov
9373b87639 Added missing malloc metrics [#METR-23231]. 2016-10-24 11:03:25 +03:00
Alexey Milovidov
5b562c63d5 Addition to prev. revision [#METR-23231]. 2016-10-24 09:08:53 +03:00
Alexey Milovidov
ff661a8492 Added tcmalloc-related metrics [#METR-23231]. 2016-10-24 08:40:00 +03:00
Alexey Milovidov
ea852bb9d8 Separate compilation of CurrentMetrics; Separated AsynchronousMetrics from CurrentMetrics; Comments [#METR-23237]. 2016-10-24 07:06:27 +03:00
Alexey Milovidov
9af5ce1e3b Separate compilation of ProfileEvents; comments [#METR-23237]. 2016-10-24 05:02:37 +03:00
Alexey Milovidov
692bb379e3 Fixes; faster shutdown [#METR-23237]. 2016-10-23 13:52:32 +03:00
Alexey Milovidov
181c2302fc Addition to prev. revision [#METR-23237]. 2016-10-23 13:34:11 +03:00
Alexey Milovidov
6c9dea8a8b Addition to prev. revision [#METR-23237]. 2016-10-23 09:38:53 +03:00
Alexey Milovidov
be84b78b93 Added actively updating metrics [#METR-23237]. 2016-10-23 09:12:50 +03:00
Alexey Arno
8a0ecc3587 dbms: Server: Added nullable support for sets [#METR-19266] 2016-10-21 19:50:41 +03:00
Alexey Arno
d64529ca15 dbms: Server: fixes + tests update [#METR-19266] 2016-10-20 15:58:18 +03:00
Alexey Arno
924402f33e dbms: Server: merged from master [#METR-19266] 2016-10-19 18:00:56 +03:00
Alexey Arno
2a0c842966 dbms: Server: added support for aggregation with nullable keys [#METR-19266] 2016-10-18 13:09:48 +03:00
alexey-milovidov
8d7ba10835 Merge pull request #132 from ludv1x/METR-22802
Automatic reload of remote_servers configuration.
2016-10-14 23:32:27 +04:00
Vitaliy Lyudvichenko
a0760a4821 Added requested PR changes. [#METR-22802] 2016-10-14 20:54:18 +03:00
Vitaliy Lyudvichenko
144d9018ba Added port column into system.processes table. [#METR-22966] 2016-10-11 22:01:55 +03:00
Vitaliy Lyudvichenko
ebbc9b9877 Added abilty to automatically update clusters configuration. [#METR-22802] 2016-10-11 17:17:49 +03:00
Vitaliy Lyudvichenko
311f1b1bb9 Replaced IConnectionPool * -> ConnectionPoolPtr to avoid mangling references after Context update. 2016-10-11 15:07:42 +03:00
alexey-milovidov
3296310a9d Merge pull request #116 from ludv1x/METR-22071
More datatypes for groupUniqArray() function [#METR-22071]
2016-09-29 23:53:18 +04:00
Vitaliy Lyudvichenko
a3d72db2aa Added allocatesMemoryInArena() method for aggregate functions.
Fixed runningAccumulate, now it works properly for complex functions.
More accurate threads handling in Aggregator.
2016-09-28 16:28:55 +03:00
Vitaliy Lyudvichenko
80f037b12e Added arena parameter into merge() method of aggregation function states. [#METR-22071] 2016-09-26 15:42:40 +03:00
Alexey Milovidov
6b2755bf2a Non significant change [#METR-2944]. 2016-09-23 23:33:06 +03:00
Vitaliy Lyudvichenko
946a037f71 Added requested changes. [#METR-22071] 2016-09-23 14:24:48 +03:00
Alexey Milovidov
5d53f21418 Addition to prev. revision [#METR-22869]. 2016-09-23 08:54:57 +03:00
Alexey Milovidov
ebacdf3144 Trying to fix stuck in external aggregation [#METR-22869]. 2016-09-23 08:49:55 +03:00
Alexey Milovidov
9120776fe1 Added support of aggregation by tuple keys even if tuples was not flattened in ExpressionAnalyzer [#METR-22301]. 2016-09-23 01:58:55 +03:00
Vitaliy Lyudvichenko
37ed6a3038 Fixed dynamic complation errors. [#METR-22071] 2016-09-21 20:13:32 +03:00
Vitaliy Lyudvichenko
451a4b1d67 Added new Arena parameter to add() method of IAggregateFunction. [#METR-22071] 2016-09-21 20:13:32 +03:00
Vitaliy Lyudvichenko
0a93de0727 Leave only HashSet implementation. [#METR-22071] 2016-09-21 20:13:32 +03:00
Vitaliy Lyudvichenko
924075621e Added three experimental implementations for groupUniqArray() aggregate function. [#METR-22071] 2016-09-21 20:13:32 +03:00
Alexey Arno
cc43b1b165 dbms: Server: better [#METR-19266] 2016-09-21 15:31:50 +03:00
Alexey Arno
045169a065 dbms: Server: Adding nullable type support to functions manipulating arrays. [#METR-19266] 2016-09-20 16:51:45 +03:00
Alexander Prudaev
174b9a806d merge clickhouse into metrika repo 2016-09-14 16:20:17 +03:00
Alexander Prudaev
d376a81692 columnar-appender-common: fix PoolWithFailOver [#METR-20682]. 2016-09-13 19:00:47 +03:00
Alexey Milovidov
4d65dd3b37 Get rid of buggy code (that coincidently was useless too) [#METR-2944]. 2016-09-04 03:01:48 +03:00
Alexey Arno
18930e5bb5 dbms: Better. [#METR-18510] 2016-09-01 11:19:19 +03:00
Alexey Arno
5dc3b28774 dbms: Fixed deadlock. [#METR-18510] 2016-08-31 19:42:04 +03:00
Yuri Dyachenko
94a2186dde rename ext::share_ptr_helper -> ext::shared_ptr_helper 2016-08-30 22:27:15 +03:00
Yuri Dyachenko
e5825f790f use std::enable_shared_from_this for IStorage 2016-08-29 16:28:34 +03:00
Yuri Dyachenko
065b02494a add -Wold-style-cast 2016-08-26 22:55:11 +03:00
Alexey Milovidov
689f599e2a Fixed error, removed partially duplicate code [#METR-22462]. 2016-08-25 20:23:29 +03:00
Alexey Arno
d4da820f6c dbms: Allow INSERT when source columns and target columns have compatible types up to nullability. [#METR-19266] 2016-08-25 15:38:47 +03:00
Alexey Arno
6a036bad4f dbms: Fixed issues with INSERT. [#METR-19266] 2016-08-24 19:02:34 +03:00
Alexey Milovidov
e0f3cbb432 Added optional 'default_database' parameter for Cluster (allow Distributed tables to connect to different databases on different shards/replicas) [#METR-22462]. 2016-08-22 23:34:21 +03:00
Alexey Milovidov
902c70bfa9 Fixed error with duplicate columns in subqueries [#METR-22381]. 2016-08-20 20:10:00 +03:00
Alexey Milovidov
2c16a4ad2a Removed unused method [#METR-2944]. 2016-08-20 17:34:34 +03:00
Alexey Arno
e822631310 dbms: cleanup [#METR-19266] 2016-08-18 18:58:46 +03:00
Alexey Milovidov
56a091cb6e Throw exception when multi-statements are disabled [#METR-22252]. 2016-08-17 08:38:51 +03:00
Alexey Milovidov
9531d6413b Statistics in JSON formats: development [#METR-22400]. 2016-08-17 07:53:14 +03:00
Alexey Milovidov
70d7451c8c Miscellaneous [#METR-2944]. 2016-08-17 05:44:45 +03:00
Alexey Milovidov
db4950c868 Added address and query into (text) error log [#METR-22441]. 2016-08-16 23:33:00 +03:00
Alexey Milovidov
73a2ddcaf8 Attempt to fix an error with defaults [#METR-21993]. 2016-08-15 22:41:44 +03:00
Alexey Milovidov
0cf32c8aed Renamed method [#METR-22400]. 2016-08-13 05:21:17 +03:00
Alexey Arno
568fe119fb dbms: Got rid of useless display code for CASE and IS NULL/IS NOT NULL. Also simplified CASE implementation. [#METR-19266] 2016-08-12 17:06:58 +03:00
Alexey Milovidov
8224217e25 Fixed build [#METR-2944]. 2016-08-11 23:59:17 +03:00
Alexey Arno
3fcf4347cd dbms: More comments. Cleanups. Moved a lot of FunctionsArray code into implementation file. [#METR-19266] 2016-08-11 19:47:28 +03:00
Alexey Milovidov
9f51a59322 Merge branch 'master' of github.com:yandex/ClickHouse 2016-08-11 03:47:47 +03:00
Alexey Milovidov
715cb482fa Miscellaneous [#METR-2807]. 2016-08-11 03:47:01 +03:00
Alexey Milovidov
b0256b9935 Fixed stack overflow [#METR-22219]. 2016-08-10 21:49:10 +03:00
Alexey Milovidov
b51bdbd0c0 Allow to set 'force_restore_data' flag with creating file on local filesystem [#METR-21594], [#METR-17811]. 2016-08-10 00:48:05 +03:00
Alexey Milovidov
6c861fe798 Style [#METR-2807]. 2016-08-07 12:09:18 +03:00
Alexey Milovidov
9fd26e381a Less code [#MOBMET-3953]. 2016-08-07 01:31:58 +03:00
Alexey Milovidov
61b9996d9e Better [#METR-22173]. 2016-08-05 05:28:34 +03:00
Alexey Milovidov
fb5981871a Avoid copying ColumnWithTypeAndName [#METR-22173]. 2016-08-05 02:35:07 +03:00