Commit Graph

660 Commits

Author SHA1 Message Date
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
Alexey Milovidov
599308aef0 Get rid of obsolete mongodb client library [#METR-23791]. 2016-12-11 12:43:16 +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
Vitaliy Lyudvichenko
f8eb9028fd Refined query_log, processes and merges metrics.
Also, dbms/CMakeLists.txt was rewritten.
2016-12-09 13:11:25 +03:00
Alexey Milovidov
a1c599fc57 Autotests for external dictionaries: removed garbage [#METR-23766]. 2016-12-08 08:58:45 +03:00
Alexey Milovidov
959e31402b Autotests for external dictionaries: back to life. 2016-12-08 08:12:49 +03: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
proller
30cd3176d9 Merge branch 'autotest-external-dictionaries' into move-autotest-external-dictionaries 2016-11-29 20:06:09 +03:00
proller
936efe55f1 move * -> dbms/tests/external_dictionaries 2016-11-29 20:03:54 +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
Eugene Konkov
d8973b61cf flush after print test case name 2016-11-21 22:16:31 +03:00
Pavel Kartavyy
3569176cbf clickhouse-test: make status messages to be bold 2016-11-21 11:37:51 +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
5d7afb7588 clickhouse-test: fix error 2016-11-16 18:52:35 +03:00
Pavel Kartavyy
edd6c25c2c clickhouse-client: some tests has non unicode symbols in stdout 2016-11-16 18:52:35 +03:00
Pavel Kartavyy
51cf368e1f clickhouse-test: use termcolor for text highlighting 2016-11-16 18:52:35 +03:00
Pavel Kartavyy
09a24f2b48 clickhouse-test: fix reading of non ascii test output 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
Vitaliy Lyudvichenko
c05f512637 Merged server, client and local into single binary, more args for local mode. 2016-11-09 22:06:29 +03:00
Vitaliy Lyudvichenko
0e2eb5436b Added StorageFile and template for clickhouse-local app. 2016-11-09 22:03:47 +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
Eugene Konkov
1c983b2872 save each test result to separate junit xml file in order to keep results of performed tests in case of aborted script 2016-09-06 18:47:24 +03:00
Eugene Konkov
a45a8ca9d0 Add test case timeout [#METRIQA-248] 2016-09-02 19:27:12 +03:00
Eugene Konkov
ae1edc4197 fix console output 2016-09-02 16:15:01 +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
Eugene Konkov
08cbd95290 Write junit-compatible xml report to file specified with --output argument. 2016-09-01 20:40:02 +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