Commit Graph

4552 Commits

Author SHA1 Message Date
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
3451223408 Fixed test build after change of JSON output formats API. 2016-10-10 12:04:56 +03:00
Vitaliy Lyudvichenko
c3617aaa32 Added docs for output_format_json_quote_64bit_integers parameter. [#METR-22950] 2016-09-30 21:21:58 +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
5ea36a550c Merge pull request #123 from yandex/METR-22935
dbms: Server: Bug fix. Now the functions toStartOfHour/toStartOfMinut…
2016-09-29 23:57:05 +04: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 Arno
0ad504e4dd dbms: Server: Bug fix. Now the functions toStartOfHour/toStartOfMinute/toStartOfFiveMinute correctly take into account the time zone parameter. [#METR-22935] 2016-09-29 13:00:37 +03: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
f3d70eb87c Added test for JSONEachRow format. [#METR-22801] 2016-09-28 21:45:28 +03: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
3c045e1545 Added ability to skip plain JSON arrays. [#METR-22801] 2016-09-28 16:14:28 +03:00
Vitaliy Lyudvichenko
68dffa3970 Added docs for introduced changes. [#METR-22801] 2016-09-28 01:51:36 +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
2cceb41877 Fixed error with anyLastIf function [#MARKETHEALTH-550]. 2016-09-23 06:44:51 +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 Arno
0c478b8fe6 dbms: Server: Bug fix [#METR-22842] 2016-09-21 17:26:17 +03:00
Alexey Arno
cc43b1b165 dbms: Server: better [#METR-19266] 2016-09-21 15:31:50 +03:00
Alexey Arno
9ceac9ac31 dbms: Server: Adding nullable type support to functions manipulating arrays. [#METR-19266] 2016-09-20 18:59:47 +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
Alexey Arno
58fec71f0f dbms: Server: Do not pay attention to this commit. [#METR-19266] 2016-09-19 19:57:52 +03:00
Alexey Arno
dd300f6618 dbms: Server: Adding nullable type support to functions manipulating arrays. [#METR-19266] 2016-09-19 19:04:53 +03:00
Alexey Arno
c81eb1d730 dbms: Server: Adding nullable type support to functions manipulating arrays. [#METR-19266] 2016-09-19 12:40:17 +03:00
Alexey Arno
94187aff43 Merge branch 'METR-19266' of github.com:yandex/ClickHouse into METR-19266 [#METR-19266] 2016-09-19 11:46:54 +03:00
Alexey Arno
8718c95e1e dbms: Server: Adding nullable type support to functions manipulating arrays. [#METR-19266] 2016-09-19 11:46:48 +03:00
Alexey Arno
85383ab7bf dbms: Server: Adding nullable type support to functions manipulating arrays. [#METR-19266] 2016-09-19 11:20:10 +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 Milovidov
8d70fd4d51 MergingAggregatedMemoryEfficient: clarifications, probably fixed error with aggregation_memory_efficient_merge_threads > 1 [#METR-22237]. 2016-09-19 08:01:32 +03:00
Alexey Milovidov
6dd008a034 Added 'runningDifference' function [#METR-22730]. 2016-09-17 01:00:30 +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
Alexey Arno
5a7b98d29a dbms: Server: Adding nullable type support to functions manipulating arrays. [#METR-19266] 2016-09-16 00:27:34 +03:00
Alexey Arno
bd73b2d165 dbms: Server: Adding nullable type support to functions manipulating arrays. [#METR-19266] 2016-09-15 15:14:25 +03:00
Alexander Prudaev
174b9a806d merge clickhouse into metrika repo 2016-09-14 16:20:17 +03:00
alexey-milovidov
4066071f4c Merge pull request #106 from ludv1x/METR-22050
Adaptive time intervals for embedded dictionaries loading [#METR-22050].
2016-09-13 23:06:57 +04:00
Alexander Prudaev
5d5bb88118 columnar-appender-common: fix PoolWithFailOver [#METR-20682]. 2016-09-13 19:00:47 +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
Alexey Arno
59043c680e dbms: Server: Ongoing work. Do not pay attention. [#METR-19266] 2016-09-12 17:16:21 +03:00
Alexey Arno
91636a981f dbms: Server: unfinished work. Do not pay attention to this. [#METR-19266] 2016-09-12 01:03:26 +03:00
Alexey Arno
b7ca838dc0 dbms: Server: cleanups [#METR-19266] 2016-09-11 13:06:34 +03:00
Alexey Arno
ef7eb14979 dbms: Server: Adding nullable types support for arrays. Ongoing. [#METR-19266] 2016-09-11 10:40:47 +03:00
Vitaliy Lyudvichenko
e7507afb99 Adaptive time intervals for embedded dictionaries loading [#METR-22050]. 2016-09-05 21:55:23 +03:00
Vitaliy Lyudvichenko
1d02509ee0 Add new metadata_modification_time column for system.tables [#METR-22593] 2016-09-05 15:15:29 +03:00
Alexey Milovidov
469eebe4f0 Investigation [#METR-2944]. 2016-09-04 20:12:07 +03:00
Alexey Milovidov
3ed7b86e7b More convenient behaviour when user writes 'toDate(1111111111.)' (passes unix timestamp as float) [#METR-2944]. 2016-09-04 03:42:24 +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 Milovidov
322e5031bd Investigation [#METR-22327]. 2016-09-02 07:03:40 +03:00
Alexey Milovidov
5cdc330273 Fixed error [#METR-22625]. 2016-09-02 05:58:59 +03:00
Alexey Arno
6c064ab55b dbms: Better comment [#METR-18510] 2016-09-01 13:24:06 +03:00
Alexey Arno
18930e5bb5 dbms: Better. [#METR-18510] 2016-09-01 11:19:19 +03:00
Alexey Milovidov
0db84044e5 Better [#METR-22608]. 2016-09-01 05:26:45 +03:00
Alexey Arno
5dc3b28774 dbms: Fixed deadlock. [#METR-18510] 2016-08-31 19:42:04 +03:00
alexey-milovidov
012f34a799 Merge pull request #96 from yurial/yurial-IStorage-enable_shared_from_this
use std::enable_shared_from_this for IStorage
2016-08-31 00:00:23 +04:00
Yuri Dyachenko
94a2186dde rename ext::share_ptr_helper -> ext::shared_ptr_helper 2016-08-30 22:27:15 +03:00
Alexey Arno
b0834368c0 dbms: Added support for the construction CAST(NULL, Nullable(T)). This fixes the behavior of tables which have columns whose default value is NULL. [#METR-19266] 2016-08-30 19:14:05 +03:00
Alexey Arno
9528405fe4 dbms: Extended CAST to nullable types. Added ALTER TABLE ... MODIFY COLUMN ... for nullable types. A column with a nullable type can have a default value in CREATE TABLE. [#METR-19266] 2016-08-29 19:57:59 +03:00
Yuri Dyachenko
e5825f790f use std::enable_shared_from_this for IStorage 2016-08-29 16:28:34 +03:00
alexey-milovidov
60b9234b50 Merge pull request #95 from yurial/yurial-more-warning-flags
add -Wold-style-cast
2016-08-26 23:58:05 +04:00
Yuri Dyachenko
065b02494a add -Wold-style-cast 2016-08-26 22:55:11 +03:00
Alexey Milovidov
867b73b6b0 Fixed error with cancelling merges on ALTERs [#METR-22524]. 2016-08-26 22:50:04 +03:00
Alexey Milovidov
8dd6acac59 Added comment [#METR-22482]. 2016-08-26 20:57:19 +03:00
Alexey Milovidov
6e91f49d4c Addition to prev. revision [#METR-22482]. 2016-08-26 00:47:45 +03:00
Alexey Milovidov
d9db19acea Function 'convertCharset': development [#METR-22482]. 2016-08-26 00:44:47 +03:00
alexey-milovidov
cbabbb0bc4 Merge pull request #93 from yurial/yurial-fix-dictHas-METR-22522
use 'std::vector<bool> loaded_ids' for FlatDictionary::has()
2016-08-26 00:13:27 +04:00
Yuri Dyachenko
06032a6737 use 'std::vector<bool> loaded_ids' for FlatDictionary::has() 2016-08-25 23:09:58 +03:00
Alexey Arno
4c8d5b1630 dbms: fixed issue with columns having default values [#METR-19266] 2016-08-25 23:01:36 +03:00
Alexey Milovidov
689f599e2a Fixed error, removed partially duplicate code [#METR-22462]. 2016-08-25 20:23:29 +03:00
Alexey Arno
27e095f095 dbms: Do not allow inserting NULLs into non-nullable columns [#METR-19266] 2016-08-25 17:04:26 +03:00
Alexey Arno
4b71823b49 dbms: better [#METR-19266] 2016-08-25 16:24:06 +03:00
Alexey Arno
ae2d8d9adb dbms: better [#METR-19266] 2016-08-25 16:23:24 +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
cd0541134a dbms: post-testing fixes [#METR-19266] 2016-08-24 03:39:38 +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
9148209bc2 Merge pull request #80 from yandex/metrica-sync2
Metrica sync2
2016-08-23 18:18:19 +04:00
Pavel Kartavyy
6647ba628f ConcurrentBoundedQueue: move if nothrow assign possible. copy otherwise 2016-08-23 17:01:45 +03:00
Pavel Kartavyy
457109ac71 ColumnVector: renamed get() to getElement() 2016-08-23 15:58:49 +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
Pavel Kartavyy
2032acd557 Merge commit 'e960efd5e63e4de51151724db92e6c2548aa88d9'
Conflicts:
	metrica/src/ClickHouse/libs/libdaemon/include/daemon/GraphiteWriter.h
	metrica/src/ClickHouse/libs/libdaemon/src/GraphiteWriter.cpp
2016-08-22 17:22:27 +03:00
Alexey Milovidov
2c16a4ad2a Removed unused method [#METR-2944]. 2016-08-20 17:34:34 +03:00
Pavel Kartavyy
6e7bb0cd65 Merge branch 'master' into METR-19530
Conflicts:
	metrica/src/CMakeLists.txt
	metrica/src/ClickHouse/libs/libdaemon/include/daemon/GraphiteWriter.h
	metrica/src/ClickHouse/libs/libdaemon/src/GraphiteWriter.cpp
	metrica/src/libs/CMakeLists.txt
	metrica/src/libs/liblogbroker-client/src/LogBroker.cpp
	metrica/src/libs/liblogbroker-log-import/include/logbroker-log-import/LogBrokerLogImportTask-inl.h
	metrica/src/libs/libstatdaemons/include/statdaemons/write_destinations/ClickHouseCluster.h
	metrica/src/programs/cleanerd/src/config.xml
	metrica/src/programs/deduplicatord/src/Task.cpp
	metrica/src/programs/visit-log-processor/src/VisitLogHandler.h
	metrica/src/tools/ssqls/templates/header.tpl
2016-08-19 17:15:58 +03:00
Alexey Milovidov
e960efd5e6 Changed semantic of intDiv, intDivOrZero functions for floating point arguments [#METR-19446]. 2016-08-19 06:17:53 +03:00
Alexey Milovidov
06bcc34be2 Don't do DNS requests for each fetch from replica [#METR-22304]. 2016-08-19 04:54:23 +03:00
Alexey Arno
e822631310 dbms: cleanup [#METR-19266] 2016-08-18 18:58:46 +03:00
Alexey Arno
e138621b7c dbms: improvements [#METR-19266] 2016-08-18 17:33:56 +03:00
Alexey Arno
f65e7b4a0f dbms: improvements [#METR-19266] 2016-08-18 17:25:02 +03:00
Alexey Milovidov
349d303558 Addition to prev. revision [#METR-22400]. 2016-08-17 23:17:16 +03:00
Alexey Milovidov
a50c733345 Make tests deterministic [#METR-22400]. 2016-08-17 23:03:22 +03:00
Alexey Arno
8b9742431e dbms: cleanup [#METR-19266] 2016-08-17 19:31:00 +03:00
Alexey Arno
c4f348619d dbms: cleanup [#METR-19266] 2016-08-17 16:38:33 +03:00
Alexey Arno
74ccf71a2a dbms: cleanup [#METR-19266] 2016-08-17 14:54:21 +03:00
Alexey Milovidov
09563dc4da More verbose error message when conversion function cannot parse value from string [#METR-22408]. 2016-08-17 10:47:03 +03:00
Alexey Milovidov
dc0f76bc87 More verbose error message when conversion function cannot parse value from string [#METR-22408]. 2016-08-17 10:40:06 +03:00
Alexey Milovidov
d713c2971d More verbose error message when conversion function cannot parse value from string [#METR-22408]. 2016-08-17 10:02:00 +03:00
Alexey Milovidov
cafd27c496 More verbose error message when conversion function cannot parse value from string [#METR-22408]. 2016-08-17 09:55:47 +03:00
Alexey Milovidov
df9c5ff547 Translation of comments [#METR-22400]. 2016-08-17 09:41:43 +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
01b3f8e90e Statistics in JSON formats: development [#METR-22400]. 2016-08-17 07:38:19 +03:00
Alexey Milovidov
ee40dfb9cb Statistics in JSON formats: development [#METR-22400]. 2016-08-17 06:29:26 +03:00
Alexey Arno
821f1e6482 dbms: cleanup [#METR-19266] 2016-08-17 01:40:05 +03:00
Alexey Arno
4ae075c7b9 dbms: temporarily rolled back change that removes isNumeric()/behavesAsNumber() because it introduces bugs [#METR-19266] 2016-08-17 01:32:42 +03:00
Alexey Arno
576bd2744f dbms: temporarily rolled back change that removes isNumeric()/behavesAsNumber() because it introduces bugs [#METR-19266] 2016-08-17 01:32:19 +03:00
Alexey Milovidov
b1de66f6d3 Added comment [#METR-22428]. 2016-08-17 00:39:49 +03:00
Alexey Milovidov
278d56ea4c Allow to parse Java-style floating point denormals 'NaN' and 'Infinity' [#METR-22428]. 2016-08-17 00:23:53 +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
54beaf7f8d Miscellaneous [#METR-22428]. 2016-08-16 23:21:28 +03:00
Alexey Arno
be2a305366 dbms: cleanup [#METR-19266] 2016-08-16 16:31:42 +03:00
Alexey Arno
fa700f986f dbms: cleanup [#METR-19266] 2016-08-16 15:10:12 +03:00
Alexey Arno
fe79074884 dbms: cleanup [#METR-19266] 2016-08-16 14:26:17 +03:00
Alexey Milovidov
63834bf441 Style [#METR-2944]. 2016-08-15 23:07:31 +03:00
Alexey Milovidov
73a2ddcaf8 Attempt to fix an error with defaults [#METR-21993]. 2016-08-15 22:41:44 +03:00
Alexey Arno
8340f8fd07 dbms: better [#METR-19266] 2016-08-15 20:10:30 +03:00
alexey-milovidov
2f232b25c2 Merge pull request #72 from serebrserg/METR-22322
METR-22322: add geo distance function
2016-08-15 21:02:07 +04:00
serebrserg
191d8b9707 METR-22322: add functional test 2016-08-15 19:34:03 +03:00
Alexey Arno
44a135f656 dbms: better [#METR-19266] 2016-08-15 17:36:01 +03:00
serebrserg
c8bbb26802 METR-22322: array instead of vector 2016-08-15 15:41:06 +03:00
Alexey Arno
f4e77aaf97 dbms: Better code for functions processing. Code cleanup. [#METR-19266] 2016-08-15 14:14:29 +03:00
serebrserg
db5bae495b METR-22322: rename function, add comments 2016-08-14 15:18:11 +03:00
Alexey Milovidov
1bb6ccd7f8 Better [#METR-22410]. 2016-08-13 08:29:53 +03:00
Alexey Milovidov
5fc8043b6f Fixed error [#METR-22410]. 2016-08-13 07:31:15 +03:00
Alexey Milovidov
0cf32c8aed Renamed method [#METR-22400]. 2016-08-13 05:21:17 +03:00
Alexey Milovidov
b3b2cd110a Tiny modification [#METR-22327]. 2016-08-13 04:59:09 +03:00
Alexey Milovidov
19f861464a Moving code [#METR-2944]. 2016-08-13 04:57:35 +03:00
Alexey Milovidov
af7e4a0c73 Try to improve performance of ColumnString::insertInto [#METR-22173]. 2016-08-12 23:50:34 +03:00
serebrserg
429b73422f METR-22322: add geo distance function 2016-08-12 19:51:08 +03:00
Alexey Arno
c74ee4e478 dbms: Code cleanup [#METR-19266] 2016-08-12 18:22:28 +03:00
Alexey Arno
8ebbc141eb dbms: Code cleanup. [#METR-19266] 2016-08-12 17:57:39 +03:00
Alexey Arno
0d2b542b4c dbms: Got rid of code that should have been removed a long time ago. [#METR-19266] 2016-08-12 17:29:02 +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 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 Arno
9896c8ce78 dbms: Merged from master [#METR-19266] 2016-08-11 17:15:27 +03:00
Alexey Arno
180b14eabf dbms: better [#METR-19266] 2016-08-11 16:50:47 +03:00
Alexey Arno
828012c077 dbms: better [#METR-19266] 2016-08-11 03:39:12 +03:00
Alexey Arno
87f330627e dbms: better [#METR-19266] 2016-08-11 03:17:30 +03:00
Alexey Milovidov
6cc8dadd6d Fixed error [#METR-21993]. 2016-08-11 00:20:46 +03:00
Alexey Arno
42cb1f690c dbms: improvements [#METR-19266] 2016-08-11 00:15:51 +03:00
Alexey Milovidov
225d6bf30a Fixed possible overflow [#METR-22187]. 2016-08-10 23:09:37 +03:00
Alexey Arno
f5d9d0ebc9 Merge branch 'master' into METR-19266 [#METR-19266] 2016-08-10 22:13:15 +03:00
Alexey Arno
e2b6e10ec1 dbms: Various fixes + more comments [#METR-19266] 2016-08-10 22:12:29 +03:00
Alexey Milovidov
b0256b9935 Fixed stack overflow [#METR-22219]. 2016-08-10 21:49:10 +03:00
Alexey Milovidov
d8eb52c189 Improvement [#METR-22352]. 2016-08-10 10:20:21 +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
4b41c52747 Attempt to improve performance of replication queue processing [#METR-22352]. 2016-08-09 23:39:28 +03:00
Alexey Milovidov
bb5bdd098d Whitespace [#METR-2944]. 2016-08-09 23:39:03 +03:00
Alexey Milovidov
f129e94429 Fixed warnings on clang [#METR-2944]. 2016-08-07 19:17:57 +03:00
Alexey Milovidov
30eb125100 Fixed error with INSERT SELECT and nested data structures [#METR-22328]. 2016-08-07 18:13:40 +03:00
Alexey Milovidov
65c34e8274 Addition to prev. revision [#METR-2807]. 2016-08-07 12:10:45 +03:00
Alexey Milovidov
6c861fe798 Style [#METR-2807]. 2016-08-07 12:09:18 +03:00
Alexey Milovidov
0ae29e867b Less wrong [#MOBMET-3953]. 2016-08-07 11:12:58 +03:00
Alexey Milovidov
7dfcdbfb86 Fixed error in ComplexKeyCacheDictionary [#MOBMET-3953]. 2016-08-07 09:10:15 +03:00
Alexey Milovidov
9fd26e381a Less code [#MOBMET-3953]. 2016-08-07 01:31:58 +03:00
Alexey Milovidov
fa9dc8a521 Fixed error [#METR-22173]. 2016-08-05 22:20:38 +03:00
Alexey Arno
531ff3d5ac dbms: Merged with master [#METR-19266] 2016-08-05 18:44:19 +03:00
Alexey Arno
38331e93e7 dbms: Cleanup + added function assumeNotNull [#METR-19266] 2016-08-05 15:52:09 +03:00
Alexey Arno
655d0cb5b4 dbms: Cleanup [#METR-19266] 2016-08-05 15:30:56 +03:00
Alexey Arno
a6ed503f49 dbms: Cleanup [#METR-19266] 2016-08-05 14:34:50 +03:00
Alexey Arno
a5cd138deb dbms: Cleanup [#METR-19266] 2016-08-05 14:31:55 +03:00
Alexey Arno
e38d29346e dbms: Cleanup [#METR-19266] 2016-08-05 10:49:56 +03:00
Alexey Milovidov
55ddf44693 Whitespaces [#METR-22173]. 2016-08-05 05:40:45 +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 Arno
2e15882f5d dbms: Cleanup [#METR-19266] 2016-08-05 02:33:07 +03:00
Alexey Arno
91bfb1aee2 dbms: Cleanup [#METR-19266] 2016-08-05 02:32:18 +03:00
Alexey Arno
4500376dc8 dbms: Cleanup [#METR-19266] 2016-08-05 02:17:58 +03:00
Alexey Arno
2888a7be26 dbms: Cleanup [#METR-19266] 2016-08-05 02:10:35 +03:00
Alexey Milovidov
093353d0ad Blocks simplification [#METR-22173]. 2016-08-05 00:40:20 +03:00
Alexey Arno
8c02bc44c5 dbms: Added support for nullable parameters (conditions and/or branches) in the function multiIf [#METR-19266] 2016-08-04 18:06:27 +03:00
Alexey Milovidov
ca044bf0de Added comment [#METR-22173]. 2016-08-04 08:47:59 +03:00
Alexey Milovidov
091e4a53ab Addition to prev. revision [#METR-22173]. 2016-08-04 08:32:58 +03:00
Alexey Milovidov
f638ebbbf5 Probably better [#METR-22173]. 2016-08-04 08:19:37 +03:00
Alexey Milovidov
6c476974d4 Maybe better [#METR-22173]. 2016-08-04 07:51:41 +03:00
Alexey Milovidov
8f36012d47 Added special exception to allow to convert string with serialized DateTime to Date [#METR-22296]. 2016-08-04 01:39:16 +03:00
Alexey Milovidov
62d067c81f Addition to prev. revision [#METR-22285]. 2016-08-02 23:02:34 +03:00
Alexey Milovidov
b7cecc176d Protection against infinite loop in RegionsHierarchy [#METR-22285]. 2016-08-02 22:42:01 +03:00
Alexey Milovidov
ee92f5d0cc dbms: prefer fetching part from replica, in some cases [#METR-22288]. 2016-08-02 22:02:00 +03:00
Alexey Milovidov
441aaf6e1d Added toTOrZero conversion functions [#METR-22229]. 2016-08-02 08:32:09 +03:00
Alexey Milovidov
f4ac673379 Allowed to CAST Strings to Array, Tuple [#METR-22263]. 2016-08-02 06:30:34 +03:00
Alexey Milovidov
9a07830dbb Removed useless code (experimental) [#METR-2944]. 2016-08-02 04:46:05 +03:00
Alexey Milovidov
1c25aa3b9d Removed useless code [#METR-2944]. 2016-08-01 23:03:55 +03:00
Alexey Milovidov
23a4a8bf19 Fixed error [#METR-2944]. 2016-07-31 13:43:54 +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
5b9d80505f Whitespaces [#METR-2807]. 2016-07-30 08:03:20 +03:00
Alexey Milovidov
6d6c22f92e Allow to start under thread sanitizer [#METR-2944]. 2016-07-30 07:44:04 +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
ea734b6bee Removed compatibility layer with OLAPServer [#METR-2944]. 2016-07-30 04:08:00 +03:00
Alexey Milovidov
1c4293eb99 Fixed error with 'array' function [#METR-22188]. 2016-07-26 20:20:43 +03:00
Alexey Arno
18340adbe8 dbms: better [#METR-19266] 2016-07-26 15:58:51 +03:00
Alexey Arno
44aa30fedf dbms: better [#METR-19266] 2016-07-26 12:18:28 +03:00
Alexey Milovidov
e1411af2ed Fixed error with external sorting when constants are present [#METR-21787]. 2016-07-25 23:57:05 +03:00
Alexey Arno
2514b2a04c dbms: simplifications, improvements, post-testing fixes. Unfinished, so do not pay attention to this commit. [#METR-19266] 2016-07-25 21:26:45 +03:00
Alexey Arno
022645e7ac dbms: better [#METR-19266] 2016-07-25 00:43:37 +03:00
Alexey Arno
1055c10621 dbms: fixes [#METR-19266] 2016-07-25 00:34:09 +03:00
Alexey Milovidov
9d1a720d90 Fixed error with assumed monotonicity of integer conversion functions [#METR-2944]. 2016-07-24 02:02:14 +03:00
Alexey Milovidov
46694bbf84 Added missing file [#METR-2944]. 2016-07-23 23:54:22 +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 Arno
beeeb0ab13 dbms: NULL support for MergeTree [#METR-19266] 2016-07-21 19:22:24 +03:00
Alexey Milovidov
1ef87202f6 Rectifications of JOINs: development [#METR-2944]. 2016-07-21 18:48:11 +03:00
Alexey Arno
252d7994e7 dbms: cleanup [#METR-19266] 2016-07-19 13:57:57 +03:00
Alexey Arno
5de99bda9c dbms: Added IS NULL/IS NOT NULL [#METR-19266] 2016-07-18 19:12:29 +03:00
Alexey Milovidov
9f9be1b7fc Rectification of JOINs [#METR-2944]. 2016-07-18 04:20:53 +03:00
Alexey Milovidov
40ae51e7b3 Rectifying JOINs [#METR-2944]. 2016-07-18 03:14:24 +03:00
Alexey Milovidov
3d4aaf1a33 JOINs rectification: development [#METR-2944]. 2016-07-17 23:10:50 +03:00
Alexey Milovidov
e66ba2e1d8 Fixed error with aggregate function anyHeavy [#METR-21691]. 2016-07-17 20:06:19 +03:00
Alexey Arno
d0d1ad3be1 dbms: improvements [#METR-19266] 2016-07-14 15:58:30 +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 Arno
fa9829ad85 dbms: removed unused code [#METR-19266] 2016-07-13 19:49:06 +03:00
Alexey Arno
69948c5865 dbms: added support for null values in StorageLog + fixed long-standing bug in StorageLog (if we called the ClickHouseClient with max_threads=1, SELECT threw an exception if a table was empty) [#METR-19266] 2016-07-13 19:41:19 +03:00
Alexey Arno
6d753f05e6 dbms: adding support for nulls in the Log engine [#METR-19266] 2016-07-12 21:08:16 +03:00
Alexey Arno
3e479c375c dbms: simpler [#METR-19266] 2016-07-12 17:58:54 +03:00
Alexey Arno
7e2f0d22cc dbms: aggregate function support [#METR-19266] 2016-07-12 16:07:39 +03:00
Alexey Arno
13b4a5bd4a dbms: aggregate function support [#METR-19266] 2016-07-12 16:02:52 +03:00
Alexey Arno
68c50de457 dbms: simpler [#METR-19266] 2016-07-11 19:41:57 +03:00
Alexey Arno
72576afb84 dbms: simpler [#METR-19266] 2016-07-11 19:37:44 +03:00
Alexey Arno
9c9b23b22e dbms: simpler [#METR-19266] 2016-07-11 17:54:46 +03:00
Alexey Arno
2fe9d36f39 dbms: compilation fix [#METR-19266] 2016-07-11 13:29:42 +03:00
Alexey Arno
dcbe183d41 dbms: merged with master [#METR-19266] 2016-07-11 13:09:16 +03:00
Alexey Milovidov
d4c364afa9 Tiny modifications [#METR-22035]. 2016-07-10 20:19:35 +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
e4c62935c3 Merge pull request #49 from yandex/METR-18844
Metr 18844
2016-07-10 12:43:19 +03:00
Alexey Milovidov
003d63023b Fixed error [#METR-18149]. 2016-07-10 10:24:24 +03:00
Alexey Milovidov
b10177ed69 Additions [#METR-18149]. 2016-07-10 08:50:09 +03:00
Alexey Milovidov
402a4933e3 Fixed errors with tuples [#METR-18149]. 2016-07-10 07:09:59 +03:00
Alexey Milovidov
9208a72b5a Working out tuples [#METR-18149]. 2016-07-10 05:51:13 +03:00
Alexey Milovidov
e6e6953bf3 Miscellaneous modifications [#METR-2944]. 2016-07-10 05:33:50 +03:00
Alexey Milovidov
df7215487a Fixed error [#METR-18149]. 2016-07-10 05:14:23 +03:00
Alexey Milovidov
03ed8fc58e Addition to prev. revision [#METR-2944]. 2016-07-10 02:40:15 +03:00
Alexey Milovidov
3a6208c6d0 Translated few comments [#METR-2944]. 2016-07-10 02:37:29 +03:00
Alexey Milovidov
f08a5aba80 Improved performance of array function for non-constant arguments [#METR-22034]. 2016-07-09 09:33:44 +03:00
Alexey Milovidov
8af48d9dfc Partially fixed bad code [#METR-22034]. 2016-07-09 08:11:54 +03:00
Alexey Milovidov
e1181f2175 Added support for arbitary nested type of arrays for function has [#METR-18149]. 2016-07-09 07:39:57 +03:00
Alexey Milovidov
27360b8166 Added support for tuple arguments of function if [#METR-22033]. 2016-07-09 06:54:57 +03:00
Alexey Milovidov
943c056b02 Better [#METR-22032]. 2016-07-09 02:47:58 +03:00
Alexey Milovidov
33d324b8d6 Probably fixed error [#METR-22032]. 2016-07-09 00:47:54 +03:00
Alexey Milovidov
777f6bd05c Added miscellaneous function 'rowNumberInAllBlocks' [#METR-21993]. 2016-07-09 00:46:18 +03:00
Alexey Arno
2201ad84ff dbms: merged with master [#METR-19266] 2016-07-08 19:52:26 +03:00
Alexey Arno
a2e3c88dee dbms: Server: Fixes. Fix for PODArray::swap(). [#METR-18844] 2016-07-08 19:08:32 +03:00
Alexey Arno
b1079964da dbms: Server: Fixes. Fix for PODArray::swap(). [#METR-18844] 2016-07-08 18:30:57 +03:00
Alexey Arno
be56cabd51 dbms: Server: Fixes. Fix for PODArray::swap(). [#METR-18844] 2016-07-08 18:10:47 +03:00
Alexey Arno
7d4691c271 dbms: Server: Fixes. Fix for PODArray::swap(). [#METR-18844] 2016-07-08 17:53:00 +03:00
Alexey Milovidov
3b34b0a84c Addition to prev. revision [#METR-22008]. 2016-07-08 07:22:23 +03:00
Alexey Milovidov
ea0b6b3669 Implemented function arrayElement for generic case; partially removed bad code [#METR-22008]. 2016-07-08 07:16:30 +03:00
Alexey Arno
9725ce95d0 dbms: Server: Fixes. Fix for PODArray::swap() in progress. [#METR-18844] 2016-07-08 01:49:38 +03:00
Alexey Arno
f30a954526 dbms: Server: in PODArray, fixed move constructor, move operator, and swap method when using AllocatorWithStackMemory. [#METR-18844] 2016-07-07 20:57:49 +03:00
Alexey Arno
e3dcf89f2d dbms: Server: in PODArray, fixed move constructor, move operator, and swap method when using AllocatorWithStackMemory. [#METR-18844] 2016-07-07 20:57:03 +03:00
Alexey Arno
078924ea13 dbms: Server: in PODArray, fixed move constructor, move operator, and swap method when using AllocatorWithStackMemory. [#METR-18844] 2016-07-07 19:59:01 +03:00
Alexey Arno
aa41a18fc5 dbms: Server: in PODArray, fixed move constructor, move operator, and swap method when using AllocatorWithStackMemory. [#METR-18844] 2016-07-07 19:56:49 +03:00
Alexey Arno
fdfba69a46 dbms: Server: Merged with master. [#METR-18844] 2016-07-07 19:44:05 +03:00
Alexey Arno
7429d4e96c dbms: Server: Feature development. [#METR-19266] 2016-07-07 13:33:12 +03:00
Alexey Milovidov
c2929666fd Fixed error [#METR-21877]. 2016-07-07 04:57:48 +03:00
Alexey Milovidov
77f178e046 Squashing transforms: development [#METR-21877]. 2016-07-07 00:50:16 +03:00
Alexey Milovidov
5f81c096f6 Squashing transforms: development [#METR-21877]. 2016-07-07 00:48:11 +03:00
Alexey Milovidov
f304053832 Added support for little more escape sequences (while parsing) [#METR-21995]. 2016-07-06 22:20:22 +03:00
Alexey Arno
93ac3ee3a8 dbms: Server: Feature development. [#METR-19266] 2016-07-06 18:15:15 +03:00
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 Arno
8af30aee93 dbms: Server: Feature development. [#METR-19266] 2016-07-05 19:39:42 +03:00
Alexey Arno
b036aa6482 dbms: Server: Feature development. [#METR-19266] 2016-07-05 19:38:47 +03:00
Alexey Arno
582b8fb555 dbms: Server: Feature development. [#METR-19266] 2016-07-05 19:23:37 +03:00
Alexey Arno
09ec76ebb2 dbms: Server: Fixed bug. Currently the move constructor and assignement operator of PODArray behave incorrectly if used with AllocatorWithStackMemory. Anyway here no move operation is needed to achieve what we want to do. [#METR-18844] 2016-07-04 20:31:51 +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
fe216b7338 Fixed error when libcpuid reports zero number of CPU cores [#METR-21926]. 2016-06-30 23:35:07 +03:00
alexey-milovidov
ee32e47073 Revert "dbms: Server: Use PODArray instead of std::vector in sequenceMatch/Co…" 2016-06-30 22:44:01 +04:00
Alexey Arno
6c3d36d616 dbms: Server: Renaming [#METR-18844] 2016-06-30 19:56:13 +03:00
Alexey Arno
d537ad38c8 dbms: Server: Added missing tweaks [#METR-18844] 2016-06-30 19:43:22 +03:00
Alexey Arno
86f14711cc dbms: Server: Use PODArray instead of std::vector in sequenceMatch/Count functions implementation [#METR-18844] 2016-06-30 19:31:48 +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
68f0bd03db Fixed error with parsing bad arrays [#METR-21885]. 2016-06-28 23:45:28 +03:00
Alexey Milovidov
aafe85e474 Modified comment [#METR-21691]. 2016-06-28 21:00:04 +03:00
Alexey Milovidov
b408afa74f Added 'anyHeavy' aggregate function [#METR-21691]. 2016-06-26 15:48:04 +03:00
Alexey Milovidov
f8b4ade0ec Added 'stacktrace' parameter for HTTP interface (0, don't output stack trace by default) [#METR-21846]. 2016-06-25 10:22:12 +03:00
Alexey Milovidov
df438a5a47 Little better [#METR-2944]. 2016-06-25 07:29:09 +03:00
Alexey Milovidov
d9b8b74180 Added setting 'log_queries_cut_to_length' [#METR-21843]. 2016-06-25 06:21:01 +03:00
Alexey Milovidov
9b5c2eec0d Merge branch 'master' of github.com:yandex/ClickHouse 2016-06-24 01:28:38 +03:00
Alexey Milovidov
71ecca56d0 Fixed comment [#METR-2944]. 2016-06-24 01:28:15 +03:00
Alexey Milovidov
df538babc8 Text formats: detecting and skipping UTF-8 BOM when possible [#METR-21817]. 2016-06-23 22:39:20 +03:00
Alexey Milovidov
09cf24cd13 Fixed error with ColumnAggregateFunction and LIMIT [#METR-2944]. 2016-06-22 00:42:57 +03:00
Pavel Kartavyy
ff03239b31 dbms:ColumnVector: add get method 2016-06-21 14:32:08 +03:00
Alexey Milovidov
b8adf2c906 Updated comments [#METR-2944]. 2016-06-19 00:08:35 +03:00
Vladimir Chebotarev
8a65c867f7 dbms: Fixed build with QuickLZ. [#METR-19660] 2016-06-16 18:56:36 +03:00
Pavel Kartavyy
a380ebe0ad dbms: fix build 2016-06-16 15:14:06 +03:00
Alexey Milovidov
ffb1672f68 Added missing header (fixed build on gcc 5.4, tnx. kmeaw) [#METR-20000]. 2016-06-15 15:43:36 +03:00
Alexey Milovidov
6188c018e5 Updating documentation [#METR-21710]. 2016-06-14 21:32:07 +03:00
Pavel Kartavyy
49318b6cc5 ConcurrentBoundedQueue: fix check 2016-06-14 14:45:40 +03:00
Pavel Kartavyy
f258de68a8 ConcurrentBoundedQueue: fix creating of invalid object if exception in move ctor happens [#METR-19530] 2016-06-14 14:45:40 +03:00
Pavel Kartavyy
37614c5637 fix build after merge 2016-06-14 14:45:39 +03:00
Pavel Kartavyy
2e67346026 logbroker-import: fix build [#METR-19530]
fix build
2016-06-14 14:44:33 +03:00
Pavel Kartavyy
4d79e0af81 dbms::ConcurentBoundedQueue: use move semantics [#METR-19530] 2016-06-14 14:44:27 +03:00
Pavel Kartavyy
0d103894a1 ConcurrentBoundedQueue: add emplace 2016-06-14 14:44:26 +03:00
Alexey Milovidov
9485e493d1 Fixed memory leak in function quantileTiming [#METR-21614]. 2016-06-11 17:27:54 +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
abbb80ddd9 Modifications for address sanitizer [#METR-2944]. 2016-06-10 21:58:04 +03:00
Alexey Milovidov
103dfb39cc Fixed error [#METR-21651]. 2016-06-09 07:54:30 +03:00
Alexey Milovidov
59253f689b Tiny modifications [#METR-21651]. 2016-06-09 07:37:21 +03:00
Pavel Kartavyy
b5a04e3588 Client:Connection: move methods to cpp 2016-06-08 17:39:49 +03:00
Pavel Kartavyy
21c23ee3ac fix constness 2016-06-08 17:39:30 +03:00
Alexey Milovidov
3ecfca51ba Splitted dictionaries to separate translation units [#METR-21527]. 2016-06-08 00:07:44 +03:00
Alexey Milovidov
3a668313b8 Added implicit conversion to covering type for functions dictGetT [#METR-21527]. 2016-06-07 22:11:04 +03:00
Alexey Milovidov
e8ffd48e49 Loosen safety threshold on amount of ALTER changes [#METR-21615]. 2016-06-06 22:50:30 +03:00
Alexey Milovidov
168ca22435 Fixed error when too long merges cannot be successful [#METR-21616]. 2016-06-06 22:16:34 +03:00
Alexey Milovidov
3e60a95cdd Allowed subqueries in views [#METR-21586]. 2016-06-06 21:19:28 +03:00
Vladimir Chebotarev
70feb3fdfd dbms: Moved some methods to cpp. [#METR-21516] 2016-06-05 18:21:35 +03:00
Vladimir Chebotarev
39c2c0f5a5 dbms, contrib: Clang 3.8 build fixes. [#METR-21516] 2016-05-31 14:06:27 +03:00
Alexey Milovidov
87f612345e Fixed error [#METR-21408]. 2016-05-31 04:04:34 +03:00
Alexey Milovidov
7ee0a8d698 Better [#METR-2944]. 2016-05-31 02:43:00 +03:00
Alexey Milovidov
1d7506d0dc Fixed error with uninitialized memory [#METR-2944]. 2016-05-31 02:42:07 +03:00
Alexey Milovidov
e7a5ce1f83 Merge branch 'master' of github.com:yandex/ClickHouse 2016-05-31 00:41:58 +03:00
Alexey Milovidov
e37087de66 Better [#METR-20000]. 2016-05-31 00:41:41 +03:00
Alexey Milovidov
05f8e57777 Removed useless code [#METR-20000]. 2016-05-31 00:14:53 +03:00
Alexey Milovidov
c2276a3654 Fixed build on clang [#METR-20000]. 2016-05-30 23:54:39 +03:00
Alexey Milovidov
7651dcbc0a Fixed error after moving to non-recursive mutex [#METR-21503]. 2016-05-30 04:16:22 +03:00
Vladimir Chebotarev
42e6374087 dbms: Build fix. [#METR-21516] 2016-05-29 04:36:19 +03:00
Vladimir Chebotarev
fddc034b46 dbms: Minor improvement. [#METR-21516] 2016-05-29 03:07:29 +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
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
6a51b999da Using std::shared_ptr for functions and AST [#METR-21503]. 2016-05-28 18:50:16 +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
92917ab043 Using std::shared_ptr for data types [#METR-21503]. 2016-05-28 17:33:38 +03:00
Alexey Milovidov
0d51b4e3c8 Using std::shared_ptr for data types [#METR-21503]. 2016-05-28 17:21:16 +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
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
86a77fbb6e Using std::shared_ptr for data types [#METR-21503]. 2016-05-28 13:29:17 +03:00
Alexey Milovidov
6863e72f3d Using std::shared_ptr for data types [#METR-21503]. 2016-05-28 13:15:36 +03:00
Alexey Milovidov
f9b2cd5ab6 Using std::shared_ptr for data types [#METR-21503]. 2016-05-28 11:23:36 +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
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
Alexey Milovidov
2403636033 Preparation [#METR-21503]. 2016-05-28 03:14:10 +03:00
Alexey Milovidov
b5a0f02c5c Merge branch 'master' of github.yandex-team.ru:Metrika/ClickHouse 2016-05-27 23:23:15 +03:00
Vladimir Chebotarev
aaf1588b7f cmake, dbms: Fixes for Xenial Xerus [#METR-20000] 2016-05-27 23:19:37 +03:00
Alexey Milovidov
1817cdd326 Improved performance of merge [#METR-21503]. 2016-05-27 04:31:47 +03:00
Alexey Milovidov
f2ccbc9802 Better exception message [#METR-21479]. 2016-05-26 00:35:57 +03:00
Vladimir Chebotarev
c1181c7ed3 dbms: Moved toInteger<>() implementation to cpp. [#METR-XXXXX] 2016-05-24 22:01:17 +03:00
Alexey Milovidov
a5397d0382 Fixed error [#METR-21408]. 2016-05-24 21:22:15 +03:00
Alexey Milovidov
71889751d7 Better [#METR-20000]. 2016-05-23 03:51:13 +03:00
Vladimir Chebotarev
866c8929e2 dbms, contrib: GCC 6 build fixes [#METR-20000] 2016-05-23 03:41:26 +03:00
Alexey Milovidov
bd734cd1b4 Allowed to disable MongoDB dictionary source at build time [#METR-20000]. 2016-05-22 03:54:26 +03:00
Alexey Milovidov
77e520e993 Addition [#METR-21408]. 2016-05-21 00:37:30 +03:00
Alexey Milovidov
7adfb230ff Second attempt [#METR-21408]. 2016-05-20 23:43:07 +03:00
Alexey Milovidov
7f4d8d15cd Attempt to fix suboptimal performance when running query with ORDER BY and without GROUP BY to distributed table with very many remote servers [#METR-21408]. 2016-05-20 23:30:53 +03:00
Alexey Milovidov
aae7269dd0 Revert "Attempt to fix suboptimal performance when running query with ORDER BY and without GROUP BY to distributed table with very many remote servers [#METR-21408]."
This reverts commit bd47aaeefe38a1c55ed5a225cbda49db0f8ce1dc.
2016-05-20 23:27:04 +03:00
Alexey Milovidov
b7a05d0608 Attempt to fix suboptimal performance when running query with ORDER BY and without GROUP BY to distributed table with very many remote servers [#METR-21408]. 2016-05-20 23:01:34 +03:00
Alexey Milovidov
92ca4ab538 Investigating [#METR-21326]. 2016-05-19 23:24:41 +03:00
Alexey Milovidov
b5c1280fbc Changed version to 1.1 (fully compatible with 0.0) [#METR-20000]. 2016-05-18 17:15:54 +03:00
Alexey Milovidov
ab04e6f5be Added miscellaneous function blockNumber [#METR-21347]. 2016-05-17 21:25:47 +03:00
Alexey Milovidov
d680a7f8da Alter primary key: development [#METR-21119]. 2016-05-17 04:17:32 +03:00
Alexey Milovidov
bf265e264a Alter primary key: development [#METR-21119]. 2016-05-17 02:04:03 +03:00
Alexey Milovidov
161e1c3ace Merge 2016-05-16 21:52:55 +03:00
Alexey Milovidov
aeb57a512e Removed wrong addition [#METR-21326]. 2016-05-16 21:52:24 +03:00
Alexey Milovidov
2f1fead382 Merge 2016-05-16 21:47:34 +03:00
Alexey Milovidov
093f69c45d Added support for FINAL and PARTITION specification for OPTIMIZE query [#METR-21326]. 2016-05-16 21:43:38 +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
834f6904a4 Fixed typo [#METR-2944]. 2016-05-12 23:43:51 +03:00
Alexey Arno
4847589a5d dbms: Server: Performance optimization. [#METR-19697] 2016-05-05 23:59:03 +03:00
Alexey Milovidov
eea75db9fb Modify primary key: development [#METR-21119]. 2016-05-05 21:28:46 +03:00
Alexey Arno
ffef681bf4 Merge 2016-05-05 15:00:14 +03:00
Alexey Milovidov
70273d65f6 Better diagnostics [#METR-21183]. 2016-05-04 21:04:36 +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 Milovidov
e344f3275b Merge 2016-04-24 22:46:37 +03:00
Alexey Milovidov
07f04d70d3 Merge 2016-04-24 12:44:47 +03:00
Alexey Milovidov
73fd006e12 Merge 2016-04-24 09:05:41 +03:00
Alexey Milovidov
55b580f882 More profile events [#METR-2944]. 2016-04-23 05:39:40 +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 Milovidov
c6722da2b2 Merge 2016-04-19 00:38:06 +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
2bb5a4749b Merge 2016-04-15 22:09:42 +03:00
Alexey Milovidov
3923c7abce Merge 2016-04-15 20:42:51 +03:00
Alexey Milovidov
d79174b2ce Preparation [#METR-20644]. 2016-04-15 20:13:51 +03:00
Alexey Milovidov
bde00e80cc Added missing modifications [#METR-20892]. 2016-04-15 19:07:58 +03:00
Alexey Milovidov
0611e45ac9 Little better [#METR-20892]. 2016-04-15 06:57:38 +03:00
Alexey Milovidov
44544eda2a Improvement [#METR-20892]. 2016-04-15 06:05:18 +03:00
Alexey Milovidov
f5359cbdeb Fixed error [#METR-20892]. 2016-04-15 05:53:53 +03:00
Alexey Milovidov
5afa69c5f8 Further [#METR-20892]. 2016-04-15 05:32:52 +03:00
Alexey Milovidov
afec861029 Improved performance of reading String column [#METR-20892]. 2016-04-15 05:28:56 +03:00
Alexey Milovidov
fade06af59 Partially reverted [#METR-20892]. 2016-04-15 04:48:29 +03:00
Alexey Milovidov
f7c09d58a5 Attempt to improve performance [#METR-20892]. 2016-04-15 03:33:21 +03:00
Alexey Milovidov
745badfff9 PaddedPODArray: development (incomplete) [#METR-20892]. 2016-04-15 00:44:12 +03:00
Alexey Milovidov
9c9ef5534c PaddedPODArray: development [#METR-20892]. 2016-04-15 00:26:06 +03:00
Alexey Milovidov
1d2c603ecf Fixed errors [#METR-12588]. 2016-04-14 08:03:33 +03:00
Alexey Milovidov
e4bb35e6e1 Added missing support for hashing Enums [#METR-20890]. 2016-04-14 00:35:46 +03:00
Alexey Milovidov
b664f367d8 Improved Summing/Aggregating streams [#METR-12588]. 2016-04-14 00:15:36 +03:00
Alexey Milovidov
054df259cd Improvement (tnx. af-arno) [#METR-2944]. 2016-04-13 23:46:36 +03:00
Alexey Milovidov
49cf0f148c Better [#METR-12588]. 2016-04-13 07:15:30 +03:00
Alexey Milovidov
edc1bb39c7 Merge 2016-04-13 06:56:22 +03:00
Alexey Milovidov
7301154faf Fixed error in function quantilesTiming [#METR-20821]. 2016-04-11 20:52:20 +03:00
Alexey Milovidov
830b55bdc6 ODBC dictionary source: development [#METR-19470]. 2016-04-10 14:08:04 +03:00
Alexey Milovidov
83318889e9 ODBC source for external dictionaries: development [#METR-19470]. 2016-04-10 13:24:07 +03:00
Alexey Milovidov
348594ffbe Added ODBC external dictionary source [#METR-19470]. 2016-04-10 07:00:00 +03:00
Alexey Milovidov
3688c2270f Preparation [#METR-19470]. 2016-04-10 05:47:29 +03:00
Alexey Milovidov
0bcccb720f Preparation [#METR-19470]. 2016-04-10 05:32:59 +03:00
Alexey Milovidov
54d1ce01a6 Preparation [#METR-19470]. 2016-04-10 05:29:45 +03:00
Alexey Milovidov
42cb486bc1 Added setting 'http_native_compression_disable_checksumming_on_decompress' [#METR-20784]. 2016-04-10 02:24:38 +03:00
Alexey Milovidov
f538e81c98 Added 'uptime' function [#METR-20819]. 2016-04-09 10:47:08 +03:00
Alexey Milovidov
0b7a474beb Better exception message [#METR-20817]. 2016-04-09 08:45:42 +03:00
Alexey Milovidov
2a85a1d266 Added setting 'replicated_alter_columns_timeout' [#METR-20816]. 2016-04-09 08:43:55 +03:00
Alexey Milovidov
11df87ea54 Merge 2016-04-09 07:22:11 +03:00
Alexey Milovidov
d0365e9501 Separated code for checking parts [#METR-20803]. 2016-04-09 06:50:02 +03:00
Alexey Milovidov
31ed033fbb Fixed leader election in completely different way to allow many replicas in single ClickHouse instance (that is used in tests) [#METR-20132]. 2016-04-09 05:03:44 +03:00
Alexey Milovidov
f0844ecb66 Attempt to fix an error [#METR-20803]. 2016-04-08 00:35:01 +03:00
Alexey Milovidov
3973277936 Allowed to modify 'max_files_to_modify_in_alter_columns' [#METR-20763]. 2016-04-05 21:18:16 +03:00
Alexey Milovidov
57563193e4 Cloud databases: development [#METR-19998]. 2016-04-05 18:05:45 +03:00
Alexey Milovidov
6e75a1d1c0 Cloud databases: development [#METR-19998]. 2016-04-05 00:41:16 +03:00
Alexey Milovidov
e6489d5ea6 Tiny modification [#METR-2944]. 2016-04-04 23:08:13 +03:00
Alexey Milovidov
91dae9787a Added support for BETWEEN operator [#METR-20707]. 2016-04-03 04:15:53 +03:00
Alexey Milovidov
eb5d905600 Added support for using index for LIKE expressions with fixed prefix [#METR-20706]. 2016-04-03 00:19:58 +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 Milovidov
e1a80f5ded Added support for case when merged data differs from data on another replicas [#METR-20670]. 2016-03-31 04:25:16 +03:00
Alexey Milovidov
2501af25e8 Cancelling checking parts on shutdown [#METR-20660]. 2016-03-31 03:09:12 +03:00
Alexey Milovidov
10e325574c Disabled usage of vectorclass library [#METR-20000]. 2016-03-30 23:27:32 +03:00
Alexey Milovidov
4b5e96b893 Check for broken part in case of exception in one more place (for example, when part are completely removed from filesystem by manual intervention) [#METR-20670]. 2016-03-30 22:59:43 +03:00
Alexey Milovidov
2a5f86b890 Using maximum one connection to external source when updating cache dictionary [#METR-19576]. 2016-03-30 22:03:25 +03:00
Alexey Milovidov
a2e7b7c904 Addition to prev. revision [#METR-19997]. 2016-03-30 22:01:33 +03:00
Alexey Milovidov
04875a022a Removed code for freezing partitions due to unacceptable implementation [#METR-20656]. 2016-03-29 22:39:44 +03:00
Alexey Milovidov
f7b8709885 Fixed error (after update of Poco) with local replicas optimization [#METR-20654]. 2016-03-29 20:51:07 +03:00
Alexey Arno
e376b337f8 dbms: Removed obsolete files. [#METR-18510] 2016-03-29 19:30:28 +03:00
Alexey Arno
21ff6d9f94 dbms: Comment updates. Naming simplfications. Use better hashing. [#METR-18510] 2016-03-29 19:29:39 +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
86617c8339 Cloud databases: development [#METR-19998]. 2016-03-28 14:19:51 +03:00
Alexey Milovidov
5c2f335cc0 Cloud databases: development [#METR-19998]. 2016-03-28 14:19:14 +03:00
Alexey Milovidov
53d13330df Set 'merge_tree_min_rows_for_seek' to 0, because higher values are not better [#METR-20607]. 2016-03-27 15:52:13 +03:00
Alexey Milovidov
6158f550d1 Addition to prev. revision; added test [#METR-20607]. 2016-03-27 15:50:49 +03:00
Alexey Milovidov
702876f9f0 Fixed suboptimal index usage in point queries [#METR-20607]. 2016-03-27 14:37:25 +03:00
Alexey Milovidov
fc99c6a3ae DatabaseCloud: development [#METR-19998]. 2016-03-26 07:44:49 +03:00
Alexey Milovidov
e8f2afe899 DatabaseCloud: development [#METR-19998]. 2016-03-26 07:13:15 +03:00
Alexey Milovidov
ccc3737576 DatabaseCloud: development [#METR-19998]. 2016-03-26 06:03:50 +03:00
Alexey Arno
776a0e3041 dbms: Improved fault tolerance with regards to ZooKeeper. [#METR-18510] 2016-03-25 15:21:10 +03:00
Alexey Arno
32a38485e6 Merge 2016-03-25 14:48:45 +03:00
Alexey Milovidov
6ecd7ebf93 Cloud databases: development [#METR-19998]. 2016-03-24 00:36:47 +03:00
Alexey Milovidov
43d323013c Fixed error [#METR-19997]. 2016-03-23 00:26:13 +03:00
Alexey Milovidov
288fb9dcdf Less wrong [#METR-19997]. 2016-03-22 02:46:24 +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
a0de151a9f Merge 2016-03-22 00:31:49 +03:00
Alexey Milovidov
b6f1352bcc FunctionsRounding: fixed error (tnx. af-arno) [#METR-20540]. 2016-03-21 23:44:30 +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 Milovidov
073c0de63e Database engines: development [#METR-19997]. 2016-03-19 04:06:36 +03:00
Alexey Milovidov
ad1ac0d8df Database engines: development [#METR-19997]. 2016-03-19 03:44:37 +03:00
Alexey Milovidov
d87e4e0267 Database engines: development [#METR-19997]. 2016-03-19 00:33:59 +03:00
Alexey Milovidov
a8d9f06fed Database engines: development [#METR-19997]. 2016-03-18 03:22:59 +03:00
Alexey Milovidov
e405368d9c Database engines: development [#METR-19997]. 2016-03-18 01:02:40 +03:00
Alexey Milovidov
caaf7002f5 Database engines: development [#METR-19997]. 2016-03-17 23:23:40 +03:00
Alexey Milovidov
4c7b2a0412 Database engines: development [#METR-19997]. 2016-03-17 20:29:07 +03:00
Roman Peshkurov
b05268555c Merge 2016-03-17 15:57:07 +03:00
Alexey Milovidov
9838d6af73 Database engines: development [#METR-19997]. 2016-03-17 01:30:23 +03:00
Alexey Milovidov
de78aa62da Database engines: development [#METR-19997]. 2016-03-16 21:55:31 +03:00
Alexey Milovidov
c60d5116c5 Database engines: development [#METR-19997]. 2016-03-16 08:00:58 +03:00
Alexey Milovidov
0ce482c4d5 Database engines: development [#METR-19997]. 2016-03-16 06:51:10 +03:00
Alexey Milovidov
0f7054ab63 Reverted erroneous modification [#METR-19997]. 2016-03-16 06:02:20 +03:00
Alexey Milovidov
9dc7b7ef03 Database engines: development [#METR-19997]. 2016-03-16 00:41:34 +03:00
Alexey Milovidov
ca91b2020d Database engines: development [#METR-19997]. 2016-03-15 00:41:48 +03:00
Alexey Arno
df0667e738 dbms: Fixed subtle bug: when updating a ParserSelectQuery structure, the children field was left untouched. [#METR-20736] 2016-03-14 17:59:21 +03:00
Alexey Milovidov
d06a5906bf Quantiles: better [#METR-20381]. 2016-03-13 22:00:59 +03:00
Alexey Milovidov
1203a0a9c4 Fixed error [#METR-20381]. 2016-03-13 21:15:41 +03:00
Alexey Milovidov
745a29949e Updated comment [#METR-20381]. 2016-03-13 18:01:36 +03:00
Alexey Milovidov
bcd6875d6f Fixed off-by-one errors in aggregate functions quantileTiming and quantileExactWeighted [#METR-20381]. 2016-03-13 17:40:27 +03:00
Alexey Milovidov
a9b8677c26 Aggregate function quantileTiming: improved performance, lowered memory usage, lowered network traffic and improved precision [#METR-20359]. 2016-03-12 10:22:58 +03:00
Alexey Milovidov
261914bef7 Fixed error in comment [#METR-2944]. 2016-03-12 08:59:31 +03:00
Alexey Milovidov
c8d21e3674 Fixed informational size in bytes of ColumnAggregateFunction [#METR-20359]. 2016-03-12 08:25:55 +03:00
Alexey Milovidov
18016c4221 Merge 2016-03-12 07:01:03 +03:00
Alexey Milovidov
8b36994d88 Attempt to improve performance and memory usage of quantileTiming aggregate function [#METR-20359]. 2016-03-12 00:43:59 +03:00
Alexey Milovidov
ced97fc586 Lowered size of uncompressed serialized state of aggregate function quantileTiming about 20 times in average; improved performance of distributed queries [#METR-20359]. 2016-03-11 06:43:16 +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
bcd48f47e4 dbms: Fixed error message. [#METR-19416] 2016-03-10 17:58:31 +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
1fec35c80c Merge 2016-03-09 22:57:40 +03:00
Alexey Arno
75f31de790 dbms: Code cleanup. [#METR-18510] 2016-03-09 16:40:47 +03:00
Dmitry Galuza
82fb47739e ███████████: Step 1: Parse tags and store in separated columns [#METR-19071] 2016-03-09 15:31:20 +03:00
Alexey Arno
e9718711d0 dbms: Code cleanup. [#METR-18510] 2016-03-08 18:38:06 +03:00
Alexey Arno
0f35ecc357 dbms: Code cleanup. [#METR-18510] 2016-03-08 16:46:00 +03:00
Alexey Milovidov
268ff3381a Updated zstd [#METR-20309]. 2016-03-07 12:52:53 +03:00
Alexey Milovidov
0e6a5df565 Fixing warnings on clang [#METR-2807]. 2016-03-07 09:25:36 +03:00
Alexey Milovidov
db574c87fb Fixing warnings on clang [#METR-2807]. 2016-03-07 09:24:36 +03:00
Alexey Milovidov
b335dfacba Fixing warnings on clang [#METR-2807]. 2016-03-07 09:18:06 +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
4576a90ba0 Fixing warnings on clang [#METR-2807]. 2016-03-07 08:05:42 +03:00
Alexey Milovidov
009070123e Fixing warnings on clang [#METR-2807]. 2016-03-07 07:56:19 +03:00
Alexey Milovidov
fcbe00ce94 Fixing warnings on clang [#METR-2807]. 2016-03-07 07:53:17 +03:00
Alexey Milovidov
a75b6ca3dd Fixing warnings on clang [#METR-2807]. 2016-03-07 07:43:14 +03:00
Alexey Milovidov
e2ef99e3b1 Fixing warnings on clang [#METR-2807]. 2016-03-07 07:36:54 +03:00
Alexey Milovidov
0a48e6296e Fixing warnings on clang [#METR-2807]. 2016-03-07 07:35:06 +03:00
Alexey Milovidov
30cba89be0 Fixing build on clang [#METR-2807]. 2016-03-07 07:31:10 +03:00
Alexey Milovidov
58fb3095d9 Fixed clean build [#METR-2944]. 2016-03-07 05:12:51 +03:00
Alexey Milovidov
f81aa67fc4 Preparation [#METR-20307]. 2016-03-07 04:08:01 +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 Arno
f5c520bde1 dbms: Improved locking. [#METR-18510] 2016-03-04 19:33:31 +03:00
Alexey Milovidov
42883fddc4 Added virtual column '_sample_factor' [#METR-20296]. 2016-03-04 07:54:10 +03:00
Alexey Milovidov
cd7b937342 Whitespaces [#METR-2944]. 2016-03-04 05:40:48 +03:00
Pavel Kartavyy
4e2a760474 Merge 2016-03-03 18:38:13 +03:00
Pavel Kartavyy
1f3cff5232 Merge 2016-03-03 18:21:44 +03:00
Alexey Arno
d21060c35b dbms: Locking performance and correctness improvements. [#METR-18510] 2016-03-03 17:37:15 +03:00
Alexey Milovidov
e29eb14b79 dbms: attempt to fix an error [#METR-20273]. 2016-03-03 07:30:36 +03:00
Alexey Milovidov
f84772a55e Merge 2016-03-03 04:55:17 +03:00
Alexey Milovidov
d38693267d dbms: fixed error with faster text formats [#METR-20081]. 2016-03-03 04:54:58 +03:00
Alexey Arno
514cf0fcba dbms: Code cleanup. [#METR-18510] 2016-03-02 17:12:04 +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
b5ac93cf0e Fixed segfault [#METR-20155]. 2016-02-25 05:37:31 +03:00
Dmitry Galuza
3dad6b6330 Add StringRef helper for WriteBuffer [#METR-19071] 2016-02-24 12:30:29 +03:00
Vladimir Chebotarev
f35f568595 dbms: Minor changes [METR-19308] 2016-02-24 10:53:04 +03:00
Alexey Milovidov
86a6884344 Merge 2016-02-23 06:21:44 +03:00
Alexey Milovidov
4c0b0e9c80 dbms: fixed error with function positionCaseInsensitiveUTF8 [#METR-20054]. 2016-02-23 06:20:48 +03:00
Vladimir Chebotarev
54b7ce5dad dbms: One more dirty hack to ensure the same size of CompressedWriteBuffer [METR-19308] 2016-02-22 00:58:08 +03:00
Alexey Milovidov
80fd8aa29b Merge 2016-02-21 23:08:41 +03:00
Alexey Milovidov
5ba1215b12 Updated comment [#METR-2944]. 2016-02-21 23:08:08 +03:00
Vladimir Chebotarev
6f0084c3a3 dbms: Dirty hack to ensure the same size of CompressedReadBufferBase [METR-19308] 2016-02-21 16:57:16 +03:00
Alexey Milovidov
aea710d430 Removed function groupUniqArray from Array argument [#METR-20150]. 2016-02-20 22:04:35 +03:00
Alexey Milovidov
a4cb6a3de9 Fixed error with groupUniqArray aggregate function of Array arguments [#METR-20150]. 2016-02-20 21:11:50 +03:00
Alexey Milovidov
9e81f3eea0 Added setting 'enable_http_compression' [#METR-20041]. 2016-02-19 22:02:20 +03:00
Alexey Milovidov
93c5ba2d4d Added support for unknown fields in TSKVRowInputStream [#METR-20081]. 2016-02-19 19:59:31 +03:00
Alexey Milovidov
799ccc739b Addition to prev. revision [#METR-20081]. 2016-02-18 14:45:32 +03:00
Alexey Milovidov
e8802db2c3 Added format JSONEachRow [#METR-20081]. 2016-02-18 14:44:50 +03:00
Alexey Milovidov
2f35f6a350 Added support for format TSKV for input [#METR-20081]. 2016-02-18 06:13:52 +03:00
Alexey Milovidov
313b0a58f5 Implemented TODO [#METR-2944]. 2016-02-17 05:38:56 +03:00
Alexey Milovidov
8b3afeb60d Squashed commit of the following:
commit f968e7e7f0d84c89fd26dea1d541bd9f6041d7c8
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date:   Tue Feb 16 06:11:29 2016 +0300

    Addition [#METR-2944].

commit 7524981fa7c4f22929dd5009444a0ae28500f620
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date:   Tue Feb 16 06:08:43 2016 +0300

    Fixed error (incomplete) [#METR-2944].

commit 2f1e7bf9f46cd9ce958ade9041c00ce067940fd2
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date:   Tue Feb 16 05:37:43 2016 +0300

    Improving performance of row formats [#METR-2944].

commit 9848910f235863c9571ef1ebe0d87d4929ee283c
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date:   Tue Feb 16 00:37:12 2016 +0300

    Improving performance of text formats [#METR-2944].

commit 3aedc7fd784af962e64ffdd10ec23ac53827d8e2
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date:   Tue Feb 16 00:18:00 2016 +0300

    Improving performance of row formats [#METR-2944].

commit cb5932c2b0385604477e69c8262dc31a4bb4b23b
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date:   Mon Feb 15 00:53:27 2016 +0300

    Fixed error.

commit 42863fd4eddeef594e846c598b92877b6ff86fa6
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date:   Sun Feb 14 23:13:46 2016 +0300

    Improving performance of row formats [#METR-2944].

commit 71c6fb19a85a79297433ceb486fdb97e551d964f
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date:   Sun Feb 14 16:58:56 2016 +0300

    Improving performance of row formats [#METR-2944].
2016-02-16 19:39:39 +03:00
Alexey Milovidov
415a1dc3ad Fixed error with gzip/deflate and empty response body [#METR-20041]. 2016-02-16 19:33:12 +03:00
Alexey Milovidov
bb122a2fa7 dbms: less locking while clearing old parts; better while loading parts [#METR-2944]. 2016-02-14 14:02:47 +03:00
Alexey Milovidov
4e86a71198 Addition [#METR-2944]. 2016-02-14 09:46:22 +03:00
Alexey Milovidov
5a78d4b0da Lowered size of index in memory (experimental) [#METR-2944]. 2016-02-14 08:43:03 +03:00
Alexey Milovidov
7a92c3cf1a Preparation [#METR-2944]. 2016-02-14 07:58:47 +03:00
Alexey Milovidov
ce3f881d7a Improved performance of WriteBufferValidUTF8 [#METR-20026]. 2016-02-14 07:07:55 +03:00
Alexey Milovidov
79814b090d Implemented format XML [#METR-20026]. 2016-02-14 06:06:26 +03:00
Alexey Milovidov
8efb3e5ade Initial implementation of XML output format [#METR-20026]. 2016-02-14 05:37:42 +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
6a2a082ea7 Added setting http_zlib_compression_level [#METR-20041]. 2016-02-12 05:26:04 +03:00
Alexey Milovidov
421d5a97ad Added support for HTTP compression [#METR-20041]. 2016-02-12 02:37:16 +03:00
Alexey Milovidov
c7d394f47e HTTP compression: development [#METR-20041]. 2016-02-12 00:40:51 +03:00
Alexey Milovidov
14c28ebf0d Updated comment [#METR-20000]. 2016-02-11 04:43:39 +03:00
Pavel Kartavyy
eca42536d8 dbms: renamed Revision to ClickHouseRevision. Daemon to BaseDaemon 2016-02-09 20:06:50 +03:00
Alexey Milovidov
dadadf1b37 dbms: CSV format: additions [#METR-19957]. 2016-02-07 13:43:02 +03:00
Alexey Milovidov
73994ebb08 dbms: fixed error; added tests [#METR-19957]. 2016-02-07 12:53:48 +03:00
Alexey Milovidov
43c73cf7ee dbms: added support for CSV format [#METR-19957]. 2016-02-07 11:42:21 +03:00
Alexey Milovidov
563e410b72 Moved threadpool library to contrib [#METR-17973]. 2016-02-05 08:07:39 +03:00
Alexey Milovidov
7725b8ef8b dbms: better [#METR-17973]. 2016-02-05 05:21:18 +03:00
Alexey Milovidov
b375b6c6e6 dbms: fixed comments [#METR-17973]. 2016-02-04 00:37:52 +03:00
Alexey Milovidov
abf49e937c dbms: disabled QuickLZ [#METR-17973]. 2016-02-04 00:16:19 +03:00
Alexey Milovidov
de080cac60 dbms: fixed error [#METR-19866]. 2016-02-03 04:24:12 +03:00
Alexey Milovidov
3519c3cea2 dbms: separated mysqlxx::Date and mysqlxx::DateTime [#METR-17973]. 2016-02-03 04:17:58 +03:00
Alexey Milovidov
48a1fe182d dbms: attempt to fix an error [#METR-19866]. 2016-02-03 00:30:27 +03:00
Alexey Milovidov
038a6278d5 dbms: fixed error with multiple INSERTs in StripeLog [#METR-19901]. 2016-02-02 23:33:03 +03:00
Alexey Arno
4605992fb3 dbms: Server: Bug fix. [#METR-19860] 2016-02-02 14:49:57 +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
a0e7a59ab1 dbms: fixing errors with ATTACHes [#METR-19399]. 2016-01-30 05:29:20 +03:00
Alexey Milovidov
f0a009bd70 dbms: attempt to fix an error [#METR-19399]. 2016-01-30 03:57:35 +03:00
Alexey Milovidov
061306d04b Merge 2016-01-29 05:24:50 +03:00
Alexey Milovidov
d5163b5060 Removed few old files [#METR-18510]. 2016-01-29 05:22:43 +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
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
5c90d7d45c Merge 2016-01-26 05:00:25 +03:00
Alexey Milovidov
085dd9f90a Merge 2016-01-26 04:56:42 +03:00
Alexey Milovidov
d29ae515a5 Merge 2016-01-26 04:39:05 +03:00
Alexey Arno
ae2f7c7613 Merge 2016-01-26 03:30:18 +03:00
Alexey Milovidov
869a521aed dbms: fixing error [#METR-19767]. 2016-01-26 00:40:13 +03:00
Alexey Milovidov
6d50fb4b44 dbms: fixed quorum inserts; improved performance of ordinary inserts [#METR-16779]. 2016-01-24 08:00:24 +03:00
Alexey Milovidov
409954428b dbms: using numeric constants while evaluating PKCondition [#METR-19758]. 2016-01-23 00:28:58 +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
30e559636d dbms: added support for global metrics: sending to graphite; added system.metrics table [#METR-19596]. 2016-01-21 00:32:01 +03:00
Alexey Milovidov
3f89d9e0f5 dbms: added profile event for yielding leadership [#METR-17573]. 2016-01-20 23:43:42 +03:00