Commit Graph

656 Commits

Author SHA1 Message Date
artpaul
402f974fb7 fix where <const> in (<const>) expression; [#METR-24043] 2017-01-10 19:16:37 +05:00
alexey-milovidov
1d641212c8 Merge pull request #309 from ludv1x/METR-24025
Fixed segfault in aggregation combinators for complex nested functions
2017-01-09 20:14:16 +04:00
artpaul
79eb282eda fix formatting of LIMIT BY; add tests with remote() [#METR-23881] 2017-01-09 18:24:54 +05:00
Vitaliy Lyudvichenko
fb40b74270 Fixed segfault in aggregation combinators using complex functions with Arenas. [#METR-24025] 2017-01-09 15:41:47 +03:00
Alexey Zatelepin
502864b40a Merge branch 'master' into METR-23582
Conflicts:
	dbms/include/DB/IO/WriteBufferFromHTTPServerResponse.h
	dbms/src/Core/ErrorCodes.cpp
2017-01-08 12:53:17 +03:00
Alexey Zatelepin
600bb5f29a [#METR-23582]
* introduce ZlibDeflatingWriteBuffer and ZlibInflatingReadBuffer
* use them instead of Poco streams
* seamlessly uncompress multiple concatenated gzip streams
2017-01-07 20:22:58 +03:00
artpaul
b64e7a45b6 rename tests 2016-12-31 13:36:22 +05:00
alexey-milovidov
376db5785b Merge pull request #297 from proller/METR-23933
Add header Keep-Alive: timeout=.. to http server response [#METR-23933]
2016-12-31 06:04:49 +04:00
alexey-milovidov
0dd2191c87 Merge branch 'master' into issue-111 2016-12-31 05:53:52 +04:00
proller
c2a6681522 Add header Keep-Alive: timeout=.. to http server responce [#METR-23933] 2016-12-30 23:52:56 +03:00
artpaul
3987df8233 rename tests 2016-12-30 23:32:51 +05:00
artpaul
273e58f8d7 add tests [#METR-23881] 2016-12-30 17:57:09 +05:00
Alexey Milovidov
2f6e582f78 Updated test [#METR-19266]. 2016-12-30 09:28:20 +03:00
Alexey Milovidov
0a83cfccde NULLs: Test also output formats [#METR-19266]. 2016-12-30 09:23:30 +03:00
Alexey Milovidov
9a17c907b0 Added test for parsing NULLs in various formats [#METR-19266]. 2016-12-30 09:18:57 +03:00
Alexey Milovidov
0323a74942 Added test [#METR-19266]. 2016-12-30 08:17:55 +03:00
Alexey Milovidov
de30204c00 Added test for pretty formats [#METR-2944]. 2016-12-30 04:30:47 +03:00
Alexey Milovidov
5a5ddebe19 Fixed test [#METR-19266]. 2016-12-30 01:45:19 +03:00
Alexey Milovidov
18f0e83b51 Fixed parsing of NULL literal [#METR-19266]. 2016-12-29 22:52:15 +03:00
Alexey Milovidov
32be008327 Added test [#METR-23983]. 2016-12-29 21:29:21 +03:00
Alexey Milovidov
9c39a324f2 Fixed extremes calculation in presense of NaNs [#METR-22882]. 2016-12-28 12:20:42 +03:00
Alexey Milovidov
dd0b5a1b82 Added test [#METR-23945]. 2016-12-25 07:50:06 +03:00
Alexey Milovidov
2552e7de4b Added test [#METR-22799]. 2016-12-24 00:35:22 +03:00
alexey-milovidov
d1383c5f62 Merge pull request #288 from yandex/issue-199
Issue #199: speedup DISTINCT
2016-12-23 19:02:48 +04:00
artpaul
200f84c046 add test for DISTINCT with nullable values [#METR-23882] 2016-12-22 21:39:00 +05:00
proller
999b181aa5 fix 'env bash -e' 2016-12-21 23:43:35 +03:00
proller
d270053c3c Replace all !/bin/bash by !/usr/bin/env bash : allow running scripts with bash in non standard path. also on freebsd. 2016-12-21 23:04:27 +03:00
Vitaliy Lyudvichenko
d2e594cdf7 Fixed groupUniqArray for Date and DateTime types. [#METR-23869] 2016-12-16 13:59:16 +03:00
artpaul
722e4dab6d merge with master 2016-12-15 23:19:12 +05:00
artpaul
d3657d311b fix decodeUrl; decode all values; add more tests 2016-12-15 22:12:41 +05:00
alexey-milovidov
a3886babed Revert "Issue 219" 2016-12-15 18:19:16 +04:00
Alexey Milovidov
082820b405 Removed executable attribute from test files [#METR-20000]. 2016-12-15 17:12:31 +03:00
alexey-milovidov
fea00eb595 Merge pull request #239 from yandex/issue-219
Issue 219
2016-12-15 17:21:35 +04:00
Igor Hatarist
76365c3c15 Fixed the test 2016-12-14 08:56:19 +03:00
Igor Hatarist
9be107e89e Removed TSVBlock format by Alexey's request 2016-12-13 21:26:34 +03:00
Igor Hatarist
96fa052839 Added TSV format synonyms for the TabSeparated formats 2016-12-13 21:03:10 +03:00
artpaul
fb900881da resolve conflicts 2016-12-12 11:15:01 +05:00
artpaul
529f75c8b4 - use std::experimental::string_view
- rename unquoteUrl to decodeURLComponent
- fix code-style
2016-12-12 11:09:00 +05:00
Alexey Milovidov
d77b4f12fb Added UUID functions [#METR-23792]. 2016-12-11 13:57:34 +03:00
artpaul
99cec8b165 implement unquoteUrl 2016-12-11 02:04:58 +05:00
Alexey Milovidov
4aeb017093 Renamed test [#METR-19266]. 2016-12-10 09:40:46 +03:00
Alexey Milovidov
e97ecb6cf7 Merge branch 'master' into METR-19266
Conflicts:
	dbms/CMakeLists.txt
	dbms/include/DB/Functions/FunctionsArray.h
	dbms/include/DB/Functions/FunctionsString.h
	dbms/include/DB/Parsers/ExpressionListParsers.h
	dbms/include/DB/Storages/MergeTree/MergeTreeBlockInputStream.h
	dbms/include/DB/Storages/MergeTree/MergeTreeReader.h
	dbms/include/DB/Storages/MergeTree/MergeTreeThreadBlockInputStream.h
	dbms/include/DB/Storages/MergeTree/MergedBlockOutputStream.h
	dbms/src/Core/ErrorCodes.cpp
	dbms/src/Parsers/ASTFunction.cpp
	dbms/src/Storages/MergeTree/MergeTreeData.cpp
	dbms/src/Storages/MergeTree/MergeTreeDataPart.cpp
	dbms/src/Storages/MergeTree/MergeTreeReader.cpp
	dbms/src/Storages/StorageLog.cpp
2016-12-10 07:51:36 +03:00
artpaul
396ccccfce fix extraction of TLD from fqdn 2016-12-10 03:49:21 +05:00
artpaul
dfb466d156 host extraction functionality was moved to UrlUtils 2016-12-10 00:31:16 +05:00
artpaul
544143f5c9 url's scheme extraction was fixed according to rfc3986. 2016-12-09 22:38:15 +05:00
artpaul
f344c85cb7 #214 add tests 2016-12-03 04:29:16 +05:00
Alexey Milovidov
4110b6865f Merge branch 'METR-23305' of git://github.com/ludv1x/ClickHouse into ludv1x-METR-23305
Conflicts:
	contrib/CMakeLists.txt
2016-12-02 23:22:11 +03:00
Vitaliy Lyudvichenko
202ba912ce Vertical merging algorithm for MergeTree engines. [#METR-23305] 2016-11-29 22:41:31 +03:00
alexey-milovidov
08cb8e506b Merge pull request #211 from yandex/if_with_const_condition
ExpressionAnalyzer: added more tests for aliases. fix bug [METR-23545]
2016-11-29 23:28:50 +04:00
Pavel Kartavyy
106bb24fd8 ExpressionAnalyzer: added more tests for aliases. fix bug [#METR-23545] 2016-11-29 22:19:15 +03:00
alexey-milovidov
7fda6394b8 Merge pull request #202 from yandex/if_with_const_condition
ExpressionAnalyzer: optimize if with constant condition [METR-23545]
2016-11-25 20:03:04 +04:00
Pavel Kartavyy
cd15651dfd optimize if. added test for aliases 2016-11-25 12:29:17 +03:00
Pavel Kartavyy
84a89b3b3d ExpressionAnalyzer: optimize if with constant condition [#METR-23545] 2016-11-24 17:18:44 +03:00
Vitaliy Lyudvichenko
544ef67c28 Fixed IN <Set> usage inside PK expressions.
Refactoring of type conversion functions convertFieldToType().
2016-11-24 15:32:04 +03:00
Vitaliy Lyudvichenko
4f9064ca19 Fixed case when pk column is wrapped by functions. 2016-11-23 22:58:33 +03:00
Vitaliy Lyudvichenko
e07fc7cea5 Fixed Enum usage in PK expressions. [#METR-23473]
Added check for duplicates of column names in CREATE query.
2016-11-23 16:19:15 +03:00
Alexey Milovidov
c8c86208aa Fixed error with ALTER of Enums in Nested fields [#METR-22442]. 2016-11-20 11:57:11 +03:00
Alexey Milovidov
37d6ecc372 Allowed to sort one array by values of another array [#METR-23547]. 2016-11-20 09:49:24 +03:00
Alexey Milovidov
75a058fbab Added test [#METR-23546]. 2016-11-20 07:51:37 +03:00
Alexey Milovidov
ea0c752852 Investigated flappy test [#METR-23540]. 2016-11-18 12:02:49 +03:00
Alexey Milovidov
643c2b747a Added test [#METR-23539]. 2016-11-18 11:31:46 +03:00
Alexey Zatelepin
cbed811b95 use_client_time_zone test 2016-11-17 00:11:02 +00:00
Pavel Kartavyy
3ad04a0f39 updated test for hasColumnInTable 2016-11-16 18:52:35 +03:00
Pavel Kartavyy
766caff3dc add tests for hasColumnInTable [#METR-23248] 2016-11-16 18:52:35 +03:00
Vitaliy Lyudvichenko
4cd2909899 Merged new packages into clickhouse-client.
More detail diagnostic for test.
2016-11-16 02:49:27 +03:00
Vitaliy Lyudvichenko
26fe84b3d0 Removed binary stripping, try to fix clickhouse-local test. 2016-11-15 00:58:17 +03:00
Vitaliy Lyudvichenko
107f7b34c7 Added requested PR changes, 2nd iteration. 2016-11-14 02:57:18 +03:00
Alexey Milovidov
621da9c2f7 Added test [#METR-22971]. 2016-11-02 00:10:22 +03:00
Alexey Milovidov
024799acee Fixed error in Poco::UTF8Encoding::isLegal function [#METR-23332]. 2016-10-29 20:15:43 +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 Arno
27fbef6ace dbms: Server: renaming [#METR-19266] 2016-10-21 19:55:34 +03:00
Alexey Arno
a75cfb6df5 Merge branch 'master' into METR-19266 [#METR-19266] 2016-10-21 19:53:35 +03:00
Alexey Arno
88ddba2782 dbms: Server: added forgotten changes [#METR-19266] 2016-10-20 16:09:49 +03:00
Alexey Arno
d64529ca15 dbms: Server: fixes + tests update [#METR-19266] 2016-10-20 15:58:18 +03:00
Alexey Milovidov
f373b500d4 Fixed error in 'firstSignificantSubdomain' function [#METR-20000]. 2016-10-20 08:21:49 +03:00
Alexey Milovidov
955783e409 Fixed test [#METR-20000]. 2016-10-20 07:51:01 +03:00
Alexey Arno
924402f33e dbms: Server: merged from master [#METR-19266] 2016-10-19 18:00:56 +03:00
Alexey Arno
cca054f148 dbms: Server: renaming [#METR-19266] 2016-10-19 11:26:51 +03:00
Alexey Milovidov
b1f551d5ba Client: Don't exit (only break) at first error in interactive mode when processing multiple queries in one command [#METR-19563]. 2016-10-15 03:38:59 +03:00
Vitaliy Lyudvichenko
fcd8b72eac Fixed port test. [#METR-22966]
curl was muted.
2016-10-14 13:52:20 +03:00
Vitaliy Lyudvichenko
144d9018ba Added port column into system.processes table. [#METR-22966] 2016-10-11 22:01:55 +03:00
Vitaliy Lyudvichenko
4c242e8a4d Added output_format_json_quote_64bit_integers new config option. 2016-09-30 19:02:16 +03:00
Vitaliy Lyudvichenko
6375e4999c Small refinement of recently added tests. 2016-09-30 16:40:26 +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
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