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