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
Alexey Milovidov
9a07830dbb
Removed useless code (experimental) [#METR-2944].
2016-08-02 04:46:05 +03:00
Alexey Milovidov
899636e9fd
Another improvement for UBSan [#METR-2944].
2016-07-31 09:36:39 +03:00
Alexey Milovidov
6f4fc79cde
Better [#METR-2944].
2016-07-31 06:53:16 +03:00
Alexey Milovidov
1700f4e132
Added support for complex typed arguments for function toString [#METR-22263].
2016-07-30 07:39:51 +03:00
Alexey Milovidov
1d2a5086d2
Fixed incompatibility [#METR-22226].
2016-07-28 23:25:38 +03:00
Alexey Milovidov
f1aab70e3d
Fixed incompatibility with new parser of JOINs [#METR-22206].
2016-07-26 22:43:58 +03:00
Alexey Milovidov
5f423e9023
Fixing incompatibilities [#METR-2944].
2016-07-23 05:42:42 +03:00
Alexey Milovidov
dc665c67c5
Fixing incompatibilities [#METR-2944].
2016-07-23 05:25:09 +03:00
Alexey Milovidov
130ec8b58b
Compatibility with new parser and AST of tables list [#METR-2944].
2016-07-22 23:39:28 +03:00
Alexey Milovidov
55ed2904f4
Allowed for certain aggregate functions to have case insensitive names for compatibility [#METR-22087].
2016-07-14 08:22:09 +03:00
Alexey Milovidov
2331a367eb
Fixed error [#METR-18149].
2016-07-10 21:53:27 +03:00
Alexey Milovidov
d4c364afa9
Tiny modifications [#METR-22035].
2016-07-10 20:19:35 +03:00
Alexey Milovidov
a01534e6ab
Added syntactic sugar for count(DISTINCT ...) and 'count_distinct_implementation' setting [#METR-22035].
2016-07-10 18:52:35 +03:00
Alexey Milovidov
7f7838c989
Added half-way support (for orantius) for tuples in subquery result in right hand side of IN [#METR-18149].
2016-07-10 14:49:33 +03:00
Alexey Milovidov
003d63023b
Fixed error [#METR-18149].
2016-07-10 10:24:24 +03:00
Alexey Milovidov
e6e6953bf3
Miscellaneous modifications [#METR-2944].
2016-07-10 05:33:50 +03:00
Alexey Milovidov
c2929666fd
Fixed error [#METR-21877].
2016-07-07 04:57:48 +03:00
Alexey Milovidov
1a420a14e9
Squashing small blocks on INSERT (when passing blocks via TCP interface or when doing INSERT SELECT) [#METR-21877].
2016-07-02 00:02:13 +03:00
Alexey Milovidov
75632fe3ae
Better diagnostics [#METR-21926].
2016-06-30 23:39:35 +03:00
Alexey Milovidov
349be07e61
Better [#METR-21863].
2016-06-29 00:44:45 +03:00
Alexey Milovidov
28b75ba8bc
Fixed error with converting types of arrays in IN or VALUES [#METR-21885].
2016-06-29 00:28:03 +03:00
Alexey Milovidov
5ded454986
Added 'WITH NAME' section to ALTER TABLE ... FREEZE PARTITION query [#METR-21884].
2016-06-28 23:50:37 +03:00
Alexey Milovidov
d9b8b74180
Added setting 'log_queries_cut_to_length' [#METR-21843].
2016-06-25 06:21:01 +03:00
Alexey Milovidov
4cf43a7e79
Fixed error when table couldn't alter itself in constructor [#METR-21479].
2016-06-10 23:46:58 +03:00
Alexey Milovidov
94530b01dc
Workarounds for Openstack machines [#METR-20000].
2016-06-10 22:36:35 +03:00
Alexey Milovidov
9ff0527af6
Compiler: fixed race condition [#METR-21675].
2016-06-10 22:29:39 +03:00
Alexey Milovidov
59253f689b
Tiny modifications [#METR-21651].
2016-06-09 07:37:21 +03:00
Alexey Milovidov
4858a2518e
Fixed error after moving from Poco::SharedPtr to std::shared_ptr [#METR-21503].
2016-05-30 23:31:03 +03:00
Alexey Milovidov
c518abe882
Get rid of Poco::SharedPtr [#METR-21503].
2016-05-28 20:31:50 +03:00
Alexey Milovidov
7ab7917d12
Using std::shared_ptr for functions and AST [#METR-21503].
2016-05-28 19:34:48 +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
128f4a963c
Using std::shared_ptr for functions and AST [#METR-21503].
2016-05-28 19:25:09 +03:00
Alexey Milovidov
9eb249afa6
Using std::shared_ptr for functions and AST [#METR-21503].
2016-05-28 19:19:27 +03:00
Alexey Milovidov
e336ba10eb
Using std::shared_ptr for functions and AST [#METR-21503].
2016-05-28 18:56:51 +03:00
Alexey Milovidov
fc65afb6f0
Using std::shared_ptr for functions and AST [#METR-21503].
2016-05-28 18:46:03 +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
c1eae3e234
Using std::shared_ptr for data types [#METR-21503].
2016-05-28 17:37:51 +03:00
Alexey Milovidov
646d70a545
Using std::shared_ptr for data types [#METR-21503].
2016-05-28 17:14:18 +03:00
Alexey Milovidov
3c1c9d46f7
Using std::shared_ptr for data types [#METR-21503].
2016-05-28 15:22:22 +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
61ae4e5547
Using std::shared_ptr for data types [#METR-21503].
2016-05-28 11:15:50 +03:00
Alexey Milovidov
bf71e2ed90
Using std::shared_ptr for data types [#METR-21503].
2016-05-28 11:11:52 +03:00
Alexey Milovidov
be394f2c84
Using std::shared_ptr for data types [#METR-21503].
2016-05-28 10:48:40 +03:00
Alexey Milovidov
4b7f461e46
Using std::shared_ptr for columns [#METR-21503].
2016-05-28 08:31:36 +03:00
Alexey Milovidov
ebcf300fd1
Fixed dynamic builds [#METR-20000].
2016-05-23 05:16:11 +03:00
Vladimir Chebotarev
866c8929e2
dbms, contrib: GCC 6 build fixes [#METR-20000]
2016-05-23 03:41:26 +03:00
Alexey Milovidov
6942819013
Altering primary key [#METR-21119].
2016-05-14 00:08:19 +03:00
Alexey Milovidov
65de71b5a2
Added table function 'shardByHash' [#METR-21287].
2016-05-13 06:22:16 +03:00
Alexey Milovidov
f73c3aeec5
Added 'ld' to package for dynamic builds [#METR-21210].
2016-05-05 22:10:28 +03:00
Alexey Milovidov
eea75db9fb
Modify primary key: development [#METR-21119].
2016-05-05 21:28:46 +03:00
Alexey Arno
286baa8611
Merge
2016-05-04 02:19:14 +03:00
Alexey Milovidov
c43b34d3f0
Added function 'indexHint' [#METR-20940].
2016-04-16 02:10:29 +03:00
Alexey Milovidov
2541cc08f1
Addition to prev. revision [#METR-2944].
2016-04-11 00:52:16 +03:00
Alexey Milovidov
8b346c7f43
Fixed build of tests [#METR-2944].
2016-04-11 00:50:36 +03:00
Alexey Milovidov
f538e81c98
Added 'uptime' function [#METR-20819].
2016-04-09 10:47:08 +03:00
Alexey Milovidov
5a0bf4a115
Merge
2016-04-09 02:36:45 +03:00
Alexey Milovidov
581f7a5e5d
Tiny modification [#METR-2944].
2016-04-09 02:36:34 +03:00
Alexey Milovidov
40fe3e803b
Fixed error with primary key and IN [#METR-20738].
2016-04-08 23:34:32 +03:00
Alexey Milovidov
1f8f6fa06a
Allowed concurrent CREATE TABLE IF NOT EXISTS if table exists [#METR-20704].
2016-04-01 20:41:13 +03:00
Alexey Arno
09985be3ba
dbms: Added more comments. Made some code more understandable. [#METR-18510]
2016-03-28 16:00:00 +03:00
Alexey Milovidov
5c2f335cc0
Cloud databases: development [#METR-19998].
2016-03-28 14:19:14 +03:00
Alexey Arno
32a38485e6
Merge
2016-03-25 14:48:45 +03:00
Alexey Milovidov
da07716547
Attempt to fix an error [#METR-20397].
2016-03-22 22:35:23 +03:00
Alexey Milovidov
b5e5de0427
Attempt to fix an error [#METR-20397].
2016-03-22 05:05:21 +03:00
Alexey Milovidov
5720d9566e
Little better [#METR-19997].
2016-03-22 04:50:19 +03:00
Alexey Milovidov
6414125d04
Don't do global locking when renaming single table [#METR-19997].
2016-03-22 04:33:17 +03:00
Alexey Milovidov
a266359ce5
Allowed DEFAULT columns in query_log table [#METR-20397].
2016-03-22 03:21:14 +03:00
Alexey Milovidov
ddf10dd1ac
Fixed NULL pointer dereference when using IN by set of tuples with some elements in out-of-range values [#METR-20341].
2016-03-22 03:09:08 +03:00
Alexey Milovidov
288fb9dcdf
Less wrong [#METR-19997].
2016-03-22 02:46:24 +03:00
Alexey Milovidov
7f16b70b85
Fixed off-by-one error in Quota [#METR-20539].
2016-03-22 02:20:00 +03:00
Alexey Milovidov
bbdd0ca4d7
Database engines: development [#METR-19997].
2016-03-21 15:57:12 +03:00
Alexey Milovidov
5fc44df6b5
Squashed commit of the following:
...
commit f9b478181cd49224154cc350fb57df7121842f1c
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date: Sat Mar 19 04:06:36 2016 +0300
Database engines: development [#METR-19997].
commit f7a10a67761ccfd05f3dac32d6444920cd8d4d60
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date: Sat Mar 19 03:44:37 2016 +0300
Database engines: development [#METR-19997].
commit bd98a8558e98bad2bed278e5762c4e0fc66e6f38
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date: Sat Mar 19 00:33:59 2016 +0300
Database engines: development [#METR-19997].
commit 19712fd884c22a4e2c2b67474086dea8f44e7c7b
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date: Sat Mar 19 00:03:11 2016 +0300
Database engines: development [#METR-19997].
commit 50274d6df7e91fcc34aab8a8c72347daa2c6512f
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date: Fri Mar 18 23:24:57 2016 +0300
Database engines: development [#METR-19997].
commit 4a0b99b19b34e90ef8b7be2d199f6232e36ef3f7
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date: Fri Mar 18 22:50:36 2016 +0300
Database engines: development [#METR-19997].
commit 44ff3ebba7a3e460a27a89f31ddf199dbea1d182
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date: Fri Mar 18 15:09:17 2016 +0300
Database engines: development [#METR-19997].
commit 137c31f3004cfd282473b6acb01cbe1b4ca2aadd
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date: Fri Mar 18 03:26:34 2016 +0300
Database engines: development [#METR-19997].
commit aa4c0496d4afe4a691164254be2bd5600542b38a
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date: Fri Mar 18 03:22:59 2016 +0300
Database engines: development [#METR-19997].
commit 5a94d1f0607450a2dac28a4d7df8b1393a864c23
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date: Fri Mar 18 01:02:40 2016 +0300
Database engines: development [#METR-19997].
commit 50fd5b52ea1141955a5dfba0dcb191f3289ac25b
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date: Thu Mar 17 23:23:40 2016 +0300
Database engines: development [#METR-19997].
commit a333d91b058e4f56dd83a6d2878c3c2bd8efc002
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date: Thu Mar 17 20:29:07 2016 +0300
Database engines: development [#METR-19997].
commit f81d366e7ac8348436f2698d040f8e341743a024
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date: Thu Mar 17 01:30:23 2016 +0300
Database engines: development [#METR-19997].
commit d0696860c9060827896214c08d147c759ea79376
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date: Wed Mar 16 21:55:31 2016 +0300
Database engines: development [#METR-19997].
commit 46a168c2ada140a0e95cd8d4b9d8ba9bac855d11
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date: Wed Mar 16 08:00:58 2016 +0300
Database engines: development [#METR-19997].
commit 20a2bad161454225fc1b5f9b919b842fbebc3231
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date: Wed Mar 16 06:51:10 2016 +0300
Database engines: development [#METR-19997].
commit ca0a77fcc2a8d0b276eb3743c53551ad3fe16314
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date: Wed Mar 16 06:02:20 2016 +0300
Reverted erroneous modification [#METR-19997].
commit 1370bdcc4594182f6ef2b146f9afabfe1c295080
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date: Wed Mar 16 00:41:34 2016 +0300
Database engines: development [#METR-19997].
commit 16e72c67041cae6471509d3f0f3d4a9aa7b7dc0f
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date: Tue Mar 15 00:41:48 2016 +0300
Database engines: development [#METR-19997].
2016-03-19 04:18:49 +03:00
Alexey Arno
36135ddb6a
dbms: Code cleanup. [#METR-18510]
2016-03-10 18:53:20 +03:00
Alexey Arno
4ce2d94be7
dbms: Removed code that was not needed anymore since we have now a better way to check issues with connections. [#METR-18510]
2016-03-10 18:42:36 +03:00
Alexey Arno
d5d334d5b8
dbms: Fixed post-optimization column order. Retain aliases. [#METR-19684]
2016-03-10 17:24:04 +03:00
Alexey Milovidov
4f3e9dfc95
dbms: addition to prev. revision [#METR-20301].
2016-03-10 06:45:03 +03:00
Alexey Milovidov
b92b0660a7
dbms: fixed error [#METR-20301].
2016-03-10 06:08:09 +03:00
Alexey Milovidov
4576a90ba0
Fixing warnings on clang [#METR-2807].
2016-03-07 08:05:42 +03:00
Alexey Milovidov
f5247021b1
Fixed error [#METR-20296].
2016-03-05 06:17:11 +03:00
Alexey Milovidov
36e4bcc125
Better diagnostics [#METR-19808].
2016-03-05 05:30:20 +03:00
Alexey Milovidov
921000e9c5
dbms: fixed error [#METR-2944].
2016-03-05 00:26:36 +03:00
Alexey Milovidov
916ff9d592
Better diagnostics [#METR-20293].
2016-03-04 00:35:05 +03:00
Alexey Milovidov
c8d87e8a24
Better [#METR-18510].
2016-03-03 23:48:04 +03:00
Alexey Milovidov
0fbf3e4652
dbms: better [#METR-2944].
2016-03-03 07:12:47 +03:00
Alexey Arno
6232e1cf9a
dbms: Added stricter checkings for coordinated requests originating from shards and a more reliable cluster naming scheme. [#METR-18510]
2016-03-02 16:35:30 +03:00
Alexey Arno
6efc98d1f3
Merge
2016-03-01 20:47:53 +03:00
Alexey Milovidov
12363ed329
Added limited support for expressions in INSERT ... VALUES [#METR-20048].
2016-02-13 09:37:19 +03:00
Alexey Milovidov
bc54312472
Fixed minor issue with readonly setting [#METR-15268].
2016-02-12 06:45:26 +03:00
Pavel Kartavyy
eca42536d8
dbms: renamed Revision to ClickHouseRevision. Daemon to BaseDaemon
2016-02-09 20:06:50 +03:00
Alexey Milovidov
df1d66e51a
Removed sensitive data.
2016-02-08 00:58:58 +03:00
Alexey Milovidov
6c38979819
dbms: fixed test [#METR-2944].
2016-02-07 17:49:20 +03:00
Alexey Milovidov
563e410b72
Moved threadpool library to contrib [#METR-17973].
2016-02-05 08:07:39 +03:00
Alexey Milovidov
3519c3cea2
dbms: separated mysqlxx::Date and mysqlxx::DateTime [#METR-17973].
2016-02-03 04:17:58 +03:00
Alexey Arno
4605992fb3
dbms: Server: Bug fix. [#METR-19860]
2016-02-02 14:49:57 +03:00
Alexey Arno
113b592380
Merge
2016-01-28 19:06:57 +03:00
Alexey Milovidov
e5d4149ca4
Merge
2016-01-28 04:00:42 +03:00
Alexey Milovidov
67a07205b7
Merge
2016-01-28 04:00:27 +03:00
Alexey Milovidov
b7d3f0e4d6
Merge
2016-01-28 03:59:35 +03:00
Pavel Kartavyy
fec72d8e58
Merge
2016-01-27 14:37:03 +03:00
Pavel Kartavyy
e19e2effd6
build fix
2016-01-27 10:03:15 +03:00
Alexey Milovidov
5c90d7d45c
Merge
2016-01-26 05:00:25 +03:00
Alexey Milovidov
085dd9f90a
Merge
2016-01-26 04:56:42 +03:00
Alexey Arno
ae2f7c7613
Merge
2016-01-26 03:30:18 +03:00
Alexey Milovidov
b3e4adfb6d
dbms: fixed error [#METR-19758].
2016-01-24 09:38:10 +03:00
Alexey Milovidov
e720a53cf2
dbms: return early on WHERE 0 [#METR-19758].
2016-01-22 23:43:16 +03:00
Alexey Arno
a3ea32b985
Merge
2016-01-21 19:30:05 +03:00
Alexey Milovidov
0f3e163c4e
dbms: CurrentMetrics: development [#METR-19596].
2016-01-21 04:47:28 +03:00
Alexey Milovidov
fa8c7bec8a
dbms: fixed dynamic compilation [#METR-2944].
2016-01-20 22:51:45 +03:00
Alexey Milovidov
c3381e4a3f
dbms: fixed error [#METR-19561].
2016-01-19 00:33:05 +03:00
Alexey Milovidov
8f1df43f03
dbms: separated lock for zookeeper in Context [#METR-2944].
2016-01-17 10:53:58 +03:00
Alexey Milovidov
b22ce41d59
Removing dependency of daemon to statdaemons [#METR-17973].
2016-01-15 05:32:55 +03:00
Alexey Milovidov
e513e9808b
dbms: porting to aarch64 [#METR-19609].
2016-01-14 00:05:11 +03:00
Alexey Milovidov
c103a4ec47
dbms: porting to aarch64 [#METR-19609].
2016-01-13 23:21:56 +03:00
Alexey Milovidov
c67d973c51
dbms: added setting 'max_memory_usage_for_all_queries' [#METR-19561].
2016-01-13 06:59:24 +03:00
Alexey Milovidov
7b521a8c5e
dbms: added setting 'max_memory_usage_for_user' [#METR-19561].
2016-01-13 05:38:30 +03:00
Alexey Milovidov
54d3af930c
Merge
2016-01-13 04:06:56 +03:00
Alexey Milovidov
9a53bd2a3e
dbms: tiny fixes (tnx. orantius) [#METR-2944].
2016-01-13 04:02:10 +03:00
Alexey Milovidov
b16dc2bb5e
dbms: addition [#METR-2944].
2016-01-13 03:37:34 +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
Alexey Milovidov
47191fbb00
Additions [#METR-19593].
2016-01-08 03:02:33 +03:00
Alexey Milovidov
a419ce1052
Preparation to build with in-tree Poco library [#METR-19593].
2016-01-07 22:52:21 +03:00
Alexey Milovidov
a6b01ee987
dbms: multiple MemoryTrackers: development [#METR-19561].
2015-12-30 18:39:11 +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
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
c483485eaf
dbms: create a separate type for Tuple in Field [#METR-19265]
2015-12-25 15:06:17 +03:00
Andrey Mironov
13f56d4465
dbms: use CAST internally whenever a conversion is required [#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
Alexey Milovidov
ce70e528e0
dbms: fixed error with max_subquery_depth and GLOBAL subqueries [#METR-19569].
2015-12-25 04:37:17 +03:00
Alexey Milovidov
89c64fe863
dbms: removed unused field [#METR-2944].
2015-12-24 21:35:01 +03:00
Alexey Milovidov
d51e03da61
dbms: added fault injection in memory tracker to more easily reproducing the bug [#METR-19278].
2015-12-23 10:39:28 +03:00
Alexey Milovidov
8da3abcd94
dbms: better [#METR-19278].
2015-12-23 10:35:36 +03:00
Alexey Milovidov
1f62bf24ee
dbms: more safe [#METR-19278].
2015-12-23 10:29:20 +03:00
Alexey Milovidov
691e13fe1a
dbms: better [#METR-19278].
2015-12-23 10:06:34 +03:00
Alexey Milovidov
348f2e0e40
dbms: better [#METR-19278].
2015-12-23 10:03:50 +03:00
Alexey Milovidov
8afecac7e3
dbms: fixed error with order of destruction of arenas, if exception was thrown while merging [#METR-19278].
2015-12-23 09:48:05 +03:00
Alexey Milovidov
c2d231dc75
dbms: fixed another error [#METR-19278].
2015-12-23 08:06:32 +03:00
Andrey Mironov
02ce1bede2
dbms: add support for comparing enums [#METR-19265]
2015-12-22 15:03:47 +03:00
Andrey Mironov
9d16702f84
dbms: unconditionally move evaluation of storage ALIASes to InterpterSelectQuery [#METR-19317]
2015-12-15 17:15:06 +03:00
Alexey Milovidov
810edc775d
dbms: fixed error in prev. revision [#METR-19171].
2015-12-13 17:29:58 +03:00
Alexey Milovidov
9143952e83
dbms: probably better [#METR-19172].
2015-12-13 15:02:10 +03:00
Alexey Milovidov
9060931654
dbms: probably fixed error [#METR-16212].
2015-12-13 12:20:13 +03:00
Alexey Milovidov
c150e0afd6
dbms: Aggregator: fixes [#METR-19371].
2015-12-11 04:11:59 +03:00
Alexey Milovidov
8a37319677
dbms: Aggregator: fixes [#METR-19371].
2015-12-11 03:34:00 +03:00
Alexey Milovidov
d1fc6175f3
dbms: added revision to query_log table [#METR-19319].
2015-12-09 06:30:54 +03:00
Alexey Milovidov
a43272c9b8
dbms: fixed error in memory-efficient merging of aggregated states [#METR-17000].
2015-12-09 05:56:18 +03:00
Alexey Milovidov
7560351942
dbms: removed old code [#METR-17000].
2015-12-09 05:55:35 +03:00
Alexey Milovidov
50d463d08b
dbms: fixed error [#METR-17000].
2015-12-08 05:01:46 +03:00
Alexey Milovidov
35db0d65b9
dbms: fixed error [#METR-19288].
2015-12-07 23:08:00 +03:00
Alexey Milovidov
0d7135fcf6
dbms: fixed errors [#METR-17000].
2015-12-06 22:42:28 +03:00
Alexey Milovidov
9ecd4a0fa2
dbms: additions [#METR-17000].
2015-12-06 21:55:09 +03:00
Alexey Milovidov
513eb33b5b
dbms: fixed error [#METR-17000].
2015-12-06 19:42:17 +03:00
Alexey Milovidov
7dc5661521
dbms: more memory efficient merging aggregated states [#METR-17000].
2015-12-06 19:22:01 +03:00
Alexey Milovidov
0ef797d9f3
dbms: fixed error [#METR-17000].
2015-12-06 17:27:09 +03:00
Alexey Milovidov
2b1614825e
dbms: improvement [#METR-17000].
2015-12-06 10:33:39 +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
fa76a1a452
dbms: MergingAggregatedMemoryEfficientBlockInputStream: reading data in parallel [#METR-17000].
2015-12-05 07:20:37 +03:00
Alexey Milovidov
6859f2085e
dbms: fixed error with TOTALS [#METR-19259].
2015-12-04 23:33:38 +03:00
Alexey Milovidov
5890747c56
dbms: instrumenting external sort/aggregation [#METR-17000].
2015-12-04 00:23:21 +03:00
Alexey Milovidov
0ceb0280f7
dbms: added setting 'aggregation_memory_efficient_merge_threads' [#METR-17000].
2015-12-03 08:03:23 +03:00
Alexey Milovidov
99d7aa59b8
dbms: allowed to merge partial-aggregated streams memory-efficient in parallel [#METR-17000].
2015-12-02 01:35:48 +03:00
Alexey Milovidov
d76d57dda2
dbms: better [#METR-17000].
2015-12-02 00:20:14 +03:00
Alexey Milovidov
b04fc9bdf0
dbms: fixed build [#METR-17000].
2015-12-01 20:10:24 +03:00
Alexey Milovidov
8844334423
dbms: external aggregation: development [#METR-17000].
2015-12-01 19:58:15 +03:00
Alexey Milovidov
fe8f947a43
dbms: allowed external aggregation with non-parallel aggregation [#METR-17000].
2015-12-01 17:43:51 +03:00
Alexey Milovidov
02b16fce06
dbms: external aggregation: initial implementation [#METR-17000].
2015-12-01 17:09:05 +03:00
Alexey Milovidov
48e840a199
dbms: external aggregation: development [#METR-17000].
2015-11-30 22:57:46 +03:00
Alexey Milovidov
83cf1f81ec
dbms: Aggregator: preparation [#METR-17000].
2015-11-30 19:57:05 +03:00
Alexey Milovidov
1889600e39
dbms: improved performance of Aggregator in non-compiled case [#METR-2944].
2015-11-21 22:46:27 +03:00
Alexey Milovidov
8314861690
dbms: improved performance of INSERT SELECT [#METR-19025].
2015-11-21 18:47:32 +03:00
Alexey Milovidov
2d00e5d84f
dbms: SAMPLE ... OFFSET development: using rational numbers [#METR-18847].
2015-11-20 00:34:53 +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
4a537fcb84
dbms: moved file [#METR-18778].
2015-11-15 09:18:43 +03:00
Alexey Milovidov
109eec92ff
dbms: fixed error with UNION ALL and subqueries in IN [#METR-18808].
2015-11-13 23:50:51 +03:00
Andrey Mironov
c0ba6bedcb
dbms:rename ComplexKeyDictionary to ComplexKeyHashedDictionary [#METR-17328]
2015-11-13 14:21:40 +03:00
Andrey Mironov
701bed3fae
dbms: add ComplexKeyDictionary, no fetching of values yet [#METR-17328]
2015-11-12 19:29:07 +03:00
Alexey Milovidov
fea8d76c77
dbms: fixed deadlock [#METR-18755].
2015-11-12 05:14:28 +03:00
Alexey Milovidov
d21307c535
dbms: fixed error with views [#METR-18748].
2015-11-10 23:07:38 +03:00
Alexey Milovidov
4b29a48124
dbms: fixed error [#METR-17109].
2015-11-09 21:45:55 +03:00
Alexey Milovidov
dd3ee906e2
dbms: fixed build [#METR-2944].
2015-11-09 02:27:51 +03:00
Alexey Milovidov
4482871274
dbms: allowed aliases without AS keyword in SELECT clause at top level [#METR-15573].
2015-11-08 03:28:12 +03:00
Alexey Arno
29dc5f91d1
Merge
2015-11-06 20:44:01 +03:00
Alexey Arno
67d42f3aa8
dbms: Server: Bug fix. If the FROM section of a subquery does not refer to a table, the depth (as specified in the algorithm for distributed IN/JOIN subqueries processing) of this subquery must not increase. [#METR-18524]
2015-11-05 14:11:20 +03:00
Alexey Milovidov
c3a196904f
dbms: fixed error with ARRAY JOIN and UNION ALL [#METR-18646].
2015-11-05 03:42:18 +03:00
Alexey Milovidov
1a01606bf6
dbms: fixed error with GLOBAL subqueries and aliases [#METR-18650].
2015-11-05 01:02:52 +03:00
Alexey Milovidov
213a6dedbd
dbms: probably fixed error [#METR-18611].
2015-11-02 22:19:29 +03:00
Alexey Milovidov
89848a098a
dbms: setting Content-Type header in HTTP interface [#METR-18603].
2015-10-31 00:19:54 +03:00
Alexey Milovidov
e7aabfe43c
dbms: fixed error [#MTRSADMIN-1690].
2015-10-30 05:29:53 +03:00
Andrey Mironov
37ba429c1e
dbms: handle ALIAS columns differently, support them in ARRAY JOIN. [#METR-18221]
2015-10-29 18:42:40 +03:00
Alexey Milovidov
c9a8f19def
dbms: fixed error with tuples of consts [#METR-18586].
2015-10-29 00:21:18 +03:00
Alexey Milovidov
23144fb2c1
Revert "dbms: fixed error with ARRAY JOIN, ORDER BY and LIMIT when no aggregation and joined arrays is not used before ORDER BY [#METR-18534]."
...
This reverts commit d5a33de26e7f69f65d7c056394e6a1d70b3a3f2a.
2015-10-27 03:50:01 +03:00
Alexey Arno
a5e1c3a603
dbms: Server: Set max_threads to max_distributed_connections in order to improve response times of CHECK TABLE. [#METR-16213]
2015-10-26 17:16:29 +03:00
Alexey Milovidov
6affd9f342
dbms: fixed error with ARRAY JOIN, ORDER BY and LIMIT when no aggregation and joined arrays is not used before ORDER BY [#METR-18534].
2015-10-23 22:05:21 +03:00
Alexey Milovidov
09e3e62539
Merge
2015-10-23 04:44:50 +03:00
Alexey Milovidov
5cd5c0dde5
dbms: using 'max_rows_to_group_by' limit while merging aggregate states (in certain cases) [#METR-18507].
2015-10-23 04:43:42 +03:00
Alexey Milovidov
6f00b5949c
dbms: fixed ARRAY JOIN when joined array is not used, but original is used [#METR-18406].
2015-10-22 23:56:52 +03:00
Alexey Milovidov
90ff83b1ba
dbms: using max_rows_to_group_by limit while merging aggregate states (incomplete) [#METR-18507].
2015-10-22 04:44:33 +03:00
Alexey Milovidov
9b0da24558
dbms: allowed to GROUP BY constants with no aggregates [#METR-18298].
2015-10-22 00:43:42 +03:00
Andrey Mironov
8242d24d1d
dbms: fix alters involving FixedString columns and defaults [#METR-18221]
2015-10-21 17:54:13 +03:00
Alexey Arno
2660fbaa21
dbms: Server: merged branch METR-16213 into master
2015-10-20 17:59:29 +03:00
Alexey Milovidov
203beb9621
dbms: caching DNS for table function 'remote' [#METR-18472].
2015-10-16 19:10:10 +03:00
Alexey Arno
a5c49720fc
Merge
2015-10-16 18:00:50 +03:00
Alexey Arno
ce93036534
dbms: Server: Fixed comment typo. [#METR-16213]
2015-10-16 14:25:29 +03:00
Alexey Arno
caaf0235b9
dbms: Server: merged branch METR-16213 into master [#METR-16213]
2015-10-16 14:02:48 +03:00
Alexey Milovidov
fc745dbfa1
dbms: fixed error with removing temporary columns [#METR-18448].
2015-10-15 19:10:08 +03:00
Alexey Arno
3d7a3bcd92
dbms: Server: Fixed typo in comment. [#METR-18155]
2015-10-15 16:07:35 +03:00
Alexey Arno
66c46b1a49
dbms: Server: Fixed inverted columns. [#METR-16213]
2015-10-15 15:16:04 +03:00
Alexey Arno
f4d2d42ea8
dbms: Server: Fixed bug in query analysis ordering. [#METR-18155]
2015-10-15 14:07:39 +03:00
Andrey Mironov
797b947425
dbms: add concatAssumeInjective [#METR-18261]
2015-10-14 15:50:21 +03:00
Pavel Kartavyy
c469b726c1
Merge
2015-10-13 15:38:38 +03:00
Alexey Arno
5f17c9d55d
Merge
2015-10-12 17:53:16 +03:00
Alexey Milovidov
bb283e6602
dbms: added support for different numeric types in function has [#METR-18382].
2015-10-12 10:05:54 +03:00
Alexey Milovidov
d12532e7b1
dbms: fixed error [#METR-18382].
2015-10-12 07:27:02 +03:00
Alexey Milovidov
a7fc2040d9
dbms: handling of compatible types in IN section with explicitly provided set [#METR-18382].
2015-10-09 00:22:49 +03:00
Pavel Kartavyy
2163af290a
Merge
2015-10-08 16:21:23 +03:00