Commit Graph

525 Commits

Author SHA1 Message Date
proller
2e02e29652 wip 2016-11-24 04:01:11 +03:00
proller
e280569453 Everything [maybe] works! 2016-11-22 18:03:54 +03:00
proller
fd3a9da076 httd dict wip 2016-11-19 03:07:58 +03: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
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
ebbe877a70 Preparation [#METR-23332]. 2016-10-29 20:13:35 +03:00
Alexey Milovidov
8be993bd1e Preparation [#METR-2944]. 2016-10-25 09:49:24 +03:00
Alexey Milovidov
ea852bb9d8 Separate compilation of CurrentMetrics; Separated AsynchronousMetrics from CurrentMetrics; Comments [#METR-23237]. 2016-10-24 07:06:27 +03:00
Alexey Milovidov
9af5ce1e3b Separate compilation of ProfileEvents; comments [#METR-23237]. 2016-10-24 05:02:37 +03:00
Alexey Arno
a75cfb6df5 Merge branch 'master' into METR-19266 [#METR-19266] 2016-10-21 19:53:35 +03:00
Alexey Milovidov
0a318a5f16 Comments [#METR-20000]. 2016-10-21 03:19:49 +03:00
Alexey Arno
924402f33e dbms: Server: merged from master [#METR-19266] 2016-10-19 18:00:56 +03:00
alexey-milovidov
3296310a9d Merge pull request #116 from ludv1x/METR-22071
More datatypes for groupUniqArray() function [#METR-22071]
2016-09-29 23:53:18 +04:00
alexey-milovidov
30c4b21a50 Merge pull request #121 from ludv1x/METR-22801
Ability to skip columns with unknown names from input JSON data [#METR-22801]
2016-09-28 22:49:50 +04:00
Vitaliy Lyudvichenko
f3d70eb87c Added test for JSONEachRow format. [#METR-22801] 2016-09-28 21:45:28 +03:00
Vitaliy Lyudvichenko
3c045e1545 Added ability to skip plain JSON arrays. [#METR-22801] 2016-09-28 16:14:28 +03:00
Vitaliy Lyudvichenko
c4666af3ab Add input_format_skip_unknown_fields new config parameter. [#METR-22801] 2016-09-28 01:44:45 +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
Yuri Dyachenko
065b02494a add -Wold-style-cast 2016-08-26 22:55:11 +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
06bcc34be2 Don't do DNS requests for each fetch from replica [#METR-22304]. 2016-08-19 04:54:23 +03:00
Alexey Milovidov
56a091cb6e Throw exception when multi-statements are disabled [#METR-22252]. 2016-08-17 08:38:51 +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
54beaf7f8d Miscellaneous [#METR-22428]. 2016-08-16 23:21:28 +03:00
Alexey Arno
8340f8fd07 dbms: better [#METR-19266] 2016-08-15 20:10:30 +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
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
9014f19f01 Fewer warnings from UBSan [#METR-2944]. 2016-07-31 08:56:36 +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 Milovidov
df438a5a47 Little better [#METR-2944]. 2016-06-25 07:29:09 +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
Vladimir Chebotarev
8a65c867f7 dbms: Fixed build with QuickLZ. [#METR-19660] 2016-06-16 18:56:36 +03:00
Alexey Milovidov
6188c018e5 Updating documentation [#METR-21710]. 2016-06-14 21:32:07 +03:00
Alexey Milovidov
59253f689b Tiny modifications [#METR-21651]. 2016-06-09 07:37:21 +03:00
Alexey Milovidov
646d70a545 Using std::shared_ptr for data types [#METR-21503]. 2016-05-28 17:14:18 +03:00
Alexey Milovidov
3c1c9d46f7 Using std::shared_ptr for data types [#METR-21503]. 2016-05-28 15:22:22 +03:00
Alexey Milovidov
4c7eb03b63 Using std::shared_ptr for data types [#METR-21503]. 2016-05-28 13:35:44 +03:00
Vladimir Chebotarev
866c8929e2 dbms, contrib: GCC 6 build fixes [#METR-20000] 2016-05-23 03:41:26 +03:00
Alexey Milovidov
afec861029 Improved performance of reading String column [#METR-20892]. 2016-04-15 05:28:56 +03:00
Alexey Milovidov
42cb486bc1 Added setting 'http_native_compression_disable_checksumming_on_decompress' [#METR-20784]. 2016-04-10 02:24:38 +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 Milovidov
268ff3381a Updated zstd [#METR-20309]. 2016-03-07 12:52:53 +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
30cba89be0 Fixing build on clang [#METR-2807]. 2016-03-07 07:31:10 +03:00
Alexey Arno
6efc98d1f3 Merge 2016-03-01 20:47:53 +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
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
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
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
e8802db2c3 Added format JSONEachRow [#METR-20081]. 2016-02-18 14:44:50 +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
ce3f881d7a Improved performance of WriteBufferValidUTF8 [#METR-20026]. 2016-02-14 07:07:55 +03:00
Alexey Milovidov
8efb3e5ade Initial implementation of XML output format [#METR-20026]. 2016-02-14 05:37:42 +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
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
abf49e937c dbms: disabled QuickLZ [#METR-17973]. 2016-02-04 00:16:19 +03:00
Alexey Milovidov
3519c3cea2 dbms: separated mysqlxx::Date and mysqlxx::DateTime [#METR-17973]. 2016-02-03 04:17:58 +03:00
Alexey Milovidov
0f3e163c4e dbms: CurrentMetrics: development [#METR-19596]. 2016-01-21 04:47:28 +03:00
Alexey Milovidov
fb1c505263 dbms: addition [#METR-2944]. 2016-01-12 05:42:18 +03:00
Alexey Milovidov
c062fc1ce0 dbms: cutting dependency [#METR-2944]. 2016-01-12 05:21:15 +03:00
Alexey Milovidov
13c7d0983a dbms: cutting dependency [#METR-2944].. 2016-01-12 00:46:36 +03:00
Andrey Mironov
2a6992689f dbms: add value to name map for enums; fix visibleWidth for enums [#METR-19265] 2015-12-30 15:12:18 +03:00
Alexey Milovidov
f1f3619df4 dbms: cancelling fetching of parts on table shutdown [#METR-19544]. 2015-12-25 00:28:18 +03:00
Alexey Milovidov
42480c31ef dbms: preparation [#METR-16212]. 2015-12-13 11:51:28 +03:00
Alexey Milovidov
2aeb48be2d dbms: added backoff on slow reads [#METR-17579]. 2015-12-13 07:52:13 +03:00
Pavel Kartavyy
1b1a1143a9 Merge 2015-12-03 14:02:02 +03:00
Andrey Mironov
386d560d39 dbms: refactor DoubleConverter [#METR-17328] 2015-11-30 20:55:42 +03:00
Dmitry Galuza
5ca181053c Merge 2015-11-26 16:34:07 +03:00
Alexey Milovidov
8c8210062a dbms: added support for hex escape sequences in strings [#METR-19072]. 2015-11-25 06:11:17 +03:00
Dmitry Galuza
fa73a9e3af ███████████: New fields in visits log [#METR-18831] 2015-11-23 18:33:53 +03:00
Dmitry Galuza
9558802570 ███████████: Refactoring, update ut [#METR-18831] 2015-11-20 18:41:39 +03:00
Dmitry Galuza
65e912a05c ███████████: New fields into example [#METR-18831] 2015-11-20 00:48:17 +03:00
Alexey Milovidov
27ff4dd5d8 Updated double-conversion library (fixed warning in gcc-5) [#METR-18843]. 2015-11-16 06:10:37 +03:00
Alexey Milovidov
959ae7cd78 dbms: unified allocators [#METR-18778]. 2015-11-15 06:09:40 +03:00
Andrey Mironov
9bfd90bb0f dbms: use AIOContextPool in ReadBufferAIO [#METR-18618] 2015-11-03 18:15:45 +03:00
Alexey Milovidov
248dec8194 dbms: added comment [#METR-15790]. 2015-10-27 22:40:14 +03:00
Alexey Milovidov
3f52d7d509 dbms: when parsing DateTime in unix timestamp form, allow timestamps with leading zeros [#METR-15790]. 2015-10-27 03:53:38 +03:00
Alexey Milovidov
7fcae3dddd dbms: allowed to parse unix timestamp as DateTime for small unix timestamps [#METR-15790]. 2015-10-21 22:04:02 +03:00
Pavel Kartavyy
3069d6fe8f Merge 2015-10-14 14:58:16 +03:00
Pavel Kartavyy
2163af290a Merge 2015-10-08 16:21:23 +03:00
Pavel Kartavyy
1bf0b9841a ReadHelpers: add braces 2015-10-06 15:04:50 +03:00
Pavel Kartavyy
04dfbc5728 ReadHelpers: don't throw exception in tryReadFloatText [#METR-18288] 2015-10-06 13:40:24 +03:00
Pavel Kartavyy
7c7829051b dbms::ReadHelpers: rewrite readFloatText for better perfomance when exception happens [#METR-18288] 2015-10-05 17:28:06 +03:00
Alexey Milovidov
4e75ccee03 Probably better [#METR-17973]. 2015-10-05 08:40:27 +03:00
Alexey Milovidov
918422ad48 Moved files [#METR-17973]. 2015-10-05 04:35:28 +03:00
Alexey Milovidov
feec229066 Moved files [#METR-17973]. 2015-10-05 04:26:43 +03:00