Pavel Kartavyy
aac646ccfc
update after review
2016-11-16 18:52:35 +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
c6c94cbcef
Added missing modification [#METR-23505].
2016-11-16 09:15:38 +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
proller
099edebc28
wip
2016-11-16 03:34:57 +03:00
proller
8fec8e2ac4
simple get works
2016-11-16 02:55:45 +03:00
proller
60ec3506a9
wip
2016-11-16 01:05:49 +03:00
proller
593e3c26bf
initial
2016-11-15 22:51:06 +03:00
Alexey Zatelepin
e1bb33cad0
PR fixes:
...
* add forgotten const
* print exception string if switching to server timezone failed
* protocol compatibility with old versions
* use ALWAYS_INLINE in DateLUT.h
2016-11-15 10:24:55 +00:00
Alexey Milovidov
e7fccc4044
Modified backpressure method for MergeTree [#METR-23488].
2016-11-14 21:19:08 +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 Zatelepin
3a7260e200
[#METR-23447] Client uses server timezone for DateTime string parsing
2016-11-13 19:34:31 +00:00
Alexey Milovidov
bfdc262f87
Added comment [#METR-23472].
2016-11-13 05:25:03 +03:00
artpaul
e1cda4b760
move impl of common parsers to cpp
2016-11-12 22:55:40 +05:00
artpaul
b5ad7c021b
fix clang: remove unused variable
2016-11-12 21:03:44 +05:00
artpaul
1e34e7a15c
move some impl details of DistinctBlockInputStream to cpp
2016-11-11 02:24:40 +05:00
Vitaliy Lyudvichenko
bf924009b9
Added support of seekable files for StorageFile, more options for clickhouse-local. [#METR-23101]
2016-11-09 22:05:35 +03:00
Vitaliy Lyudvichenko
2242cfd6b0
Put DatabaseMemory class into separated file.
2016-11-09 22:05:35 +03:00
Vitaliy Lyudvichenko
d952dd39b0
Merged clickhouse-server and clickhouse-local into common app.
2016-11-09 22:05:35 +03:00
Vitaliy Lyudvichenko
48a3d25f99
Implemented tiny clickhouse-local app.
2016-11-09 22:03:47 +03:00
Vitaliy Lyudvichenko
cf24f6e2d1
Implemented draft version of clickhouse-local service.
2016-11-09 22:03:47 +03:00
Vitaliy Lyudvichenko
0e2eb5436b
Added StorageFile and template for clickhouse-local app.
2016-11-09 22:03:47 +03:00
Alexey Milovidov
34a9af27bf
Inreased default ALTERs safety threshold [#METR-2944].
2016-11-09 17:14:39 +03:00
Alexey Milovidov
efa056fc77
Attempt to improve merge selecting algorithm [#METR-21840].
2016-11-05 04:11:51 +03:00
Vladimir Chebotarev
e2ceb63c54
libcommon, libre2, tools: Fixed build under OS X Sierra. [#METR-21516]
2016-11-03 15:41:13 +03:00
Alexey Milovidov
5af20c3dd2
Fixed error with ColumnAggregateFunction [#METR-22971].
2016-11-02 00:06:41 +03:00
Alexey Milovidov
aaec9d1db6
Attempt for improvement [#METR-21840].
2016-11-01 22:20:24 +03:00
alexey-milovidov
d1f11af2c2
Merge pull request #151 from Civil/osx_compatibility
...
[WIP] Make it compilable on OS X
2016-11-01 21:09:48 +04: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
48f14be32b
RegionsHierarchy: fix for negative type [#METR-20000].
2016-11-01 17:55:58 +03:00
Alexey Milovidov
bdde1b05cc
Returned support of (ignored) negative region ids or parent region ids in regions embedded dictionaries [#MTRSADMIN-2425].
2016-11-01 15:57:58 +03:00
Alexey Milovidov
a3a8b49e80
MergeSelector: development [#METR-21841].
2016-11-01 14:26:36 +03:00
Alexey Milovidov
91dbf74ac0
MergeSelector: development [#METR-21841].
2016-11-01 11:38:55 +03:00
Alexey Milovidov
573a84c89a
MergeSelector: development [#METR-21841].
2016-10-31 22:45:22 +03:00
Alexey Milovidov
49602c44a9
MergeSelector: development [#METR-21841].
2016-10-31 22:32:08 +03:00
Alexey Milovidov
bee00bfcfc
MergeSelector: development [#METR-21841].
2016-10-30 14:05:45 +03:00
Alexey Milovidov
b7f635d8df
Merge selector: development [#METR-21840].
2016-10-30 12:13:30 +03:00
Alexey Milovidov
ba48688f25
MergeSelector: development [#METR-21840].
2016-10-30 11:15:55 +03:00
Alexey Milovidov
c5c63bdf5d
MergeSelector: development [#METR-21840].
2016-10-30 06:39:28 +03:00
Alexey Milovidov
3d48f9d34b
MergeSelector: development [#METR-21840].
2016-10-30 06:12:25 +03:00
Alexey Milovidov
e5539af681
Merge branch 'master' into merge-selector
2016-10-29 22:47:34 +03:00
Alexey Milovidov
ebbe877a70
Preparation [#METR-23332].
2016-10-29 20:13:35 +03:00
Alexey Milovidov
b5156a115d
Additions [#METR-21504].
2016-10-28 02:28:35 +03:00
Alexey Milovidov
74c3b30622
dbms: Simplified logic of selecting merges [#METR-21841].
2016-10-28 01:50:02 +03:00
Alexey Milovidov
f9eb536825
RegionsHierarchy: improvement [#METR-20000].
2016-10-27 20:53:47 +03:00
Alexey Milovidov
e9067a5f2d
Merge branch 'master' of github.com:yandex/ClickHouse
2016-10-27 20:48:32 +03:00
Alexey Milovidov
968bcb6f66
Preparation [#METR-2944].
2016-10-27 20:48:12 +03:00
alexey-milovidov
77e3d75ca0
Merge pull request #153 from ludv1x/METR-23285
...
Fixed segfaults in quantiles* functions with empty levels set.
2016-10-27 19:17:10 +04:00
Vitaliy Lyudvichenko
07f4bfc844
Fixed segfaults in quantiles* functions with empty levels set. [#METR-23285]
2016-10-27 17:51:43 +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
8be993bd1e
Preparation [#METR-2944].
2016-10-25 09:49:24 +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
15b369bd08
More instrumentation [#METR-23272].
2016-10-24 16:47:15 +03:00
Alexey Milovidov
2dd43be6e6
Don't hold shared_ptr to zookeeper for long time, because it makes very difficult to remove ephemeral nodes in case of temporary communication errors and thus breaks leader election [#METR-23272].
2016-10-24 15:34:08 +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
fefb714b76
Tiny modification [#METR-2944].
2016-10-24 06:07:58 +03:00
Alexey Milovidov
cac493d0a0
Addition to prev. revision [#METR-23237].
2016-10-24 05:06:52 +03:00
Alexey Milovidov
32eeb84992
Merge branch 'master' of github.com:yandex/ClickHouse
2016-10-24 05:03:22 +03:00
Alexey Milovidov
9af5ce1e3b
Separate compilation of ProfileEvents; comments [#METR-23237].
2016-10-24 05:02:37 +03:00
f1yegor
af01f6fdcc
translate config.xml and MergeTreeSettings.h
2016-10-23 22:13:10 +02:00
Alexey Milovidov
be84b78b93
Added actively updating metrics [#METR-23237].
2016-10-23 09:12:50 +03:00
Alexey Milovidov
f05fa7695a
Removed useless code [#METR-2944].
2016-10-23 08:37:45 +03:00
Alexey Milovidov
afcd933237
Probably better [#METR-23198].
2016-10-23 06:46:51 +03:00
Alexey Arno
a75cfb6df5
Merge branch 'master' into METR-19266 [#METR-19266]
2016-10-21 19:53:35 +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
c8cc8948d6
dbms: Server: fixes [#METR-19266]
2016-10-21 16:38:26 +03:00
Alexey Arno
ef2dd96ee4
dbms: Server: fixes [#METR-19266]
2016-10-21 16:14:41 +03:00
Alexey Milovidov
0a318a5f16
Comments [#METR-20000].
2016-10-21 03:19:49 +03:00
Alexey Arno
3792a9f302
dbms: Server: fixes [#METR-19266]
2016-10-20 13:13:07 +03:00
Alexey Milovidov
f373b500d4
Fixed error in 'firstSignificantSubdomain' function [#METR-20000].
2016-10-20 08:21:49 +03:00
Yuri Dyachenko
297a1547c5
more usable settings for delayed insert. issue: #METR-22563
2016-10-19 20:58:27 +03:00
Alexey Arno
924402f33e
dbms: Server: merged from master [#METR-19266]
2016-10-19 18:00:56 +03:00
Alexey Arno
b5ff08bce6
dbms: Server: semantic cleanup [#METR-19266]
2016-10-19 10:15:26 +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
e1099f47cb
dbms: Server: fix [#METR-19266]
2016-10-18 22:31:07 +03:00
Alexey Arno
abe75277a3
dbms: Server: cleanup [#METR-19266]
2016-10-18 20:04:07 +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
ff56176f4a
Fixed error in ALTER of MATERIALIZED VIEW's inner tables [#METR-22052].
2016-10-15 03:04:58 +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
alexey-milovidov
fad9272161
Merge pull request #137 from ludv1x/METR-22471
...
Fixed std::terminate on DROP of StorageReplicatedMergeTree
2016-10-14 23:28:39 +04:00
Vitaliy Lyudvichenko
a0760a4821
Added requested PR changes. [#METR-22802]
2016-10-14 20:54:18 +03:00
Vitaliy Lyudvichenko
669e2982a5
Made merge_selecting_thread creation & deletion atomic. [#METR-22471]
2016-10-14 14:47:11 +03:00
Vitaliy Lyudvichenko
aa863ea7bb
Fixed std::terminate on DROP of StorageReplicatedMergeTree. [#METR-22471]
2016-10-14 13:17:05 +03:00
Alexey Milovidov
dce56bfeba
Implemented TODO [#METR-23132].
2016-10-14 05:51:03 +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
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