alexey-milovidov
0dd2191c87
Merge branch 'master' into issue-111
2016-12-31 05:53:52 +04:00
Alexey Milovidov
baf29f5c48
NULLs support: fixed totally wrong code [#METR-19266].
2016-12-30 08:13:14 +03:00
Alexey Milovidov
1a64417044
Added setting "output_format_pretty_max_rows" [#METR-23999].
2016-12-29 23:15:18 +03:00
artpaul
3f064d9ff7
first dirty implementation of LIMIT BY clause [#METR-23881]
2016-12-28 20:12:54 +05:00
Alexey Milovidov
72888b48ef
Printing user name in exception messages about exceeded quota [#METR-19622].
2016-12-25 07:00:33 +03:00
artpaul
fe9c28ad49
distinct filtration was rewrited with SetVariants [#METR-23882]
2016-12-22 13:51:34 +05:00
artpaul
b160e2a1cf
SetVariants was extracted into separated file [#METR-23882]
2016-12-21 17:42:54 +05:00
Vitaliy Lyudvichenko
876ad28dd8
Merge remote-tracking branch 'origin/master' into metrics_refinement
2016-12-12 19:17:23 +03:00
Alexey Milovidov
54af522de1
Preparation [#METR-2944].
2016-12-12 10:24:56 +03:00
Alexey Milovidov
e97ecb6cf7
Merge branch 'master' into METR-19266
...
Conflicts:
dbms/CMakeLists.txt
dbms/include/DB/Functions/FunctionsArray.h
dbms/include/DB/Functions/FunctionsString.h
dbms/include/DB/Parsers/ExpressionListParsers.h
dbms/include/DB/Storages/MergeTree/MergeTreeBlockInputStream.h
dbms/include/DB/Storages/MergeTree/MergeTreeReader.h
dbms/include/DB/Storages/MergeTree/MergeTreeThreadBlockInputStream.h
dbms/include/DB/Storages/MergeTree/MergedBlockOutputStream.h
dbms/src/Core/ErrorCodes.cpp
dbms/src/Parsers/ASTFunction.cpp
dbms/src/Storages/MergeTree/MergeTreeData.cpp
dbms/src/Storages/MergeTree/MergeTreeDataPart.cpp
dbms/src/Storages/MergeTree/MergeTreeReader.cpp
dbms/src/Storages/StorageLog.cpp
2016-12-10 07:51:36 +03:00
Vitaliy Lyudvichenko
ea11f61433
Added requested changes. [#METR-19372]
2016-12-09 13:13:16 +03:00
Vitaliy Lyudvichenko
f8eb9028fd
Refined query_log, processes and merges metrics.
...
Also, dbms/CMakeLists.txt was rewritten.
2016-12-09 13:11:25 +03:00
Alexey Milovidov
6546b73dcc
Added setting 'input_format_values_interpret_expressions' [#METR-23720].
2016-12-08 03:25:52 +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
Alexey Milovidov
36553dd653
Fixed deadlock [#METR-23605].
2016-11-24 23:25:02 +03: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
a2e9359b18
Fixed rare deadlock after startup when structure of query_log was changed [#METR-23594].
2016-11-23 23:41:39 +03:00
Alexey Milovidov
9018906e1a
Better [#METR-2944].
2016-11-20 15:43:20 +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
3432f84409
Merge pull request #183 from ztlpn/METR-23447
...
Client uses server timezone for interpreting DateTime strings [#METR-23447]
2016-11-16 05:22:28 +04: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 Zatelepin
3a7260e200
[#METR-23447] Client uses server timezone for DateTime string parsing
2016-11-13 19:34:31 +00:00
artpaul
e1cda4b760
move impl of common parsers to cpp
2016-11-12 22:55:40 +05:00
Vitaliy Lyudvichenko
cf24f6e2d1
Implemented draft version of clickhouse-local service.
2016-11-09 22:03:47 +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
350f73da02
Fixed error in Dictionaries [#METR-20000].
2016-10-27 16:04:49 +03:00
Alexey Milovidov
f6f92cb7bc
Fixed error with falsely reported large memory consumption of long running INSERT queries [#METR-23288].
2016-10-25 17:22:10 +03:00
Alexey Milovidov
c2fa56b905
ClientInfo: fixes [#METR-23279].
2016-10-25 08:07:29 +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
ea852bb9d8
Separate compilation of CurrentMetrics; Separated AsynchronousMetrics from CurrentMetrics; Comments [#METR-23237].
2016-10-24 07:06:27 +03:00
Alexey Milovidov
de479eb36a
Comment [#METR-2944].
2016-10-24 06:08:56 +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
38f4ebade8
dbms: Server: fixes [#METR-19266]
2016-10-21 17:57:43 +03:00
Alexey Arno
924402f33e
dbms: Server: merged from master [#METR-19266]
2016-10-19 18:00:56 +03:00
Alexey Milovidov
1ab55df9ff
Merge branch 'master' of github.com:yandex/ClickHouse
2016-10-18 22:32:46 +03:00
Alexey Milovidov
5e61b96b8d
Comments [#METR-20000].
2016-10-18 22:32:32 +03:00
Alexey Arno
a4f2f74b8e
dbms: Server: changes to make the code a tad more readable [#METR-19266]
2016-10-18 15:36:36 +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
Vitaliy Lyudvichenko
4c242e8a4d
Added output_format_json_quote_64bit_integers new config option.
2016-09-30 19:02:16 +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
alexey-milovidov
30c4b21a50
Merge pull request #121 from ludv1x/METR-22801
...
Ability to skip columns with unknown names from input JSON data [#METR-22801]
2016-09-28 22:49:50 +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
c4666af3ab
Add input_format_skip_unknown_fields new config parameter. [#METR-22801]
2016-09-28 01:44:45 +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
ebacdf3144
Trying to fix stuck in external aggregation [#METR-22869].
2016-09-23 08:49:55 +03:00
alexey-milovidov
f252110afd
Merge pull request #113 from yandex/metrika-sync-3
...
Metrika sync 3
2016-09-22 00:55:43 +04: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 Milovidov
2dd04b39f7
Enabling parallel merging of intermediate aggregation results in memory efficient mode [#METR-22237].
2016-09-19 09:02:42 +03:00
Alexey Arno
10770bc921
dbms: Server: Fixed typo. [#METR-19266]
2016-09-16 21:47:46 +03:00
Alexey Arno
e0347308b9
dbms: Server: Adding nullable type support to functions manipulating arrays. [#METR-19266]
2016-09-16 19:11:36 +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
Vitaliy Lyudvichenko
e966044634
Avoid reloading of loaded dicts on fast start stage
2016-09-13 16:44:35 +03:00
Vitaliy Lyudvichenko
e7507afb99
Adaptive time intervals for embedded dictionaries loading [#METR-22050].
2016-09-05 21:55:23 +03:00
Alexey Milovidov
689f599e2a
Fixed error, removed partially duplicate code [#METR-22462].
2016-08-25 20:23:29 +03:00
igor
3bbbdb29f5
Add CORS hearder,param:add_http_cors_header and check request header
2016-08-23 21:35:23 +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
2c16a4ad2a
Removed unused method [#METR-2944].
2016-08-20 17:34:34 +03:00
Alexey Milovidov
a50c733345
Make tests deterministic [#METR-22400].
2016-08-17 23:03:22 +03:00
Alexey Milovidov
73a2ddcaf8
Attempt to fix an error with defaults [#METR-21993].
2016-08-15 22:41:44 +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
bb5bdd098d
Whitespace [#METR-2944].
2016-08-09 23:39:03 +03:00
Alexey Milovidov
6c861fe798
Style [#METR-2807].
2016-08-07 12:09:18 +03:00
Alexey Milovidov
fa9dc8a521
Fixed error [#METR-22173].
2016-08-05 22:20:38 +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
9014f19f01
Fewer warnings from UBSan [#METR-2944].
2016-07-31 08:56:36 +03:00
Alexey Milovidov
6f4fc79cde
Better [#METR-2944].
2016-07-31 06:53:16 +03:00
Alexey Milovidov
ea734b6bee
Removed compatibility layer with OLAPServer [#METR-2944].
2016-07-30 04:08:00 +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
f5f38e1e50
Better support for tuples, arrays in SELECT DISTINCT [#METR-22035].
2016-07-10 18:58:58 +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
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
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
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