Commit Graph

621 Commits

Author SHA1 Message Date
alexey-milovidov
3296310a9d Merge pull request #116 from ludv1x/METR-22071
More datatypes for groupUniqArray() function [#METR-22071]
2016-09-29 23:53:18 +04:00
Vitaliy Lyudvichenko
c2d5595c3d Added more tests for groupUniqArray() function. [#METR-22071] 2016-09-29 16:19:43 +03: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
7103157b1b Added simple test for groupUniqArray(String). [#METR-22071]
Also reverted Benchmark.cpp it will be added in separate PR.
2016-09-26 15:43:20 +03:00
Alexey Milovidov
2cceb41877 Fixed error with anyLastIf function [#MARKETHEALTH-550]. 2016-09-23 06:44:51 +03:00
Alexey Milovidov
5d6d86c625 Renamed test [#METR-22301]. 2016-09-23 05:09:23 +03:00
Alexey Milovidov
95fc632f41 Added test [#METR-22301]. 2016-09-23 04:18:46 +03:00
Alexey Arno
2feb831a52 dbms: Server: Updated functional test. [#METR-22842] 2016-09-21 18:10:06 +03:00
Alexey Arno
9fc95c5093 dbms: Server: better [#METR-19266] 2016-09-21 15:51:11 +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
Alexey Milovidov
9a8105b952 Removed obsolete tests [#METR-2807]. 2016-09-01 22:33:03 +03:00
Alexey Milovidov
3656f0efe2 Fixed error in test [#METR-2807]. 2016-09-01 20:58:40 +03:00
igor
c04e82263d CORS header test, fix grep 2016-08-30 23:53:59 +03:00
igor
9c66d18cb5 CORS hearder test 2016-08-30 09:25:24 +03:00
Alexey Arno
06f2bb52f0 dbms: Added functional test for nullable-specific functionality. [#METR-19266] 2016-08-25 18:13:05 +03:00
Alexey Milovidov
d76514fbe1 Added test [#METR-22329]. 2016-08-20 20:19:06 +03:00
Alexey Milovidov
902c70bfa9 Fixed error with duplicate columns in subqueries [#METR-22381]. 2016-08-20 20:10:00 +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
374b2bc356 Client: fixed error that 'format' command line option was collided between common arguments and arguments for external tables [#METR-22057]. 2016-08-19 00:00:00 +03:00
Alexey Milovidov
80e8c38c28 Addition [#METR-22400]. 2016-08-18 02:02:50 +03:00
Alexey Milovidov
a50c733345 Make tests deterministic [#METR-22400]. 2016-08-17 23:03:22 +03:00
Alexey Milovidov
d13190a2db Fixed error with 'visibleWidth' function when applied to Array(Enum...) or Tuple(Enum...) [#METR-22432]. 2016-08-17 09:25:01 +03:00
Alexey Milovidov
ffbd901c9c Added test [#METR-22252]. 2016-08-17 09:11:25 +03:00
Alexey Milovidov
635fed9055 Added test [#METR-22252]. 2016-08-17 09:03:46 +03:00
Alexey Milovidov
7a04c805c4 Added test [#METR-22400]. 2016-08-17 08:53:14 +03:00
Alexey Milovidov
27d42574fc Added test result [#METR-22428]. 2016-08-17 00:45:35 +03:00
Alexey Milovidov
3d4a40156f Added test [#METR-22428]. 2016-08-17 00:44:28 +03:00
Alexey Milovidov
6bbac4b06c Added test [#METR-21993]. 2016-08-15 22:43:51 +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 Milovidov
9efc240f34 Corrected tests whose sensitivity may have degraded after introduced squashing blocks on INSERT by default [#METR-21877]. 2016-08-13 08:06:36 +03:00
Alexey Milovidov
65e557a105 Fixed test [#METR-22352]. 2016-08-10 08:22:52 +03:00
Alexey Milovidov
41c28b26d0 Fixed test [#METR-2944]. 2016-08-07 21:20: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
4922eac99a Added test [#METR-22296]. 2016-08-04 08:18:46 +03:00
Alexey Milovidov
ff23a9cdda Fixed test [#METR-22229]. 2016-08-02 22:22:46 +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
1700f4e132 Added support for complex typed arguments for function toString [#METR-22263]. 2016-07-30 07:39:51 +03:00
Alexey Milovidov
0ffae7b119 Added test [#METR-22226]. 2016-07-28 23:25:56 +03:00
Alexey Milovidov
040a957073 Added test [#METR-22188]. 2016-07-28 05:22:17 +03:00
Alexey Milovidov
118026db6b Added test [#METR-22227]. 2016-07-28 05:20:04 +03:00
Alexey Milovidov
f459167a0d Added test [#METR-20624]. 2016-07-28 05:18:07 +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 Milovidov
5f423e9023 Fixing incompatibilities [#METR-2944]. 2016-07-23 05:42:42 +03:00
Alexey Milovidov
dc665c67c5 Fixing incompatibilities [#METR-2944]. 2016-07-23 05:25:09 +03:00
Alexey Milovidov
c9521dd370 Added test [#METR-21691]. 2016-07-17 20:07:34 +03:00
Alexey Milovidov
6912bfa6be Added test [#METR-22035]. 2016-07-10 19:04:25 +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
ff558b9a10 Added test [#METR-18149]. 2016-07-10 10:41:03 +03:00
Alexey Milovidov
402a4933e3 Fixed errors with tuples [#METR-18149]. 2016-07-10 07:09:59 +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
fb3a28f646 Added test [#METR-22032]. 2016-07-09 03:20:44 +03:00
Alexey Milovidov
777f6bd05c Added miscellaneous function 'rowNumberInAllBlocks' [#METR-21993]. 2016-07-09 00:46:18 +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 Milovidov
f8243864a2 Fixed test [#METR-21877]. 2016-07-07 08:13:08 +03:00
Alexey Milovidov
01b1503faa Added test [#METR-21995]. 2016-07-06 23:39:32 +03:00
Alexey Milovidov
a4849fe15b Added more test [#METR-21877]. 2016-07-02 00:25:14 +03:00
Alexey Milovidov
f8eab3b66d Added test [#METR-21877]. 2016-07-02 00:13:58 +03:00
Alexey Milovidov
eba73d8d87 Probably fixed flappy test [#METR-2944]. 2016-07-01 19:48:33 +03:00
Alexey Milovidov
b18453103e More tests [#METR-21863]. 2016-06-29 00:35:49 +03:00
Alexey Milovidov
e38030fe5d Added test [#METR-21885]. 2016-06-29 00:32:12 +03:00
Alexey Milovidov
4c73eea3a8 Fixed error with ARRAY JOIN of arrays of strings [#METR-21863]. 2016-06-28 22:43:32 +03:00
Alexey Milovidov
85bbc44a61 Added test [#METR-21691]. 2016-06-26 16:21:58 +03:00
Alexey Milovidov
9f8ddb533c Added test [#METR-21846]. 2016-06-26 00:51:44 +03:00
Alexey Milovidov
13d6731fad Added test [#METR-21817]. 2016-06-23 22:45:26 +03:00
Alexey Milovidov
590a7b5d73 Added test [#METR-2944]. 2016-06-22 00:48:04 +03:00
Alexey Milovidov
86e9ed01c5 Fixed error with ParserNumber (tnx. kmeaw) [#METR-21765]. 2016-06-21 00:22:46 +03:00
Alexey Milovidov
c75f42891f Little more sophisticated test [#METR-21614]. 2016-06-11 17:35:23 +03:00
Alexey Milovidov
50b767b613 Added test, reproducing memory leak [#METR-21614]. 2016-06-11 17:22:10 +03:00
Alexey Milovidov
47898ae73b Disabled implicit moving to PREWHERE when using FINAL [#METR-20644]. 2016-06-06 21:41:28 +03:00
Alexey Milovidov
b6484245eb Updated test [#METR-2944]. 2016-05-18 08:12:34 +03:00
Alexey Milovidov
7aae41f5dd Added test [#METR-21119]. 2016-05-18 00:08:53 +03:00
Alexey Arno
ffef681bf4 Merge 2016-05-05 15:00:14 +03:00
Alexey Arno
286baa8611 Merge 2016-05-04 02:19:14 +03:00
Alexey Milovidov
f9879ae41b Added test [#METR-20856]. 2016-04-27 08:23:55 +03:00
Alexey Arno
7fd54b8fe0 Merge 2016-04-25 18:38:13 +03:00
Alexey Milovidov
3e4dbbb24e Updated test [#METR-20644]. 2016-04-16 01:00:19 +03:00
Alexey Milovidov
d6ba48a610 Merge 2016-04-15 22:37:19 +03:00
Alexey Milovidov
e4bb35e6e1 Added missing support for hashing Enums [#METR-20890]. 2016-04-14 00:35:46 +03:00
Alexey Milovidov
8f68bd3bb2 Fixed test [#METR-12588]. 2016-04-13 07:43:55 +03:00
Alexey Milovidov
17ec1acca2 Added test [#METR-20821]. 2016-04-11 21:10:06 +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
603a856731 Added comment [#METR-20738]. 2016-04-09 00:27:54 +03:00
Alexey Milovidov
436f994379 Added test [#METR-20738]. 2016-04-09 00:19:07 +03:00
Alexey Milovidov
91dae9787a Added support for BETWEEN operator [#METR-20707]. 2016-04-03 04:15:53 +03:00
Alexey Milovidov
22272510dc Added test [#METR-20706]. 2016-04-03 00:21:27 +03:00
Alexey Milovidov
d507c1f8af Updated tests after removing vectorclass library [#METR-20000]. 2016-03-31 04:30:07 +03:00
Alexey Milovidov
605e9c4afb Addition to prev. revision [#METR-20607]. 2016-03-27 17:36:59 +03:00
Alexey Milovidov
6158f550d1 Addition to prev. revision; added test [#METR-20607]. 2016-03-27 15:50:49 +03:00
Alexey Milovidov
ddf10dd1ac Fixed NULL pointer dereference when using IN by set of tuples with some elements in out-of-range values [#METR-20341]. 2016-03-22 03:09:08 +03:00
Alexey Milovidov
b0104e94be Added test [#METR-20540]. 2016-03-22 02:16:14 +03:00
Alexey Milovidov
8e31f27378 Updated tests [#METR-20381]. 2016-03-13 22:06:03 +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
ce0aeafcca Updated test [#METR-20359]. 2016-03-12 10:38:21 +03:00
Alexey Milovidov
f5247021b1 Fixed error [#METR-20296]. 2016-03-05 06:17:11 +03:00
Alexey Milovidov
4b1c11288a Renamed test [#TESTIRT-8503]. 2016-03-05 02:44:54 +03:00
Alexey Milovidov
fb4e0b1402 Fixed error and added test for '_sample_factor' virtual column [#METR-20296]. 2016-03-05 02:42:30 +03:00
Alexey Milovidov
b5ac93cf0e Fixed segfault [#METR-20155]. 2016-02-25 05:37:31 +03:00
Alexey Milovidov
4c0b0e9c80 dbms: fixed error with function positionCaseInsensitiveUTF8 [#METR-20054]. 2016-02-23 06:20:48 +03:00
Alexey Milovidov
9e81f3eea0 Added setting 'enable_http_compression' [#METR-20041]. 2016-02-19 22:02:20 +03:00
Alexey Milovidov
13e737bdd6 Added test for Array columns in primary key [#METR-20079]. 2016-02-19 19:57:33 +03:00
Alexey Milovidov
2f35f6a350 Added support for format TSKV for input [#METR-20081]. 2016-02-18 06:13:52 +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
7406fa60ff Added test [#METR-20041]. 2016-02-16 19:35:20 +03:00
Alexey Milovidov
ce3f881d7a Improved performance of WriteBufferValidUTF8 [#METR-20026]. 2016-02-14 07:07:55 +03:00
Alexey Milovidov
fabf0b3dc4 Added test for format XML [#METR-20026]. 2016-02-14 06:12:58 +03:00
Alexey Milovidov
8efb3e5ade Initial implementation of XML output format [#METR-20026]. 2016-02-14 05:37:42 +03:00
Alexey Milovidov
a33ab9cbe1 Fixed error when user could override settings in readonly mode, using HTTP interface [#METR-15268]. 2016-02-12 06:32:05 +03:00
Alexey Milovidov
1cee75e828 Added test for sending external tables via HTTP [#METR-2944]. 2016-02-12 03:58:26 +03:00
Alexey Milovidov
dafece62ef Added support for HTTP compression of POST data [#METR-20041]. 2016-02-12 03:56:15 +03:00
Alexey Milovidov
421d5a97ad Added support for HTTP compression [#METR-20041]. 2016-02-12 02:37:16 +03:00
Alexey Milovidov
02958c1c7f dbms: fixed race condition between attaches and download of parts [#METR-19399]. 2016-02-07 20:31:13 +03:00
Alexey Milovidov
35d1bc10e2 dbms: fixed test [#METR-2944]. 2016-02-07 19:55:57 +03:00
Alexey Milovidov
dc982b1493 dbms: CSV format: added support for excessive delimiter at end of row [#METR-19957]. 2016-02-07 13:23:02 +03:00
Alexey Milovidov
73994ebb08 dbms: fixed error; added tests [#METR-19957]. 2016-02-07 12:53:48 +03:00
Alexey Milovidov
038a6278d5 dbms: fixed error with multiple INSERTs in StripeLog [#METR-19901]. 2016-02-02 23:33:03 +03:00
Alexey Milovidov
14854540ba dbms: added test [#METR-19265]. 2016-02-01 21:40:27 +03:00
Alexey Milovidov
f9268b6ccb dbms: added test [#METR-19399]. 2016-01-30 05:50:14 +03:00
Alexey Milovidov
b7d3f0e4d6 Merge 2016-01-28 03:59:35 +03:00
Alexey Milovidov
113ff27a70 dbms: added test [#METR-19835]. 2016-01-28 03:54:56 +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
9156262de6 dbms: added tests [#METR-19767]. 2016-01-26 04:35:33 +03:00
Alexey Milovidov
dc01ebdf8d dbms: fixed test [#METR-2944]. 2016-01-19 22:56:09 +03:00
Alexey Milovidov
b9bc60fe5e dbms: fixed test [#METR-19265]. 2015-12-30 00:40:02 +03:00
Alexey Milovidov
458e0bcb32 dbms: fixed test [#METR-19265]. 2015-12-29 21:40:55 +03:00
Andrey Mironov
19362c0cce dbms: add test for Enums [#METR-19265] 2015-12-29 18:17:29 +03:00
Andrey Mironov
40f060fae8 dbms: allow type in CAST(expression AS type) without back quotes [#METR-19265] 2015-12-25 15:06:17 +03:00
Alexey Milovidov
ce70e528e0 dbms: fixed error with max_subquery_depth and GLOBAL subqueries [#METR-19569]. 2015-12-25 04:37:17 +03:00
Alexey Milovidov
23f8413d74 dbms: fixed error with ParserUnsignedInteger (used for tuple element access) [#METR-2944]. 2015-12-21 19:59:21 +03:00
Alexey Milovidov
1e4def963d dbms: added function 'arrayReduce' [#METR-19264]. 2015-12-13 13:43:49 +03:00
Alexey Milovidov
0b5220adcf dbms: added test [#METR-19371]. 2015-12-11 04:54:47 +03:00
Alexey Milovidov
db8d82f13e dbms: Buffer: better [#METR-19249]. 2015-12-09 09:55:49 +03:00
Alexey Milovidov
6eb47b0db4 dbms: fixed error with StorageBuffer [#METR-19249]. 2015-12-09 09:04:00 +03:00
Alexey Milovidov
3b9466ee08 dbms: added test [#METR-19298]. 2015-12-08 23:05:49 +03:00
Alexey Milovidov
dc7372ab71 dbms: fixed error [#METR-19271]. 2015-12-08 04:17:57 +03:00
Andrey Mironov
d019af9ace dbms: add test for float formatting which has proven problematic [#METR-19166] 2015-12-07 15:46:13 +03:00
Alexey Milovidov
6859f2085e dbms: fixed error with TOTALS [#METR-19259]. 2015-12-04 23:33:38 +03:00
Alexey Milovidov
11aa07ccbc dbms: fixed tests [#METR-17000]. 2015-12-03 06:56:50 +03:00
Alexey Milovidov
8844334423 dbms: external aggregation: development [#METR-17000]. 2015-12-01 19:58:15 +03:00
Alexey Milovidov
eb4034f7f2 dbms: better [#METR-2944]. 2015-11-29 20:06:30 +03:00
Alexey Milovidov
7e5b79fbe9 dbms: added test for merges [#METR-19025]. 2015-11-27 23:48:55 +03:00
Alexey Milovidov
fb88629d67 dbms: added test [#METR-19128]. 2015-11-27 00:36:23 +03:00
Alexey Milovidov
3a5d47014f dbms: added test result [#METR-18778]. 2015-11-26 20:28:26 +03:00
Alexey Milovidov
8c8210062a dbms: added support for hex escape sequences in strings [#METR-19072]. 2015-11-25 06:11:17 +03:00
Alexey Milovidov
26a5aad691 dbms: added test (result pending) [#METR-18778]. 2015-11-24 00:35:42 +03:00
Alexey Milovidov
8a592860ef dbms: improved performance of INSERT SELECT (experimental) [#METR-19025]. 2015-11-21 19:26:48 +03:00