Commit Graph

2531 Commits

Author SHA1 Message Date
Nikolai Kochetov
f1c05a2192 Added test with LowCardinality strings serialization. 2018-08-08 18:28:19 +03:00
Nikolai Kochetov
95c64aa5a9 Added test for LowCardinality and WithDictionary. 2018-08-08 17:42:04 +03:00
chertus
5f93ab73fa decimal compare overflow 2018-08-08 16:57:16 +03:00
Alexey Milovidov
4ae1830f78 Updated instruction [#CLICKHOUSE-2] 2018-08-08 07:14:53 +03:00
Alexey Milovidov
1e316e9229 Fixed error #2795 2018-08-08 07:14:53 +03:00
Alexey Milovidov
e0dc0ccaff Removed misleading message [#CLICKHOUSE-2] 2018-08-08 06:03:26 +03:00
Alexey Milovidov
1082619320 Added test #2813 2018-08-08 03:10:01 +03:00
Alexey Milovidov
e99a24c12c Fixed test #2813 2018-08-08 03:07:40 +03:00
alexey-milovidov
b1d70c125f Update 00685_output_format_json_escape_forward_slashes.sql 2018-08-08 02:35:32 +03:00
Alex Bocharov
e8d4654419 Remove FormatSettings default value for writeJSONString and add tests for output_format_json_escape_forward_slashes. 2018-08-08 02:35:32 +03:00
Alexey Milovidov
d1a548638f Imported stateful tests (without data) [#CLICKHOUSE-3] 2018-08-07 20:10:03 +03:00
Alexey Milovidov
3021852383 Imported stateful tests (without data) [#CLICKHOUSE-3] 2018-08-07 20:08:51 +03:00
chertus
cae97b1e59 abs for decimal 2018-08-07 17:35:21 +03:00
chertus
7984b4f91d negate for dec128 2018-08-07 17:12:24 +03:00
alexey-milovidov
1d7e4a439c
Merge pull request #2791 from CurtizJ/CLICKHOUSE-3785
CLICKHOUSE-3785 add murmurHash3, update FunctionStringHash template.
2018-08-07 00:21:43 +03:00
Anton Popov
0d5c3b7967
Update 00678_murmurhash.sql 2018-08-06 23:53:28 +03:00
Anton Popov
0f2aceba02
Update 00678_murmurhash.reference 2018-08-06 23:52:56 +03:00
Alexey Milovidov
705cce48f0 Removed misleading comment [#CLICKHOUSE-3] 2018-08-06 23:07:50 +03:00
alexey-milovidov
72af99fdd5
Merge pull request #2814 from alesapin/master
Fix REPLACE PARTITION logic inside replicated merge tree
2018-08-06 20:18:30 +03:00
Alexey Zatelepin
6d7c1cfaa4 add test that empty parts correctly merge to an empty part [#CLICKHOUSE-3879] 2018-08-06 19:54:00 +03:00
Alexey Zatelepin
1f2d4f90b9 allow empty parts after merge for Summing, Collapsing and VersionedCollapsing engines [#CLICKHOUSE-3879] 2018-08-06 19:54:00 +03:00
chertus
b700d7c7db minor changes 2018-08-06 16:48:40 +03:00
alesapin
134da31177 CLICKHOUSE-3880: Fix comment 2018-08-06 16:18:52 +03:00
alesapin
425918afe1 CLICKHOUSE-3880: Fix replace partition logic inside replicated merge tree 2018-08-06 15:59:51 +03:00
chertus
c590a74981 Merge branch 'master' into decimal 2018-08-06 13:38:18 +03:00
alesapin
b321963b35 CLICKHOUSE-3880: Test for REPLACE PARTITION with failover cases 2018-08-06 13:01:08 +03:00
Anton Popov
efddb89d18
Merge branch 'master' into CLICKHOUSE-3785 2018-08-06 12:42:01 +03:00
ap11
58fe7b3cfc add tests 2018-08-06 12:38:26 +03:00
ap11
2d41b958a3 add test 2018-08-06 12:35:13 +03:00
Alexey Milovidov
2016374d20 Merging #2226 2018-08-05 10:05:43 +03:00
Alexey Milovidov
b9914d6bcd Revert "Updated tests #2094"
This reverts commit 47554229c0.
2018-08-05 09:19:49 +03:00
Alexey Milovidov
d99ef95846 Revert "Check for ambiguous column names in subqueries #2094"
This reverts commit 36eae150d6.
2018-08-05 09:18:53 +03:00
Alexey Milovidov
47554229c0 Updated tests #2094 2018-08-05 08:25:37 +03:00
Alexey Milovidov
cf2df6d780 Added a test from Stas Sviridov #2083 2018-08-05 07:56:19 +03:00
Alexey Milovidov
ab96e1d581 Imported test from #2094 2018-08-05 07:06:49 +03:00
Alexey Milovidov
36eae150d6 Check for ambiguous column names in subqueries #2094 2018-08-05 07:02:29 +03:00
Alexey Milovidov
5bce1d78b0 Correct number of columns is returned from an element of UNION ALL inside a subquery if some column was queried more than once #2786 2018-08-05 06:28:31 +03:00
Alexey Milovidov
fd42e90b2a Merging; added a test #2618 #2611 #1770 2018-08-03 23:25:47 +03:00
Alexey Zatelepin
a70301d1f2 add tests for mutations cleaner [#CLICKHOUSE-3828] 2018-08-03 22:21:44 +03:00
Alexander Marshalov
154d7e3228 Added SETTINGS clause for Kafka storage engine 2018-08-03 21:51:28 +03:00
chertus
a338f657d5 unari arithm operations for decimal (partial support) 2018-08-03 19:32:55 +03:00
chertus
e31e4e164f add least and greatest funcs for decimal 2018-08-03 17:46:02 +03:00
chertus
a5a7dc0fdd Merge branch 'master' into decimal 2018-08-03 13:30:27 +03:00
chertus
36b8204114 one more minor fix 2018-08-03 13:28:31 +03:00
chertus
65882bc42e minor fix 2018-08-03 13:20:44 +03:00
chertus
e1881d4cfb fix decimal vs int arithm, add some tests 2018-08-02 17:28:55 +03:00
zhang2014
d61c53fc3e ISSUES-863 support predicate push down with subquery 2018-08-01 17:56:02 +08:00
alexey-milovidov
405d7f9232
Merge pull request #2742 from yandex/support-join-on-syntax
Support join on syntax
2018-08-01 00:30:46 +03:00
alesapin
2db2d208e1 CLICKHOUSE-3863: Add HTTPS support for interserver replication 2018-08-01 00:29:47 +03:00
Alexey Milovidov
3caadfadc6 Fixed test #2750 2018-07-31 04:24:32 +03:00
chertus
321615ce56 make 00700_decimal_bounds test stable 2018-07-30 22:19:06 +03:00
chertus
4a1b7cfebf Merge branch 'master' into decimal 2018-07-30 21:51:08 +03:00
Alexey Milovidov
cfb3537eb6 Updated test #2756 2018-07-30 21:26:20 +03:00
chertus
582f76c83b string to decimal, decimal to string, check decimal bounds 2018-07-30 21:10:38 +03:00
Alexey Milovidov
2fb75a88c3 Fixed test #2756 2018-07-30 20:43:13 +03:00
alexey-milovidov
be657c33e6
Merge pull request #2756 from CurtizJ/CLICKHOUSE-3785
Clickhouse 3785 Add MurmurHash2
2018-07-30 18:57:38 +03:00
zhang2014
9e052b13d1 ISSUES-2700 add funnel window crash test 2018-07-30 18:51:06 +03:00
ap11
45ce69e73d Add case insensitive coalesce ifnull, nullif. 2018-07-30 18:50:12 +03:00
ap11
d45ce92b89 add tests for murmurhash2 2018-07-30 16:41:07 +03:00
alesapin
79607b9118 CLICKHOUSE-3852: Add tests for config parser 2018-07-29 04:58:05 +03:00
Alexey Milovidov
a2101df25a Fixed error in aggregate function "anyHeavy"; added a test [#CLICKHOUSE-3867] 2018-07-27 22:51:13 +03:00
Alexey Milovidov
448bcdfdb4 Added a test [#CLICKHOUSE-3855] 2018-07-27 21:17:32 +03:00
chertus
845edbe242 CLICKHOUSE-2: support negative tests 2018-07-27 20:41:05 +03:00
alesapin
a28cf1ed98 Remove wrong option 2018-07-27 20:25:51 +03:00
Nikolai Kochetov
b5d6240646 Merged with master 2018-07-27 19:21:43 +03:00
Nikolai Kochetov
a2cd7016e5 Added test for join on syntax. [#CLICKHOUSE-3761] 2018-07-27 19:04:17 +03:00
alexey-milovidov
9242588449
Merge pull request #2708 from VadimPE/CLICKHOUSE-3837
CLICKHOUSE-3837 Add support for table function in remote() and cluster()
2018-07-26 21:36:04 +03:00
alexey-milovidov
1140a07b58
Merge pull request #2729 from amosbird/master
Use docker exec to operate on kafka.
2018-07-26 21:34:04 +03:00
Vadim
ad006166b5
Update 00675_shard_remote_with_table_function.sql 2018-07-26 20:50:32 +03:00
alexey-milovidov
24b0be2cf0
Merge pull request #2727 from alesapin/CLICKHOUSE-3832
CLICKHOUSE-3832: Add HTTP Basic authentification in replication protocol
2018-07-26 20:50:09 +03:00
Vadim
da41c5cf47
Update 00675_shard_remote_with_table_function.sql 2018-07-26 20:49:51 +03:00
Amos Bird
54a08ed018 Use docker exec to operate on kafka. 2018-07-27 01:24:35 +08:00
VadimPE
894c5b356d CLICKHOUSE-3837 2018-07-26 19:15:15 +03:00
Alexey Zatelepin
02946d2bc1 Revert "Set up dns server for kafka integration tests."
This reverts commit 1c75c19106.
2018-07-26 18:52:50 +03:00
VadimPE
5c4b4e96f7 CLICKHOUSE-3837 fix test 2018-07-26 18:33:07 +03:00
VadimPE
bb5d8db9a1 CLICKHOUSE-3837 fix tests 2018-07-26 18:13:00 +03:00
alesapin
6abbfbce87 CLICKHOUSE-3832: Add HTTP Basic authentification in replication protocol 2018-07-26 18:10:57 +03:00
Alexey Milovidov
ec202a7fd0 Allow to start cluster with Kafka without pytest #2725 2018-07-26 17:40:33 +03:00
alexey-milovidov
2854818378
Update 00675_remote_with_table_function.sql 2018-07-26 14:38:07 +03:00
VadimPE
63ac512c60 CLICKHOUSE-3837 add tests 2018-07-26 11:06:06 +03:00
Amos Bird
1c75c19106 Set up dns server for kafka integration tests. 2018-07-26 12:53:48 +08:00
Amos Bird
c9a8759e08
Update README.md
kafka integration test uses this package https://github.com/dpkp/kafka-python
2018-07-26 00:34:40 +08:00
Alexey Milovidov
9079bdad4e Updated README #2701 2018-07-25 19:27:38 +03:00
Alexey Milovidov
b4556cc598 ~/work/ClickHouse/dbms/tests/integration$ find . -name '*.py' | xargs sed -i -r -e 's/macroses/macros/g' # [#CLICKHOUSE-2] 2018-07-25 19:00:51 +03:00
Amos Bird
0965f991b3 Add row_delimiter argument to StorageKafka.
There are common cases where a message doesn't end with a row delimiter.
This patch allows specifying a row_delimiter char to compensate that.

https://github.com/yandex/ClickHouse/issues/2298
2018-07-25 18:54:01 +03:00
Amos Bird
15cc1cf91b Fix integration test.
without specifying errorlog, I got

```
E               Logging trace to /var/log/clickhouse-server/clickhouse-server.log
E               Logging errors to clickhouse-server.err.log
E               Poco::Exception. Code: 1000, e.code() = 13, e.displayText() = Access to file denied: /clickhouse-server.err.log, e.what() = Access to file denied
```
2018-07-25 12:29:16 +03:00
zhang2014
7e87fa8e18 ISSUES-2688 support on cluster for kill & optimize query 2018-07-24 22:07:13 +03:00
Alexey Milovidov
7c07f46d50 Style [#CLICKHOUSE-2] 2018-07-24 21:46:23 +03:00
Alexey Milovidov
5ce488ebe3 Merge branch 'master' of github.com:yandex/ClickHouse 2018-07-23 21:13:18 +03:00
Alexey Milovidov
d400b4e9db Added test #2699 2018-07-23 21:12:48 +03:00
Alexey Zatelepin
4c4da31cc2 check number of arguments for -Array combinator [#CLICKHOUSE-3853] #2703 2018-07-23 19:54:25 +03:00
proller
c58584fbe7 clickhouse-test-server: allow run with build in source (cmake .) 2018-07-20 15:40:11 +03:00
Alexey Milovidov
9af2a9179e Added test #2677 2018-07-20 03:00:04 +03:00
Vadim
b8ae9f7951 [CLICKHOUSE-2830] add FunctionArrayDistinct (#2670)
* [CLICKHOUSE-2830] add FunctionArrayDistinct

* [#CLICKHOUSE-2830] Add tests and fix

* [CLICKHOUSE-2830] fix bug with array without NULL

* [CLICKHOUSE-2830] fix test

* [CLICKHOUSE-3844] Add suport Tuple and other types in Uniq, EnumerateUniq and Distinct

* [CLICKHOUSE-3844] Add '\n'

* [CLICKHOUSE-3844] fix

* [CLICKHOUSE-2830] del Nullable return type

* Update FunctionsArray.cpp

* [CLICKHOUSE-3844] add new tests

* [CLICKHOUSE-3844] add new tests
2018-07-19 16:53:32 +03:00
alesapin
ae44b41318 CLICKHOUSE-3842: Fix loadKeys method in dictionary library 2018-07-19 16:51:57 +03:00
alexey-milovidov
f491bccb1c Update 00633_func_or_in.sql 2018-07-18 09:27:25 +03:00
chenxing.xc
9bf6f8a62c add test for #2663 2018-07-18 09:27:25 +03:00
Constantin S. Pan
8539c1e119 Fix the column size difference bug in SummingMergeTree 2018-07-18 00:17:04 +03:00
Alexey Milovidov
09d9ac671b Added a test #2657 2018-07-16 19:31:34 +03:00
Alexey Milovidov
9de268a455 Added a test from Silviu Caragea #2026 2018-07-16 09:06:44 +03:00
Alexey Milovidov
0a2e6eca45 Implemented generic case for comparison operators #2026 2018-07-16 09:06:44 +03:00
Alexey Milovidov
7540bdfa29 Merge branch 'master' of github.com:yandex/ClickHouse 2018-07-16 07:22:25 +03:00
Alexey Milovidov
52b284a67f Updated README for integration tests [#CLICKHOUSE-2] 2018-07-16 07:22:16 +03:00
Alexey Milovidov
6a2d8d4f3f Added support for arbitary complex types in "uniq" family of aggregate functions #2010 2018-07-16 06:55:41 +03:00
Alexey Milovidov
77ed75e1d3 Merge branch 'master' into amosbird-master 2018-07-16 06:34:22 +03:00
alexey-milovidov
947c5eb6c9
Avoid accidential truncating table in default database in test. 2018-07-16 06:32:43 +03:00
Alexey Zatelepin
b1a97f90fc add test [#CLICKHOUSE-3748] 2018-07-16 06:22:22 +03:00
Alexey Milovidov
ad3d882b67 Mitigate race condition in test [#CLICKHOUSE-2] 2018-07-16 04:10:41 +03:00
Alexey Milovidov
63d3d9c8ed Added a test from Silviu Caragea #1322 2018-07-16 03:30:13 +03:00
Alexey Milovidov
13e5b246f8 Added test #1322 2018-07-16 03:30:13 +03:00
filimonov
d13c6f6823 deadlinks2 2018-07-16 03:22:42 +03:00
alexey-milovidov
9793ae98e0
Merge pull request #2521 from ssmike/CLICKHOUSE-3547
CLICKHOUSE-3547 streaming histogram aggregation
2018-07-11 15:48:12 +03:00
Alexey Milovidov
8eea4ae9cd Fixed race condition in test #2604 2018-07-10 22:00:07 +03:00
Alexey Milovidov
e3b3c9f81b Added test for chroot in ZK [#MDBSUPPORT-204] 2018-07-10 19:14:27 +03:00
Amos Bird
f5764910c4 Fix TRUNCATE command for temporary tables. 2018-07-10 22:25:08 +08:00
Георгий Кондратьев
f8b53280a0 Do not add lib prefix to dictionary_library plugins
By convention plugins (libraries that are only meant for dlopen) do not have lib prefix.
2018-07-10 14:29:19 +03:00
Amos Bird
ea01a3b22e add OPTIMIZE FINAL support for ReplicatedMergeTree. 2018-07-09 18:03:23 +03:00
Alexey Milovidov
a34f1231f3 Fixed error with empty TinyLog table; added a test from Nickolay Kovalev #2563 2018-07-07 23:05:52 +03:00
Alexey Milovidov
d2a44248cd Fixed error with empty TinyLog table; added a test from Nickolay Kovalev #2563 2018-07-07 22:02:10 +03:00
Alexey Milovidov
c126b9a5ab Fixed trashy test #2115 2018-07-07 21:52:58 +03:00
Mikhail Surin
ca837723ed fix unique for empty point sets 2018-07-07 13:40:32 +03:00
Alexey Milovidov
c3b7abaa8b Added another test #2115 2018-07-06 22:47:08 +03:00
Alexey Milovidov
299d029d35 Added a test from Silviu Caragea #2115 2018-07-06 22:22:12 +03:00
Nikolai Kochetov
f676fed344 Added test with monotonic integer cast. 2018-07-06 18:55:26 +03:00
Amos Bird
78beacb3a5 Make OPTIMIZE be able to merge all parts with FINAL. 2018-07-05 21:32:54 +03:00
Alexey Zatelepin
fe83c8dab1 stricter validation of mutation commands #2588 2018-07-05 17:19:33 +03:00
Mikhail Surin
0418f179dc merge review 2018-07-05 16:29:43 +03:00
Alexey Zatelepin
88951cac62 clearer error message in test 2018-07-05 16:29:22 +03:00
Mikhail Surin
f598e6d47c add tests 2018-07-05 12:53:42 +03:00
Alexey Milovidov
018e48399e Make the test results more stable with respect to floating point calculations method #2521 2018-07-05 01:37:48 +03:00
Alexey Milovidov
bfc29a3b91 Updated test #2521 2018-07-05 01:32:55 +03:00
Alexey Milovidov
efb4eab4fd Merge branch 'CLICKHOUSE-3547' of https://github.com/ssmike/ClickHouse into ssmike-CLICKHOUSE-3547 2018-07-05 00:29:40 +03:00
Alexey Milovidov
c6eaca7c67 Adaptations #2574 2018-07-05 00:15:29 +03:00
Alexey Milovidov
7bdafa6105 Merge branch 'master' of https://github.com/amosbird/ClickHouse into amosbird-master 2018-07-04 23:54:54 +03:00
Alexey Milovidov
47958bee7c Merge branch 'feature-agg-func-in-summing-merge-tree' of https://github.com/kvap/ClickHouse into kvap-feature-agg-func-in-summing-merge-tree 2018-07-04 23:34:28 +03:00
Alexey Milovidov
4535f96148 Implemented TODO #2584 2018-07-04 20:28:52 +03:00
Alexey Milovidov
8fd1dbf6ec Make the test compatible with different versions of curl #2490 2018-07-04 20:28:52 +03:00
Alexey Milovidov
76e35959fb Fixed test #2490 2018-07-04 20:28:52 +03:00
Nikolai Kochetov
d49a39e5e5 Added test with runningDifference function. #2590 2018-07-04 20:25:48 +03:00
Alexey Milovidov
f00f9d1f9a Merge branch 'master' into CLICKHOUSE-2910 2018-07-04 16:29:58 +03:00
Alexey Zatelepin
48c48c6c9a add functional test for mutations of Replicated tables [#CLICKHOUSE-3747] 2018-07-02 22:34:15 +03:00
Nikolai Kochetov
67755fe882 Added test. #2580 2018-07-02 20:46:33 +03:00
Nikolai Kochetov
6e5e57353a Review fixes. [#CLICKHOUSE-3694] #2156 2018-06-29 19:18:50 +03:00
Nikolai Kochetov
f5ecd410ae Renamed test. 2018-06-29 17:05:02 +03:00
Alexey Zatelepin
3cbced0d2a add integration test for mutations of Replicated tables [#CLICKHOUSE-3747] 2018-06-29 16:46:28 +03:00
Amos Bird
900b046943 Add options to enable parsing CSV with single/double quote. 2018-06-29 15:34:55 +08:00
Alexey Milovidov
e051998e1c Renamed setting "send_logs_level" #2482 2018-06-28 23:11:14 +03:00
alexey-milovidov
3904ba561f
Merge branch 'master' into CLICKHOUSE-2910 2018-06-28 20:47:25 +03:00
Alexey Milovidov
d4eefc414c Merge branch 'query_in_form_data' of https://github.com/stavrolia/ClickHouse into stavrolia-query_in_form_data 2018-06-28 20:34:58 +03:00
Nikolai Kochetov
29ef36a270 Added test. [#CLICKHOUSE-3794] 2018-06-28 20:15:12 +03:00
Alexey Milovidov
6f21706f65 Added test #2553 2018-06-28 19:05:41 +03:00
Alexey Milovidov
493b67d051 Removed useless file [#CLICKHOUSE-2] 2018-06-28 18:59:39 +03:00
stavrolia
5966b78d41 add case with external file 2018-06-27 21:53:11 +03:00
Constantin S. Pan
59e7af6926 Add a test with materialized view against null table and lots of data 2018-06-26 16:26:51 +01:00
Nikolai Kochetov
0eed697623 Fixed typo. 2018-06-26 14:28:24 +03:00
Constantin S. Pan
cc4c4e0b49 Make the test more comprehensive and fix bugs in AggregateFunction implementation of SummingMergeTree 2018-06-26 11:28:42 +01:00
stavrolia
e1cd4d22db Add test (#2490) 2018-06-25 21:17:10 +03:00
Nikolai Kochetov
ba4cf6faf0 Merged with master. 2018-06-25 15:08:21 +03:00
Nikolai Kochetov
7c95d15374 Added test. #2525 2018-06-25 13:57:28 +03:00
Mikhail Surin
021f3b564b add tests 2018-06-22 21:30:13 +03:00
Alexey Zatelepin
7ce4ebf1e1 fix test (disable random component in CleanupThread sleep period) 2018-06-22 18:53:59 +03:00
Constantin S. Pan
1333b5e97b Fix the test for AggregateFunction in SummingMergeTree 2018-06-22 16:29:04 +01:00
Alexey Zatelepin
b247635acf disable unreliable test [#CLICKHOUSE-3758] 2018-06-22 13:46:07 +03:00
zhang2014
f4e72792a5 ISSUES-2553 add offset parameter to numbers 2018-06-22 12:55:36 +03:00
proller
2d9d723d3c Wait test server startup for 5s 2018-06-21 17:54:48 +03:00
Vitaliy Lyudvichenko
1a4157f2a9 clickhouse_common_io does not depend on dbms. [#CLICKHOUSE-2910]
Get rid of extra linking dependencies for clickhouse_common_io. [#CLICKHOUSE-2910]
2018-06-21 15:13:56 +03:00
Vitaliy Lyudvichenko
358e4ae9bf Fixed failures in utils, more precise test. [#CLICKHOUSE-2910] 2018-06-20 18:41:15 +03:00
Vitaliy Lyudvichenko
310bb4116e Merge remote-tracking branch 'origin/master' into CLICKHOUSE-2910 2018-06-19 23:33:11 +03:00
Sergei Tsetlin (rekub)
987644e1e7 shift arguments, some problem seems found! 2018-06-19 16:36:53 +03:00
Sergei Tsetlin (rekub)
32557a36c5 test aggregation state multiply 2018-06-19 14:21:44 +03:00
proller
a4e6f726e8 Build and test fixes 2018-06-19 00:13:11 +03:00
Vitaliy Lyudvichenko
8dc1bebf00 Add logs forwarding from remote severs to client. [#CLICKHOUSE-2910] 2018-06-18 19:30:26 +03:00
Vitaliy Lyudvichenko
392f6e0c6c Print query_id in logs. Add own logging interface. [#CLICKHOUSE-2910] 2018-06-18 16:41:13 +03:00
alexey-milovidov
239021eb7a
Merge pull request #2501 from alesapin/master
Add table function url and storage URL.
2018-06-16 08:56:15 +03:00
alexey-milovidov
e6daa67beb
Merge pull request #1890 from yandex/lz4_experiments
Faster LZ4 decompression (experimental) + simple draft of data mutator.
2018-06-16 04:57:47 +03:00
Constantin S. Pan
ca88ba7cfa Add a test for AggregateFunction in SummingMergeTree 2018-06-15 16:11:43 +01:00
alesapin
4125b0c7f3 Merge remote-tracking branch 'upstream/master' 2018-06-14 21:06:24 +03:00
Vitaliy Lyudvichenko
608895d9ff Disable compression for Log packets. [#CLICKHOUSE-2910] 2018-06-14 18:33:59 +03:00
Vitaliy Lyudvichenko
4cd230f85c Merge remote-tracking branch 'origin/master' into CLICKHOUSE-2910 2018-06-14 16:04:00 +03:00
Vitaliy Lyudvichenko
95b42afcb9 Add test for profile events logging. [#CLICKHOUSE-2910] 2018-06-14 14:56:12 +03:00
Alexey Milovidov
95e4bcdb56 Fixed non-deterministic test #2352 2018-06-13 22:42:04 +03:00
alesapin
567bbb2bbb Fix header path and small fixes in tests 2018-06-13 10:36:47 +03:00
alesapin
ceef414cb8 Add simple tests for table function url and table function engine 2018-06-12 18:59:43 +03:00
Alexey Milovidov
777ace12b4 Added test #1890 2018-06-12 06:44:53 +03:00
Alexey Milovidov
6475ea98c7 Merging: Fixed most of problems, actualized test #2260 2018-06-09 21:17:27 +03:00
Alexey Milovidov
d864f39ec7 Merge branch 'master' into zhang2014-feature/support_truncate 2018-06-09 19:10:06 +03:00
Vitaliy Lyudvichenko
c04dfb40a6 Fixed memory tracking. [#CLICKHOUSE-2910] 2018-06-09 18:29:08 +03:00
Alexey Milovidov
0bc678474e Merge branch 'feature/support_truncate' of https://github.com/zhang2014/ClickHouse into zhang2014-feature/support_truncate 2018-06-09 17:24:50 +03:00
Vitaliy Lyudvichenko
ed7cd86f09 Fixed several bug. Trun on --server_logs_level=warning in tests. [#CLICKHOUSE-2910]
Fixed several test to be compatible with --server_logs_level=warning.
2018-06-08 22:50:15 +03:00
Alexey Milovidov
f45c0ce9a9 Added instruction to use TScanCode [#CLICKHOUSE-2]. 2018-06-08 21:52:37 +03:00
alexey-milovidov
77fd2f3721
Merge pull request #2484 from yandex/format-settings
Allowed to switch between 'basic' and 'best effort' methods of parsing DateTime values from text formats.
2018-06-08 21:46:07 +03:00
Alexey Milovidov
64ea1046e1 Using ninja by default: updated instructions [#CLICKHOUSE-2] 2018-06-08 19:18:07 +03:00
Alexey Milovidov
c937e2ebc6 Added test #1710 2018-06-08 06:27:44 +03:00
Alexey Milovidov
f483e4cb05 Added test for already fixed issue [#CLICKHOUSE-3750] 2018-06-08 00:27:05 +03:00
alexey-milovidov
7bae3506c4
Merge pull request #2483 from yandex/cast-fix-bad-code
Fixed bad code in implementation of CAST expression.
2018-06-08 00:25:30 +03:00
Alexey Milovidov
27fac69f1a Actualized tests [#CLICKHOUSE-3764] 2018-06-08 00:09:57 +03:00
Alexey Milovidov
8901414ad2 Fixed error; added test [#CLICKHOUSE-3764] 2018-06-07 23:49:59 +03:00
Alexey Milovidov
f71eb36719 Added test [#CLICKHOUSE-3764] 2018-06-07 23:37:16 +03:00
alexey-milovidov
a0592aa7a7
Merge pull request #2472 from alesapin/master
Introduce logging in shared library dictionaries
2018-06-07 22:04:38 +03:00
alesapin
40c2b21b65 Change dictionary shared library api to v3. Both in library and examples. 2018-06-07 20:41:14 +03:00
proller
cb65528147 Build fixes (#2481)
* Build fixes

* fix

* Fix package without compiler

* Better

* fix

* fix

* fix

* Build fix

* fix

* fix

* fix

* Build fix

* Fix test

* test fixes

* test: netcat-openbsd

* Compile fixes

* Update AggregateFunctionStatisticsSimple.h

* Update FunctionsRound.h
2018-06-07 17:42:38 +03:00
alexey-milovidov
be4be0758a
Remove escaping in presentational formats (#2476)
* Removed escaping in presentational formats; changed a way how NULL is output #1729

* Addition to prev. revision #1729

* Addition to prev. revision #1729

* Updated tests #1729

* Updated function visibleWidth to be consistent with Pretty formats #1729
2018-06-07 04:30:29 +03:00
Alexey Milovidov
cc1691949a Modified tests #2429 2018-06-07 00:15:47 +03:00
Alexey Milovidov
5fa25968c8 Merge branch 'task_ends_starts' of https://github.com/VadimPE/ClickHouse into VadimPE-task_ends_starts 2018-06-06 23:36:22 +03:00
alesapin
2a39f05f99 Shared Library Dict Logging: Replace multiple functions with single one and add logging examples into test libraries 2018-06-06 23:21:16 +03:00
Vadim
57f961138e add \n 2018-06-06 22:55:08 +03:00
Vadim
2ca21dfde7 fix 2018-06-06 22:36:14 +03:00
Vadim
4b5e28a9d1 fix test's name 2018-06-06 21:49:43 +03:00
Vadim
fec000b8dc Add new tests and new impl 2018-06-06 21:22:49 +03:00
Alexey Milovidov
b6a6e391b8 Fixed minor security issue [#CLICKHOUSE-3758] 2018-06-06 21:05:35 +03:00
Alexey Milovidov
583b9af56f Fixed error: user settings don't apply when using session_id parameter [#CLICKHOUSE-3763] 2018-06-06 20:35:35 +03:00
proller
82a4565ebe
Build fixes (#2473) 2018-06-06 19:05:53 +03:00
Alexey Milovidov
51044279e5 Squashed #2471 2018-06-05 23:09:51 +03:00
proller
c1904d3c55
Build and test fixes (#2470) 2018-06-05 20:43:10 +03:00
alexey-milovidov
39e69b421a
Merge pull request #2468 from yandex/fix-partition-key-parts-pruning
Fix pruning of parts by conditions on partition key columns
2018-06-05 15:52:47 +03:00
Alexey Zatelepin
0e63004ecf add test [#CLICKHOUSE-3757] 2018-06-05 14:00:17 +03:00
proller
4d12a823da Use copy-headers from cmake. (working compiler test without package install) (#2456)
* Try use copy-headers from cmake [WIP]

* Using internal compiler without install

* 32bit Compile fix

* Fixes

* fix

* clean

* fix

* clean
2018-06-04 23:26:17 +03:00
alexey-milovidov
88efe5ad56
Merge pull request #2463 from yandex/pvs-studio
Fixes according to PVS-Studio report.
2018-06-04 22:59:47 +03:00
Alexey Milovidov
f467fb38c7 Fixed bug found by PVS-Studio; added test [#CLICKHOUSE-3] 2018-06-04 22:37:58 +03:00
Alexey Milovidov
47c24bb2ad Added instruction of running PVS-Studio [#CLICKHOUSE-3] 2018-06-04 22:35:02 +03:00
Nikolai Kochetov
bc2be6afe3 Added more tests for in function in with pk columns. 2018-06-04 17:10:54 +03:00
Nikolai Kochetov
5717b16165 Updated test with in syntax. [#CLICKHOUSE-3749] 2018-06-04 16:32:20 +03:00
Alexey Zatelepin
89ebe9c49f add SYSTEM SYNC REPLICA before OPTIMIZE FINAL for test stability 2018-06-01 22:51:36 +03:00
Alexey Zatelepin
af06ca5d3c Merge branch 'master' into replicated-mergetree-mutations 2018-06-01 16:21:14 +03:00
Alexey Zatelepin
8da32835d1 add needed file 2018-05-31 21:41:39 +03:00
Alexey Milovidov
848032ef16 Added test [#CLICKHOUSE-3726] 2018-05-31 21:28:47 +03:00
Alexey Zatelepin
f63d2dc3c8 cannot take a number of unlocked abandonable lock 2018-05-31 20:28:17 +03:00
Alexey Milovidov
eeefe89acd Added test [#CLICKHOUSE-3092] 2018-05-31 20:06:07 +03:00
Alexey Zatelepin
c9bb986330 Merge branch 'master' into replicated-mergetree-mutations
Conflicts:
	dbms/src/Storages/MergeTree/AbandonableLockInZooKeeper.h
	dbms/src/Storages/MergeTree/ReplicatedMergeTreePartCheckThread.cpp
	dbms/src/Storages/MergeTree/ReplicatedMergeTreeQueue.cpp
	dbms/src/Storages/MergeTree/ReplicatedMergeTreeQueue.h
	dbms/src/Storages/StorageReplicatedMergeTree.cpp
2018-05-31 18:52:42 +03:00
Babacar Diassé
3d518e48b9 NULL check to allow insertion in distributed tables with Materialized views 2018-05-31 17:21:35 +03:00
Vitaliy Lyudvichenko
888f5f4a24 Allow merges after CLEAR COLUMN. [#CLICKHOUSE-3]
Resolves #2315
2018-05-31 17:14:50 +03:00
proller
dc721ed721 Try make cache for getSampleBlock (#2313)
* Cache for getSampleBlock

* Update InterpreterSelectWithUnionQuery.cpp

* Update 00632_get_sample_block_cache.sql

* Add tests
2018-05-30 22:23:15 +03:00
Vadim
620b4a2587 fix tests 2018-05-30 02:21:20 +03:00
Vadim
cf9c03a7bd add test 2018-05-29 22:18:05 +03:00
proller
ead9493741 Build fixes 2018-05-29 20:54:48 +03:00
proller
6a70df6d26
Again fix test 00505_secure with random ports (#2436) 2018-05-28 23:55:13 +03:00
proller
895b8e6515
Fix test 00505_secure with random ports (#2433) 2018-05-28 23:38:46 +03:00
Alexey Zatelepin
f6c72f8e56 Merge branch 'master' into replicated-mergetree-mutations
Conflicts:
	dbms/src/Common/ActionBlocker.h
	dbms/src/Storages/MergeTree/ActiveDataPartSet.cpp
	dbms/src/Storages/MergeTree/ActiveDataPartSet.h
	dbms/src/Storages/MergeTree/MergeTreeData.h
	dbms/src/Storages/MergeTree/MergeTreeDataPart.cpp
	dbms/src/Storages/MergeTree/ReplicatedMergeTreeAlterThread.cpp
	dbms/src/Storages/MergeTree/ReplicatedMergeTreeLogEntry.cpp
	dbms/src/Storages/MergeTree/ReplicatedMergeTreeLogEntry.h
	dbms/src/Storages/MergeTree/ReplicatedMergeTreeQueue.cpp
	dbms/src/Storages/MergeTree/ReplicatedMergeTreeQueue.h
	dbms/src/Storages/MergeTree/ReplicatedMergeTreeRestartingThread.cpp
	dbms/src/Storages/StorageMergeTree.cpp
	dbms/src/Storages/StorageReplicatedMergeTree.cpp
	dbms/src/Storages/StorageReplicatedMergeTree.h
2018-05-28 18:37:30 +03:00
proller
ab3ab7f52d clickhouse-test-server: use random ports (#2425)
* Fix internal compiler includes with new clang

* debug copy_headers.sh

* Fix copy_headers.sh

* Use copy-headers from cmake

* Update rules

* pbuildeR: use random ports for testing

* critical fix

* clickhouse-test-server: use random ports

* fix

* fix
2018-05-25 23:52:20 +03:00
Alexey Zatelepin
2ab50c1f13 add test with inserts into Replicated tables from multiple threads [#CLICKHOUSE-3732] 2018-05-25 23:04:04 +03:00
proller
68ba523b23 Compile and doc fixes (#2410)
* Try fix travis

* fix

* Fix clickhouse-local shared-split link

* fix

* fix

* fix

* Build fixes

* Fix tinfo

* fix

* tinfo -> termcap

* termcap fix

* Better llvm version detect

* fix

* Debian postinst fix
Tests: use /usr/local if exists

* Compile and doc fixes

* fix

* fix

* fix

* macos fixes

* fix

* wip

* Update demangle.h

* Update demangle.cpp
2018-05-25 21:13:48 +03:00
proller
f1fdea74be pbuilder: use random ports for testing (#2424)
* Fix internal compiler includes with new clang

* debug copy_headers.sh

* Fix copy_headers.sh

* Use copy-headers from cmake

* Update rules

* pbuildeR: use random ports for testing

* critical fix
2018-05-25 21:05:30 +03:00
Vitaliy Lyudvichenko
42d5c6925c Removed bad test. [#CLICKHOUSE-2] 2018-05-23 21:29:35 +03:00
Vitaliy Lyudvichenko
87ad1df259 More atomic insert to MATERIALIZED VIEW. [#CLICKHOUSE-3743] 2018-05-23 19:18:04 +03:00
Vitaliy Lyudvichenko
c888903488
Add query ALTER TABLE t1 [REPLACE|ATTACH] PARTITION FROM t2
* Add ATTACH PARTITION FROM table for MergeTree. [#CLICKHOUSE-3546]

* Implemented replicated case on non-leader replica. [#CLICKHOUSE-3546]

* Disable merges in the dropping range. [#CLICKHOUSE-3546]

* DROP PARTITION is atomic and simpler now. [#CLICKHOUSE-3546]

* Implemented more SYSTEM queries. [#CLICKHOUSE-2931] [#CLICKHOUSE-3546]

SYSTEM queries:
RESTART REPLICAS
SYNC REPLICA db.name
STOP MERGES [db.name]
START MERGES [db.name]
STOP FETCHES [db.name]
START FETCHES [db.name]
STOP REPLICATED SENDS [db.name]
START REPLICATED SENDS [db.name]
STOP REPLICATION QUEUES [db.name]
START REPLICATION QUEUES [db.name]

* Fixed a bunch of bugs in REPLACE PARTITION. [#CLICKHOUSE-3546]

* Add tests for REPLACE PARTITION and SYSTEM. [#CLICKHOUSE-3546]

* Add system.part_log logging. [#CLICKHOUSE-3546]

* Fixed long wait in SYNC REPLICA. [#CLICKHOUSE-3546]

* Add requested changes. [#CLICKHOUSE-3546]

Fixed clickhouse-client bad return code.

* Add requested chenges. [#CLICKHOUSE-3546]

* Add requested chenges. [#CLICKHOUSE-3546]
2018-05-21 16:49:54 +03:00
zhang2014
c8f655c1aa ISSUES-2259 fix the test after the merge master 2018-05-21 11:38:46 +08:00
zhang2014
6613e56784 ISSUES-2259 support truncate syntax 2018-05-21 11:38:46 +08:00
alexey-milovidov
0fe2984d00
Merge pull request #2388 from yandex/fix-prepared-sets-creation
Fix prepared sets creation
2018-05-19 19:03:04 +03:00
Nikolai Kochetov
c932ce60c0 Added test with dummy recursive alias. [#CLICKHOUSE-3735] 2018-05-18 21:28:11 +03:00
proller
22d6afd2ad Debian postinst fix
Tests: use /usr/local if exists
2018-05-18 21:26:44 +03:00
proller
445f8800c3
Build fixes [WIP] (#2374) 2018-05-17 20:55:07 +03:00
Nikolai Kochetov
d0341077ee Added test with bug caused set indexing by ptr. [#CLICKHOUSE-3734] 2018-05-17 17:54:57 +03:00
Vitaliy Lyudvichenko
412c154045 Better configs for an integration test. [#CLICKHOUSE-2] 2018-05-15 21:25:54 +03:00
Nikolai Kochetov
664171a003 Added test for in syntax. 2018-05-15 18:38:04 +03:00
sundy-li
04c734d785 delete unused space 2018-05-15 03:02:59 +03:00
sundy-li
8a5990fc74 add integration test_storage_mysql 2018-05-15 03:02:59 +03:00
Vitaliy Lyudvichenko
e8b94b89e9 Removed dbg output, fixed test. [#CLICKHOUSE-2] 2018-05-14 17:14:58 +03:00
Vitaliy Lyudvichenko
d25338582d Speedup partition check, add more preformance output. [#CLICKHOUSE-2]
Faster partition check.

Added more debug info.
2018-05-14 17:14:58 +03:00
Nikolai Kochetov
6ba8cb922c Fix usage of columns from header in SummingSortedBlockInputStream. #2273 2018-05-14 13:48:50 +03:00
sundy-li
c56e9967f2 Add tests && docs 2018-05-13 16:18:35 +08:00
proller
0b386381ac Build fixes 2018-05-11 21:00:24 +03:00
proller
efe661b620 Build fixes (#2347)
* Try fix travis

* fix

* Fix clickhouse-local shared-split link

* fix

* fix

* fix

* Build fixes

* Fix tinfo

* fix

* tinfo -> termcap
2018-05-11 17:16:16 +03:00
Vitaliy Lyudvichenko
d292190d4b Try to fix broken test. [#CLICKHOUSE-2] 2018-05-11 16:53:39 +03:00
Vitaliy Lyudvichenko
990bcbb007 Add test for --help. [#CLICKHOUSE-3713] 2018-05-10 02:15:06 +03:00
Vitaliy Lyudvichenko
b4025e312e Use neat boost::program_options, more parameters. [#CLICKHOUSE-3713] 2018-05-10 02:15:06 +03:00
Vitaliy Lyudvichenko
5704de8774 Fixed settings passing in clickhouse-local and tmp dirs. [#CLICKHOUSE-3713] 2018-05-10 02:15:06 +03:00
Vitaliy Lyudvichenko
8746149965 More persistent directory names for replicas. [#CLICKHOUSE-2] 2018-05-09 07:55:08 +03:00
Vitaliy Lyudvichenko
704583968f Do not save resolved addresses in Connections. [#CLICKHOSUE-2]
Add disable_internal_dns_cache main config option.
2018-05-09 07:55:08 +03:00
Vitaliy Lyudvichenko
8fd72a6777 Add automatic DROP DNS CACHE, update of SYSTEM queries. [#CLICKHOUSE-3645] 2018-05-09 07:55:08 +03:00
proller
eb772b8001 gcc8 fixes (memset, uncaught_exception) 2018-05-08 22:44:54 +03:00
Tsarkova Anastasia
9412222f55 Add test. 2018-05-01 15:33:39 +02:00
alexey-milovidov
093c054b1f
Merge pull request #2263 from luc1ph3r/arbitrary-csv-delimiter
Support an arbitrary CSV delimiter
2018-04-27 13:13:09 -07:00
Ivan Zhukov
a9653e5759 Add a test for CSV input and output formatting 2018-04-27 03:49:44 +03:00
proller
bef63d1dd0 Test: fill CLICKHOUSE_CONFIG from args.configserver 2018-04-26 23:02:10 +03:00
Vitaliy Lyudvichenko
ed25e6d634 Fixed tests isolation. [#CLICKHOUSE-2] 2018-04-26 22:46:45 +03:00
Vitaliy Lyudvichenko
4695511b58 Fixed tests isolation. [#CLICKHOUSE-2] 2018-04-26 22:21:32 +03:00
Alexey Milovidov
2627a4da2e Better test #2066 2018-04-22 22:09:35 -07:00
Alexey Milovidov
afb7127c67 Better test #2066 2018-04-22 20:32:53 -07:00
Alexey Milovidov
958a3d7ee7 Fixed error with Arrays inside Nested data type; added a test #2066 2018-04-22 20:30:28 -07:00
Nikolai Kochetov
7e45661a38 merged with master 2018-04-20 22:51:21 +03:00
Alexey Milovidov
fb4a44a913 Added test #2257 2018-04-20 22:46:01 +03:00
Alexey Milovidov
970fda46fd Merge branch 'master' of github.com:yandex/ClickHouse 2018-04-20 22:22:24 +03:00
Alexey Milovidov
9c750c4786 Added test #2257 2018-04-20 22:22:03 +03:00
alexey-milovidov
60fade5de8 Revert "ISSUES-1885 UTF8 countCodePoints use SIMD" 2018-04-20 22:18:24 +03:00
Nikolai Kochetov
a6375d6155 merged with master 2018-04-20 17:15:03 +03:00
Alexey Milovidov
72f9f927ac Added test result #2246 2018-04-20 00:38:45 +03:00
Alexey Milovidov
02abff4fdb Added failing test #2246 2018-04-19 23:45:27 +03:00
张健
e9b03b3abc ISSUES-2242 add default data_path & metadata_path for system.tables with temporary (#2243) 2018-04-19 23:22:08 +03:00
Nikolai Kochetov
dd10c2073c merged with master 2018-04-19 18:10:44 +03:00
alexey-milovidov
0612977bc3
Merge pull request #1925 from zhang2014/fix/ISSUES-995
ISSUES-995 support relative path with domain
2018-04-19 07:19:23 +03:00
Alexey Milovidov
dcdaa2c7bc Added performance test #1925 2018-04-19 06:24:27 +03:00
Alexey Milovidov
ea5dac67d6 More tests #2134 2018-04-19 06:10:10 +03:00
alexey-milovidov
b23db369f4
Merge pull request #2134 from zhang2014/fix/union_syntax
ISSUES-2133 Support union query with subquery
2018-04-19 05:42:52 +03:00
alexey-milovidov
d0b6ac9fa0
Merge pull request #2238 from alex-krash/master
Regression test for bug in 1.1.54370
2018-04-18 23:40:06 +03:00
alexey-milovidov
0b26539313
Update 00621_regression_for_in_operator.sql 2018-04-18 23:39:53 +03:00
Alexey Milovidov
91e740da4c Actualized tests [#CLICKHOUSE-2] 2018-04-18 22:54:15 +03:00
Alexandr Krasheninnikov
3065ebe571 Regression test for bug in 1.1.54370 2018-04-18 15:14:21 +03:00
proller
f8dc8f32d5 Writing changelog (#2215)
* Maybe fix flappy test

* Make changelog

* Revert "Temporary revert doc about new package name (clickhouse-server vs cickhouse-server-common)"

This reverts commit 721153ed53.

* Revert "Temporary revert site about new package name (clickhouse-server vs clickhouse-server-common)"

This reverts commit ba5cb121ae.

* Better changelog

* Better

* Better changelog

* more

* Update CHANGELOG_RU.md

* Update CHANGELOG_RU.md

* Update CHANGELOG_RU.md
2018-04-17 23:57:02 +03:00
alexey-milovidov
089e71d9a5
Merge pull request #2235 from yandex/small-enhancements
Small enhancements
2018-04-17 22:45:01 +03:00
Vitaliy Lyudvichenko
400ad55754 Support allow_databases in distributed DDL. [#CLICKHOUSE-3]
Resolves #2189
2018-04-17 22:33:58 +03:00
Vitaliy Lyudvichenko
bf832b3ea6 Fixed OPTIMIZE after RENAME of replicated table. [#CLICKHOUSE-2] 2018-04-17 20:59:42 +03:00
Alexey Milovidov
1fdea85e21 Adjusted racy test [#CLICKHOUSE-2] 2018-04-16 21:51:13 +03:00
Nikolai Kochetov
73cf78eec9 updated test 2018-04-16 18:48:27 +03:00
Nikolai Kochetov
9e05052c2a merged with master 2018-04-16 18:35:11 +03:00
Nikolai Kochetov
41229b201b Merge branch 'master' into fix-header-for-union-stream-in-distributed-2 2018-04-13 23:11:04 +03:00
proller
f9cd6a09e6 sql: initial EXTRACT(... FROM ...) support (#2196)
* start

* wip

* wip

* wip

* wip

* wip

* Fix clickhouse-server.postinst

* clean

* wip

* clean

* clean

* clean

* wip

* clean

* Update dump_variable.cpp
2018-04-13 22:35:08 +03:00
Alexey Milovidov
bc47a49d58 Added a test #2208 2018-04-13 21:49:23 +03:00
Nikolai Kochetov
d9ae4bedb8 added test 2018-04-11 22:10:25 +03:00
proller
0c2ba39978
Debian: Try make compatible package depends (#2194)
* Fix split shared build

* Fix build without system odbc libs

* Move dbms/src/Common/iostream_debug_helpers.h -> libs/libcommon/include/common/iostream_debug_helpers.h

* Fix build with libiodbc

* Fix clickhouse-server.postinst

* Debian: Try make compatible package depends

* Try fix fail on travis tests fail

* Try fix package

* Fix ssl test

* fix

* fix

* wip

* try fix

* clean

* fix
2018-04-10 11:25:08 -07:00
proller
07b81c875e CLICKHOUSE-3444: show error for old query on replace_running_query (#2127)
* Add tests

* Fix test

* Fix test build

* CLICKHOUSE-3444: show error for replace_running_query

* fix naming

* fix

* fix test

* Update IProfilingBlockInputStream.cpp
2018-04-07 06:49:49 +03:00
Alexey Milovidov
af226d62f5 Fixed totally wrong code in SummingMergeTree in the case of complex maps [#CLICKHOUSE-2] 2018-04-06 21:09:20 +03:00
Alexey Milovidov
47637c7885 Actualized test #1846 2018-04-06 19:26:38 +03:00
proller
e933d1a1ee
Cmake fixes (#2177)
* cmake fixes

* Fix test server config
2018-04-06 05:07:40 -07:00
Alexey Milovidov
ac58f92a97 Fixed error with IN where left hand side is nullable #1846 2018-04-06 08:12:47 +03:00
Alexey Milovidov
65ad97452b Added a test from Silviu Caragea #2113 2018-04-06 03:28:53 +03:00
Alexey Milovidov
cf1a2241af Updated test [#CLICKHOUSE-2] 2018-04-06 02:06:03 +03:00
Alexey Milovidov
e6e12e6490 Fixed test [#CLICKHOUSE-2] 2018-04-06 02:04:31 +03:00
Alexey Milovidov
4c2adf1f30 Fixed test #797 2018-04-06 02:00:19 +03:00
Alexey Milovidov
f66d2fb780 Allow to use FINAL even in case of single part #2086 2018-04-06 00:36:55 +03:00
Alexey Milovidov
da7975dc29 Added test #797 2018-04-05 23:43:35 +03:00
Alexey Milovidov
32f6adc5ed Added test #797 2018-04-05 23:41:55 +03:00
Alexey Milovidov
7d69a3363f Added test #1282 2018-04-05 23:29:19 +03:00
Alexey Milovidov
0b4a59c8b0 Fixed flappy test [#CLICKHOUSE-2] 2018-04-05 22:27:20 +03:00
Alexey Milovidov
dec4094e5b Removed test case that test for behaviour that was correct accidentially [#CLICKHOUSE-2] 2018-04-05 05:31:17 +03:00
Alexey Milovidov
f734a4523a Fixed bad test [#CLICKHOUSE-2] 2018-04-05 05:19:32 +03:00
Nikolai Kochetov
8f4b54d65b updated test #2170 2018-04-05 00:03:21 +03:00
Nikolai Kochetov
1ad3010c4a updated test [#CLICKHOUSE-3680] 2018-04-04 22:36:22 +03:00
Nikolai Kochetov
537c495a8e added test [#CLICKHOUSE-3680] 2018-04-04 00:17:22 +03:00
Alexey Milovidov
97431c90bd Renamed test [#CLICKHOUSE-2] 2018-04-02 22:24:03 +03:00
proller
6e03373b8d clickhouse-common-dbg -> clickhouse-common-static-dbg (#2157) 2018-04-02 21:44:19 +03:00
Alexey Milovidov
a5f05dc71e Added test #217 [#CLICKHOUSE-1942] 2018-04-02 21:19:47 +03:00
Alexey Milovidov
ad137994f9 Modifications after removing libzookeeper [#CLICKHOUSE-2] 2018-04-02 02:16:41 +03:00
proller
450efef456 Maybe fix test 00429_long_http_bufferization (remove curl timeout) 2018-03-29 22:12:24 +03:00
proller
a6f9df105c Allow use encryption for distributed tables (#2065)
* Allow use encryption for distributed tables

* wip

* fix

* rename encryption to secure

* Fix DirectoryMonitor with +secure

* fix

* fix

* Update DirectoryMonitor.cpp

* Update DirectoryMonitor.cpp
2018-03-29 04:41:06 +03:00
zhang2014
b00cb9d9b0 ISSUES-2133 Support union query with subquery 2018-03-29 09:06:17 +08:00
alexey-milovidov
ca5fd1e9de
Merge pull request #2033 from yandex/show-create-database
Show create database
2018-03-28 05:29:36 +03:00
Nikolai Kochetov
192409ebd2 added test 2018-03-27 22:14:54 +03:00
proller
348b7c3bda clickhouse-test: Fix run without server config 2018-03-27 18:08:51 +03:00
KochetovNicolai
d25c244946
Merge pull request #1882 from zhang2014/support/simd_for_lengthUTF-8
ISSUES-1885 UTF8 countCodePoints use SIMD
2018-03-26 18:27:07 +03:00
proller
405ad39cd4 Fix test 2018-03-23 22:45:33 +03:00
alexey-milovidov
d298f9af5c
Merge pull request #1959 from kshvakov/show-server-group-in-client
Возможность показывать группу сервера при подключении в клиенте
2018-03-23 19:26:22 +03:00
proller
7cdb6b5de1 Fix test 2018-03-23 19:25:02 +03:00
alexey-milovidov
3f320eb031
Merge branch 'master' into show-server-group-in-client 2018-03-23 19:23:25 +03:00
zhang2014
06d71a9493 ISSUES-218 add test for distributed & case when then 2018-03-23 18:42:06 +03:00
proller
b87cfd2924 Add tests 2018-03-23 18:36:50 +03:00
Vitaliy Lyudvichenko
883de7a2a6 startup() waits for initialization of ReplicatedMergeTreeRestartingThread. [#CLICKHOUSE-2] 2018-03-23 00:26:46 +03:00
Vitaliy Lyudvichenko
fe8dfd3038 Add minimalistic checksums. [#CLICKHOUSE-3660] 2018-03-23 00:26:46 +03:00
Nikolai Kochetov
6f60e6ee4f added test [#CLICKHOUSE-3663] 2018-03-22 23:18:11 +03:00
proller
9c9e918b78 Fix flapping test 00371_union_all 2018-03-20 22:18:56 +03:00
proller
f6f505ea33
better test in pbuilder (#2080)
* better test in pbuilder
2018-03-20 20:24:39 +03:00
Alexey Zatelepin
3effbc4411 add test [#CLICKHOUSE-3659] 2018-03-20 16:44:36 +03:00
Alexey Milovidov
590feb02b5 Fixed error; added test from Alexander Zaitsev [#CLICKHOUSE-2] 2018-03-19 17:29:40 +03:00
Alexey Milovidov
b916f17215 Implemented 'uniq' family of functions for generic case including Array argument #2010 2018-03-17 21:14:05 +03:00
Kirill Shvakov
109b73b947 fix CREATE TEMPORARY TABLE IF NOT EXISTS 2018-03-17 01:55:07 +03:00
Vitaliy Lyudvichenko
1f28410490 Fixed false positive error messages for queries with IN and ARRAY JOIN. [#CLICKHOUSE-2] 2018-03-16 17:11:49 +03:00
Alexey Milovidov
796c65a09f Added test [#CLICKHOUSE-2] 2018-03-16 10:04:51 +03:00
Alexey Milovidov
e845d34569 Miscellaneous [#CLICKHOUSE-2] 2018-03-16 04:15:50 +03:00
Alexey Milovidov
b2e4fd3098 Updated test [#CLICKHOUSE-2] 2018-03-15 22:29:53 +03:00
alexey-milovidov
b9339e0ea1
Merge pull request #2053 from yandex/small-enhancements
Small enhancements
2018-03-15 22:10:29 +03:00
alexey-milovidov
26ca895c0c
Merge pull request #2064 from yandex/sets-with-aliases
Sets for IN operator could be used via alias
2018-03-15 22:07:49 +03:00
Vitaliy Lyudvichenko
e77701bd4b Enable alisas for sets and tuples for IN operator. [#CLICKHOUSE-3]
Resolves #2044
2018-03-15 21:44:02 +03:00
proller
d9848d8904 Allow run test under gdb 2018-03-15 18:09:44 +03:00
Vitaliy Lyudvichenko
1f1870abd4 Add more priority to local ClusterCopier workers. [#CLICKHOUSE-2] 2018-03-14 23:49:18 +03:00
Vitaliy Lyudvichenko
f1b32e8982 Fixed ordinary MergeTree merges in case of empty ORDER BY key. [#CLICKHOUSE-2] 2018-03-14 23:49:18 +03:00
proller
d056d7e516
Fix ssl tests (#2042)
* Revert "Reverted bad modification #2035"

This reverts commit 6d6eca5e23.

* spaces

* fix

* better

* Revert "Disabled ill-formed test #2035"

This reverts commit b28cef9871.

* debug

* fix

* fix

* fix

* fix

* fix

* fix

* clean

* Tests compile fix
2018-03-14 19:57:15 +03:00
Alexey Zatelepin
b910e72946 stable order in a test 2018-03-14 15:30:39 +03:00
Alexey Milovidov
f08940c04c Fixed handling of NaNs in aggregate functions that use comparison based sorting #2012 2018-03-14 08:03:51 +03:00
Alexey Milovidov
688d277ad4 Adaptation #2012 2018-03-14 07:36:41 +03:00
alexey-milovidov
9ac2569c65
Merge branch 'master' into refactor-table-declaration 2018-03-14 05:35:50 +03:00
Alexey Milovidov
b28cef9871 Disabled ill-formed test #2035 2018-03-14 04:42:51 +03:00
proller
153fcd6c9f Fix double free in LibraryDictionarySource (#2028)
* Fix double free in LibraryDictionarySource

* Fix {}

* wip

* wip

* Better Exception

* Fix possible leak
2018-03-14 02:13:39 +03:00
alexey-milovidov
04cc8a52f7
Merge pull request #2032 from yandex/system-table-macro
System table macro
2018-03-14 02:10:30 +03:00
proller
304b4d3f99 Merge remote-tracking branch 'origin/fix' into fix 2018-03-14 00:26:03 +03:00
Vitaliy Lyudvichenko
16c8aefba2 Fixed test after refactoring. [#CLICKHOUSE-2] 2018-03-13 23:49:13 +03:00
proller
24651f7dd6 Fixes 2018-03-13 23:38:35 +03:00
proller
13879f7491 Test client-server ssl 2018-03-13 22:49:21 +03:00
Alexey Zatelepin
2f573e4f77 add tests [#CLICKHOUSE-3241] 2018-03-13 17:24:16 +03:00
Nikolai Kochetov
8b802ad774 added test for SYSTEM RELOAD CONFIG and system.macros [#CLICKHOUSE-3591] 2018-03-13 14:47:32 +03:00
alexey-milovidov
56deedfe9f
Merge pull request #2027 from yandex/CLICKHOUSE-3346
Sync insert and сluster copier enhancements
2018-03-12 20:58:53 +03:00
Nikolai Kochetov
5a07569c2a added test [#CLICKHOUSE-3590] 2018-03-12 18:22:14 +03:00
Vitaliy Lyudvichenko
30b69c84ae Fixed Illegal PREWHERE error for Merge tables over Distributed. [#CLICKHOUSE-3637] 2018-03-12 18:14:26 +03:00
Vitaliy Lyudvichenko
32b617e1d6 Fixed extra squashing leaded to too big timeouts. [#CLICKHOUSE-3346] 2018-03-11 21:36:09 +03:00
Alexey Milovidov
d0a7f05078 Renamed test [#CLICKHOUSE-2]. 2018-03-10 05:26:31 +03:00
Alexey Milovidov
5fc47bdfb1 Fixed error [#CLICKHOUSE-3627] 2018-03-10 03:26:17 +03:00
Alexey Milovidov
7577b1db14 Added function "throwIf" [#CLICKHOUSE-2543] 2018-03-10 03:18:57 +03:00
Alexey Milovidov
c653759714 Added another test #245 2018-03-10 02:24:38 +03:00
Alexey Milovidov
b581bbec68 Added test #245 2018-03-10 02:07:08 +03:00
Kirill Shvakov
8c4a7b774e Removed BB-Style macros for colors. Preparing prompt pattern once and replace current database in the cycle only. 2018-03-08 10:55:27 +02:00
zhang2014
21b62eabb6 ISSUES-258 add validation test for ISSUES-258 2018-03-08 09:21:45 +08:00
alexey-milovidov
e41e2fe613
Merge pull request #1912 from zhang2014/fix/ISSUES-369
ISSUES-369 add default database when create materialize view
2018-03-07 23:28:17 +03:00
alexey-milovidov
1ecb9dac72
Merge pull request #1901 from zhang2014/fix/ISSUES-117
ISSUES-117 add show create & exist temporary table
2018-03-07 22:53:11 +03:00
alexey-milovidov
2daf6be96c
Merge pull request #2004 from yandex/CLICKHOUSE-3616
Prohibited non-UInt8 constants in WHERE
2018-03-07 22:07:24 +03:00
Alexey Milovidov
b1467886f2 Added test [#CLICKHOUSE-2] 2018-03-07 21:59:22 +03:00
Alexey Zatelepin
ee91edaf70 fix test to conform to the new GROUP BY behaviour on empty tables 2018-03-07 18:09:26 +00:00
Vitaliy Lyudvichenko
17f39ab33f Add deferred initialization of shards if enabled_partitions are specified. [#CLICKHOUSE-3346] 2018-03-07 17:39:02 +03:00
Vitaliy Lyudvichenko
270b6c968e Speed up initialization, fixed settings passing. [#CLICKHOUSE-3346] 2018-03-07 17:39:02 +03:00
Vitaliy Lyudvichenko
d6635c3bf5 Fixed several integration tests. [#CLICKHOUSE-2] 2018-03-07 16:52:09 +03:00
Vitaliy Lyudvichenko
7c3d0344e8 Prohibited non-UInt8 constants in WHERE. [#CLICKHOUSE-3616] 2018-03-07 16:12:35 +03:00
Nikolai Kochetov
68357f3534 added macro.xml 2018-03-07 15:46:30 +03:00
Alexey Zatelepin
b0a4e1294d remove obsolete setting from test 2018-03-06 20:36:19 +00:00
zhang2014
38fe0698a1 ISSUES-369 add attach & detach test 2018-03-06 21:05:08 +08:00
Nikolai Kochetov
966a7d819b fix test 2018-03-05 19:15:17 +03:00
Nikolai Kochetov
7b983340b8 Merge branch 'remote-table-function-insert-into-local-replica' of github.com:yandex/ClickHouse into remote-table-function-insert-into-local-replica 2018-03-05 17:59:58 +03:00
Nikolai Kochetov
6c66f78f71 renamed shared tests 2018-03-05 17:59:51 +03:00
KochetovNicolai
9f12df3a86
Update 00459_group_array_insert_at.sql 2018-03-05 17:52:59 +03:00
KochetovNicolai
bf6cfadfbc
Update 00557_remote_port.sh 2018-03-05 17:23:33 +03:00
Nikolai Kochetov
f5b9ccf337 Merge branch 'remote-table-function-insert-into-local-replica' of github.com:yandex/ClickHouse into remote-table-function-insert-into-local-replica 2018-03-05 15:38:40 +03:00
Nikolai Kochetov
871a560b37 merged with master 2018-03-05 15:36:17 +03:00
Kirill Shvakov
3c09dacb5f fix test 2018-03-05 14:05:48 +02:00
Alexey Milovidov
c1a8659000 Updated instructions 2018-03-03 22:51:21 +03:00
Alexey Milovidov
c9b81fd917 Updated instructions 2018-03-03 22:50:02 +03:00
Alexey Milovidov
49bab773fd Updated instructions [#CLICKHOUSE-2] 2018-03-03 17:42:45 +03:00
Alexey Milovidov
fca64bb9da Updated instruction [#CLICKHOUSE-2] 2018-03-03 17:40:17 +03:00
Alexey Milovidov
ba481a6acd Fixed error with TOTALS [#CLICKHOUSE-3619] 2018-03-03 04:28:13 +03:00
Alexey Milovidov
13e8dd6198 Unified filename of test #1933. 2018-03-02 22:35:34 +03:00
alexey-milovidov
9b4ea7acde
Merge pull request #1933 from zhang2014/fix/ISSUES-1386
ISSUES-1386 add illegal column exception when drop exist depend
2018-03-02 22:33:57 +03:00
zhang2014
361a220743 Merge branch 'master' into fix/ISSUES-117 2018-03-02 19:06:11 +08:00
zhang2014
c400613f03 Merge branch 'master' into fix/ISSUES-369 2018-03-02 18:55:15 +08:00
zhang2014
4a38e97ed6 Merge branch 'master' into fix/ISSUES-1386 2018-03-02 18:03:18 +08:00
Alexey Milovidov
9024cf5fc8 Fixed test [#CLICKHOUSE-2]. 2018-03-02 10:43:47 +03:00
Alexey Milovidov
22bbc9f08c Added limit on size of AST after expansion of aliases [#CLICKHOUSE-18] 2018-03-02 09:33:17 +03:00
Alexey Milovidov
05893c1d44 Miscellaneous [#CLICKHOUSE-2] 2018-03-02 08:52:11 +03:00
zhang2014
ce2b100deb ISSUES-66 add insert into view test 2018-03-01 22:49:16 +08:00
Alexey Milovidov
37f9034575 Updated test #1550 2018-03-01 12:41:40 +03:00
Alexey Milovidov
ca60c0ccdf Added a test from Mikhail Kalashnikov for ALIAS columns in Distributed tables #590 #1947 2018-03-01 12:32:00 +03:00
Alexey Milovidov
a2e649f8c0 Updated test #1947 2018-03-01 11:56:12 +03:00
Alexey Milovidov
b162850754 Fixed error in checking limit on number of columns to read; added test for unnecessary columns removal inside subqueries with UNION ALL #1947 [#CLICKHOUSE-2210] 2018-03-01 11:46:59 +03:00
Alexey Milovidov
559da607fc Added test #878 2018-03-01 11:33:48 +03:00
Alexey Milovidov
8197574e37 Added test #1947 2018-03-01 11:07:46 +03:00
Alexey Milovidov
a27d27ac94 Added test #1947 [#CLICKHOUSE-3264] 2018-03-01 10:47:09 +03:00
Alexey Milovidov
0908ed1561 Added test #1947 2018-03-01 10:27:02 +03:00
Alexey Milovidov
4c87ae427d Added test #1947 2018-03-01 10:18:15 +03:00
Alexey Milovidov
37f27b3e4b Added a test for type conversions in UNION ALL #1947 2018-03-01 10:05:03 +03:00
Alexey Milovidov
0bd9575125 Added a test from FacedSID #859 2018-03-01 09:50:46 +03:00
Alexey Milovidov
322e0ef4ec Added a test from George #728 2018-03-01 09:35:54 +03:00
Alexey Milovidov
69e8133fdc Added a test by Stas Sviridov #320 2018-03-01 09:21:15 +03:00
Alexey Milovidov
f7e0912d81 Added support for LIMIT BY arbitary expressions [#CLICKHOUSE-3613] #1947 2018-03-01 08:24:56 +03:00
Alexey Milovidov
58f9d3decc Better test [#CLICKHOUSE-2] 2018-03-01 07:51:54 +03:00
Alexey Milovidov
cfe900c997 Fixed test #1947. 2018-02-28 23:05:29 +03:00
Vitaliy Lyudvichenko
f89d9dbfb9 Fixed segfault in an integration test. [#CLICKHOUSE-2] 2018-02-27 21:46:16 +03:00
alexey-milovidov
924cc3451f
Merge pull request #1955 from yandex/CLICKHOUSE-3606
Added consistent hashing functions
2018-02-27 10:52:41 +03:00
Vitaliy Lyudvichenko
cf5c378ed7 Add optimized version of sumbur hash, reduced buckets range. [#CLICKHOUSE-3606] 2018-02-27 03:01:51 +03:00
Vitaliy Lyudvichenko
8669983ce1 Add performance test. [#CLICKHOUSE-3606] 2018-02-26 22:00:40 +03:00
Alexey Milovidov
03d4c352ec Fixed bad test #1947 2018-02-26 21:39:21 +03:00
proller
566d66e858 Dictionary Library source: Persistent per-dictionary custom data store (#1917)
* LibraryDictionarySource: Support numeric types, initial support for strings

* Dictionary Library source with string types

* clang-format

* Dictionary Library source: Persistent per-dictionary custom data store

* Fix unused

* Allocate -> New

* Update examples

* fix
2018-02-26 19:57:14 +03:00
Vitaliy Lyudvichenko
4e27c268a1 Add clickhouse-copier description to the docs. [#CLICKHOUSE-3606] 2018-02-26 18:27:36 +03:00
Vitaliy Lyudvichenko
120530e44c Add requested changes. [#CLICKHOUSE-3606] 2018-02-26 15:14:20 +03:00
Alexey Milovidov
3772c88472 Removed bad code that may lead to (harmless) race condition [#CLICKHOUSE-2] 2018-02-24 04:31:42 +03:00
Vitaliy Lyudvichenko
11b4cf3163 Updated test. [#CLICKHOUSE-3606] 2018-02-24 01:47:35 +03:00
Vitaliy Lyudvichenko
077f413a0d Added consistent hashing functions. [#CLICKHOUSE-3606] 2018-02-24 00:22:52 +03:00
Alexey Milovidov
d4217d7aac Updated test [#CLICKHOUSE-2] 2018-02-23 14:37:49 +03:00
Alexey Milovidov
90ca41f049 Fixed test #1896 2018-02-23 11:23:31 +03:00
Alexey Milovidov
466837b17c Removed controversial feature #1896 2018-02-23 10:06:59 +03:00
Alexey Milovidov
0207760c05 Limit and quota on result must not apply for intermediate data in subqueries and INSERT SELECT [#CLICKHOUSE-3351] 2018-02-23 09:38:23 +03:00
Alexey Milovidov
640daaf052 Fixed test #1947 2018-02-23 04:00:47 +03:00
zhang2014
88693fe85e ISSUES-1386 add test 2018-02-23 07:14:51 +08:00
Alexey Milovidov
c44108d5eb Allow to CAST Nullable type to non-Nullable as long as there are no NULL values #1947 2018-02-23 00:20:02 +03:00
alexey-milovidov
b6f3f06ef3
Merge branch 'master' into CLICKHOUSE-3606 2018-02-22 02:13:38 +03:00
alexey-milovidov
533b5cbe00
Merge pull request #1938 from yandex/fix-replacing-merge-tree
Fix replacing merge tree vertical merge
2018-02-22 02:06:24 +03:00
alexey-milovidov
ee41f7000f
Merge pull request #1940 from yandex/CLICKHOUSE-3571
Try to reduce false positive of sanity check
2018-02-22 01:59:33 +03:00
alexey-milovidov
d4dcb9412c
Merge pull request #1941 from yandex/unsorted-mergetree
Fix MergeTree idiosyncrasies
2018-02-22 00:36:59 +03:00
Alexey Milovidov
02f7cc2d04 Fixed error with StorageMerge [#CLICKHOUSE-2]. 2018-02-21 23:24:29 +03:00
Alexey Milovidov
4055da5979 Fixed error with filtering of tables by _table virtual column in StorageMerge [#CLICKHOUSE-3583] 2018-02-21 22:44:22 +03:00
Alexey Milovidov
65f4fcc3e3 Merge branch 'master' into header-in-output-streams 2018-02-21 21:58:20 +03:00
Vitaliy Lyudvichenko
fbe4066c15 Add support of any partition key. [#CLICKHOUSE-3606] 2018-02-21 20:18:31 +03:00
Vitaliy Lyudvichenko
47becc0b92 Try to reduce false positive of sanity check. More detail dignostics. [#CLICKHOUSE-3571] 2018-02-21 20:06:29 +03:00
Alexey Zatelepin
6fdf82e452 allow the primary key and the partition key to use the same expression [#CLICKHOUSE-3455] 2018-02-21 18:43:24 +03:00
Alexey Zatelepin
e3422ea52e MergeTree without primary key [#CLICKHOUSE-3462] 2018-02-21 17:50:26 +03:00
Nikolai Kochetov
da9b8dbd2c added test for ReplacingMergeTree vertical merge #1914 2018-02-21 17:13:29 +03:00
Vitaliy Lyudvichenko
963c4a972e Fixe a compile test if the compliation if turn off. [#CLICKHOUSE-2] 2018-02-21 17:12:49 +03:00
Vitaliy Lyudvichenko
c80407ad8d Fixed ZK path in a test. [#CLICKHOUSE-2] 2018-02-21 16:52:17 +03:00
Alexey Zatelepin
de46ee4261 fix typo 2018-02-21 15:31:28 +03:00
Alexey Milovidov
8e91a5e1f1 Added test [#CLICKHOUSE-2] 2018-02-21 11:19:17 +03:00
Alexey Milovidov
a69bd2220a Merge branch 'master' into header-in-output-streams 2018-02-21 04:41:09 +03:00
Alexey Milovidov
f6eb5b4b01 Enhanced test [#CLICKHOUSE-3608] 2018-02-21 04:39:46 +03:00
Alexey Milovidov
3dd665179e Fixed error with components of Nested data structures without data and PREWHERE filtering [#CLICKHOUSE-3608] 2018-02-21 04:16:09 +03:00
Tsarkova Anastasia
65a4d300a3 Add test. 2018-02-20 23:19:04 +03:00
zhang2014
3f8c42c97d ISSUES-995 add test 2018-02-20 08:45:32 +08:00
Vitaliy Lyudvichenko
369f88f65d Rewritten and improved sync distributed insert. [#CLICKHOUSE-3346] 2018-02-19 20:26:47 +03:00
alexey-milovidov
0d38418122
Merge pull request #1926 from yandex/empty-string-floats
Deserialize empty strings as 0 when parsing Float columns
2018-02-19 16:29:03 +03:00
Alexey Zatelepin
8e3bf95f98 add test [#CLICKHOUSE-3603] 2018-02-19 16:00:11 +03:00
zhang2014
bf4813921c ISSUES-995 add test 2018-02-19 19:49:03 +08:00
Alexey Milovidov
74c56c2def Added method "getHeader" in IBlockOutputStream: development [#CLICKHOUSE-2] 2018-02-19 06:56:08 +03:00
Alexey Milovidov
25ba8d47bb Updated test [#CLICKHOUSE-1920] #51 2018-02-18 09:36:34 +03:00
Alexey Milovidov
6d17ca0a8b Return single row for aggregation without keys on empty set: updated tests [#CLICKHOUSE-1920] #51 2018-02-18 08:56:45 +03:00
Alexey Milovidov
47ff837c9f Return single row for aggregation without keys on empty set: development [#CLICKHOUSE-1920] #51 2018-02-18 08:39:39 +03:00
Alexey Milovidov
7415513151 Return single row for aggregation without keys on empty set: development [#CLICKHOUSE-1920] #51 2018-02-18 08:35:48 +03:00
Alexey Milovidov
0c0b1f43e9 Header in every stream: fixed non-deterministic test [#CLICKHOUSE-2] 2018-02-18 05:58:07 +03:00
Alexey Milovidov
95d2d68c7d Header in every stream: development [#CLICKHOUSE-2] 2018-02-18 05:22:32 +03:00
Alexey Milovidov
cb7719b062 Added test [#CLICKHOUSE-2754] 2018-02-18 00:26:22 +03:00
Alexey Milovidov
84c110a8ae Header in every stream: development [#CLICKHOUSE-2] 2018-02-17 07:18:29 +03:00
proller
db8ea9205c
LibraryDictionarySource: api v2 with strings (#1915)
* LibraryDictionarySource: Support numeric types, initial support for strings
2018-02-16 20:12:22 +03:00
zhang2014
079223b89d ISSUES-369 add test 2018-02-16 16:07:34 +08:00
Vitaliy Lyudvichenko
ca0cdc35eb A test was enhanced. [#CLICKHOUSE-2] 2018-02-15 18:48:26 +03:00
javi
e69421e7a6 fixed function and added test and doc 2018-02-15 16:53:55 +03:00
javi santana
c810db2a01 tests wip 2018-02-15 16:53:55 +03:00
Alexey Milovidov
e37aad9111 Merge branch 'master' of github.com:yandex/ClickHouse 2018-02-15 16:13:58 +03:00
Vitaliy Lyudvichenko
a4177287b1 Fixed too deep AST traversal. [#CLICKHOUSE-2] 2018-02-14 20:39:16 +03:00
zhang2014
f88f4567d0 ISSUES-117 add test 2018-02-14 12:37:39 +08:00
proller
971df7b853 Try fix travis. Use less travis tests (#1897)
* Try fix travis. Use less travis tests

* Disable capnp heavy test

* Travis: add gcc in pbuilder

* Fix

* fix
2018-02-13 21:00:06 +03:00
Vitaliy Lyudvichenko
075a3cd811 Use absoulte paths in Compiler. [#CLICKHOUSE-3573] 2018-02-13 13:32:14 +03:00
zhang2014
6033096fd1 ISSUES-1885 add performance test 2018-02-13 16:19:57 +08:00
Alexey Milovidov
d8ac2382c4 Added performance test #1889 2018-02-13 00:19:56 +03:00
Nikolai Kochetov
64b3a8baa7 added secondary sort expression [#CLICKHOUSE-3479] 2018-02-13 00:13:50 +03:00
Nikolai Kochetov
cd7a5290b2 added tests for ReplicatedVersionedCollapsingMergeTree creation [#CLICKHOUSE-3479] 2018-02-13 00:13:50 +03:00
Nikolai Kochetov
67db049297 moved tests for vertical merge into autotests [#CLICKHOUSE-3479] 2018-02-13 00:13:50 +03:00
Nikolai Kochetov
32bdf7c38c renamed MultiversionMergeTree to VersionedCollapsingMergeTree [#CLICKHOUSE-3479] 2018-02-13 00:13:50 +03:00
Nikolai Kochetov
81c61c9aa9 added test for vertical merge in MultiversionMergeTree [#CLICKHOUSE-3479] 2018-02-13 00:13:50 +03:00
Nikolai Kochetov
db0692eb7c added test for MultiversionMergeTree [#CLICKHOUSE-3479] 2018-02-13 00:13:50 +03:00
Alexey Milovidov
3656aa0606 Improved performance of function arrayElement with constant array when one of element is an empty array #1889 2018-02-13 00:06:13 +03:00
Vitaliy Lyudvichenko
40ac028e21 remote() table function accepts cluster name identifier as the 1st argument. [#CLICKHOUSE-2]
Add cluster(cluster_name, db, table) table function.
2018-02-12 23:35:56 +03:00
Vitaliy Lyudvichenko
56bc773249 Fixed exception catching thrown from compiled .so files. [#CLICKHOUSE-3573] 2018-02-12 23:33:31 +03:00
Alexey Milovidov
c104566eb8 Fixed performance regression in usage of COWPtr in complex cases [#CLICKHOUSE-3584]. 2018-02-12 23:10:24 +03:00
proller
2d9f66115f listen_try config option (#1892)
* Docker wip

* no tests

* fixes

* No tests

* Fixes

* Clean

* listen_try config option

* listen_try for tests
2018-02-12 22:36:18 +03:00
Alexey Milovidov
55c969d073 Added test [#CLICKHOUSE-2] 2018-02-12 03:55:46 +03:00
zhang2014
7f4f723aa0 ISSUES-180 fix empty function with FixedString 2018-02-10 00:37:13 +08:00
zhang2014
4e36616729 ISSUES-180 add test 2018-02-09 19:38:24 +08:00
alexey-milovidov
d3160393c5
Merge branch 'master' into CLICKHOUSE-3554 2018-02-08 23:07:50 +03:00
alexey-milovidov
d6b7233aa3
Merge pull request #1824 from zhang2014/fix/ISSUES-117
ISSUES-117 support temporary table management
2018-02-08 22:42:10 +03:00
alexey-milovidov
287dbcc3dd
Merge pull request #1763 from zhang2014/fix/ISSUES-320
ISSUES-320 Fix rewrite expression
2018-02-08 20:07:50 +03:00
Vitaliy Lyudvichenko
c575a7fe8a Fix DROP of virtual databases. Add requested changes. [#CLICKHOUSE-3554] 2018-02-08 17:17:51 +03:00
Vitaliy Lyudvichenko
42754a5327 Add new virtual columns into system.tables. [#CLICKHOUSE-3554] 2018-02-08 17:15:40 +03:00
Tsarkova Anastasia
c50ccabb0a Implement MergeTree index using for IN operator with tuple of columns. 2018-02-07 18:29:00 +03:00
Vitaliy Lyudvichenko
ef98bff6e1
ClusterCopier improvements (#1869)
* Fixed race condition in StorageDistributed. [#CLICKHOUSE-2]

* ClusterCopier improvements. [#CLICKHOUSE-3346]

* Add performance metrics. [#CLICKHOUSE-3346]
2018-02-07 16:02:47 +03:00
Alexey Milovidov
c38e85b1b2 Allow to parse DateTime as unix timestamp without single quotes in Values format #1850 2018-02-06 23:10:49 +03:00
alexey-milovidov
48a29d6474
Merge pull request #1855 from zhang2014/fix/ISSUES-67
ISSUES-67 Use initial column values with default expression
2018-02-06 21:41:43 +03:00
Alexey Milovidov
d1785d92a7 Make Enum comparable again [#CLICKHOUSE-3560]. 2018-02-05 21:39:45 +03:00
Alexey Milovidov
5e37021c18 Added another test [#CLICKHOUSE-3559]. 2018-02-05 21:17:02 +03:00
Alexey Milovidov
4c46a89196 Added another test [#CLICKHOUSE-3559]. 2018-02-05 21:15:47 +03:00
Alexey Milovidov
8b010428a5 Added test [#CLICKHOUSE-3559]. 2018-02-05 21:06:16 +03:00
zhang2014
9f66acaec5 ISSUES-117 add show temporary table test 2018-02-03 16:00:18 +08:00
zhang2014
551910d1e2 ISSUES-67 add test 2018-02-03 14:49:49 +08:00
zhang2014
982b2ee7ca ISSUES-117 resolve some opinions 2018-02-02 22:20:35 +08:00
zhang2014
4875a80825 Merge branch 'master' into fix/ISSUES-117 2018-02-02 20:21:40 +08:00
zhang2014
bfd19965b5 ISSUES-117 fix failed test 2018-01-31 23:56:52 +08:00
zhang2014
c74970c098 ISSUES-195 fix complex in expression with single element 2018-01-31 16:38:48 +03:00
Vitaliy Lyudvichenko
94f38d744e
Merge pull request #1750 from yandex/CLICKHOUSE-3346
Fault-tolerant cluster copier util
2018-01-31 13:21:51 +03:00
Vitaliy Lyudvichenko
8e4007fb4e Renamed the failed test. [#CLICKHOUSE-2] 2018-01-30 13:51:21 +03:00
KochetovNicolai
71f43d9219
Update server-test.xml 2018-01-29 20:49:45 +03:00
KochetovNicolai
901c00f477
Rename 00563_insert_into_remote.sql to 00563_shard_insert_into_remote.sql 2018-01-29 20:48:52 +03:00
KochetovNicolai
66a5680ab9
Rename 00563_insert_into_remote.reference to 00563_shard_insert_into_remote.reference 2018-01-29 20:48:14 +03:00
KochetovNicolai
4a2582315b
Update server-test.xml 2018-01-29 20:09:14 +03:00
KochetovNicolai
1a7119a1c8
Update server-test.xml 2018-01-29 18:31:55 +03:00
Nikolai Kochetov
97d6c81b55 added <listen_host>::</listen_host> into server-test.xml 2018-01-29 16:35:30 +03:00
Nikolai Kochetov
21935dc53e removed remote(127.0.0.1) from tests 2018-01-29 14:40:28 +03:00
Nikolai Kochetov
277e3b8364 test for insert into remote table function 2018-01-29 13:08:25 +03:00
alexey-milovidov
bea49ca136
Merge pull request #1741 from yandex/array-functions-hasAll-hasAny-intersect
Array functions hasAll hasAny arrayIntersect arrayResize
2018-01-26 12:06:48 +03:00
proller
63b3bccb04 Test and build fixes (#1822)
* Fix travis

* try

* try

* Disable macos

* Travis enable macos

* Fix

* fast_finish: true

* fix

*  fxi

* fix openssl

* fix

* fix

* Fix

* try travis

* fix

* fix

* Cmake: dont filter platform-depended files in cmake

* misc

* renamed:    tests/server_wrapper.sh -> tests/clickhouse-test-serve

* install clickhouse-test-server

* clickhouse-test-server wip

* wip
2018-01-26 12:03:38 +03:00
Vitaliy Lyudvichenko
e2fb6d8c80 Merge remote-tracking branch 'origin/master' into CLICKHOUSE-3346 2018-01-25 22:00:08 +03:00
Vitaliy Lyudvichenko
d0f42c8f2f Add kazoo lib into integration test, enhanced some tests. [#CLICKHOUSE-3346] 2018-01-25 21:14:37 +03:00
Vitaliy Lyudvichenko
d6db480be1 Forward settings through Distributed table. [#CLICKHOUSE-3346] 2018-01-25 19:04:54 +03:00
alexey-milovidov
24ac18201c Update getFQDNOrHostName.cpp
Update isLocalAddress.cpp

Update IBlockOutputStream.h

Update users.xml
2018-01-24 17:14:21 +03:00
Alexey Milovidov
6066f3b8d2 Removed flappy test [#CLICKHOUSE-2] 2018-01-24 03:10:06 +03:00
alexey-milovidov
b8cb9267c7
Merge pull request #1804 from arkhipov/master
Replace subqueries and table expressions on the right side of the IN …
2018-01-23 22:31:49 +03:00
Nikolai Kochetov
49101fb0a6 added test for macro for cluster name in Distributerd table and DDL [#CLICKHOUSE-3409] 2018-01-22 21:49:21 +03:00
Vitaliy Lyudvichenko
1000328571 Merge remote-tracking branch 'origin/master' into CLICKHOUSE-3346 2018-01-22 20:31:08 +03:00
zhang2014
054777a5ab ISSUES-320 fix rewrite expression for union all 2018-01-21 17:29:55 +08:00
Vlad Arkhipov
be96cf5133 Replace subqueries and table expressions on the right side of the IN operator with their results in order to make MergeTree storage engines evaluate the corresponding conditions by using the index. 2018-01-21 11:22:52 +03:00
Alexey Milovidov
61e5b0476f Removed experimental implementations of pointInPolygon variants [#CLICKHOUSE-2] 2018-01-19 23:22:47 +03:00
Nikolai Kochetov
677758edaa added function arrayResize [#CLICKHOUSE-2998]
added test for arrayResize [#CLICKHOUSE-2998]
2018-01-19 22:32:06 +03:00
alexey-milovidov
1f9ea8b6b0
Merge pull request #1721 from zhang2014/fix/ISSUES-957
ISSUES-957 fix not work when materialized columns with buff table
2018-01-19 21:50:26 +03:00
Nikolai Kochetov
60465df20c fixed arrayPushBack, arrayPushFront tests [#CLICKHOUSE-2998] 2018-01-19 17:03:35 +03:00
Alexey Milovidov
ba4a07c739 Added test [#CLICKHOUSE-2] 2018-01-19 05:21:38 +03:00
proller
76cf0ba5d0 Better tests (#1785)
* Make separate libs Common/ZooKeeper and Common/ConfigProcessor
renamed:    dbms/src/Common/StringUtils.h -> dbms/src/Common/StringUtils/StringUtils.h

* Fix space

* Fix data in system.build_options

* merge

* merge

* Travis optimize

* optimize

* Fix clickhouse-test --no-long

* no long

* Split too long test

* Better tests

* missing file

* Fix includes

* Added draft [#CLICKHOUSE-2].

* fix

* fix

* fix

* Fix test 281 under asan
2018-01-18 23:33:16 +03:00
Vitaliy Lyudvichenko
0b8d2a2024 Fixed nondeterministic merge in GraphiteMergeTree. [#CLICKHOUSE-2860] 2018-01-18 23:30:03 +03:00
proller
c4c57e0ae2 Fix test 00532_pager_sigpipe 2018-01-18 21:51:10 +03:00
Nikolai Kochetov
de274b317a added ArraySourceVisitor and ArraySinkVisitor [#CLICKHOUSE-2998] 2018-01-18 18:50:35 +03:00
proller
ed80378a43 Split too long test 2018-01-17 16:43:29 +03:00
Nikolai Kochetov
694b305036 added arrayIntersect [#CLICKHOUSE-3504] 2018-01-17 14:36:02 +03:00
Alexey Milovidov
947c979537 Added test #1665 2018-01-16 23:35:10 +03:00
proller
087474ba3d Fix tests 2018-01-16 23:17:31 +03:00
alexey-milovidov
7a25b441f4
Merge pull request #1773 from yandex/small-enhancements
Small enhancements
2018-01-16 22:07:43 +03:00
proller
e8f2bb2d3b
Travis optimize (#1775)
* Travis optimize
2018-01-16 16:44:45 +03:00
Vitaliy Lyudvichenko
3f9f1f7f4c Add forgoten file. [#CLICKHOUSE-2] 2018-01-16 15:12:21 +03:00
Vitaliy Lyudvichenko
b68b60fb38 More detailed test. [#CLICKHOUSE-3]
Resolves #1553.
2018-01-16 15:05:01 +03:00
proller
f6d8436f81 Enable travis (#1772)
* Try travis

* wip

* Try travis

* try

* try

* try

* try

* Revert "try"

This reverts commit 7ecd73c2eb.

* try unbundled

* Try unbundled2

* Try undundled3

* Try unbundled4

* Try5

* try gcc7

* try6

* Try clang

* Try min

* try ccache

* try ccache stats

* no sudo

* try clang

* try ccache

* reset changelog

* Try fix clang

* try limit time

* Faster

* try timeout

* try faster

* Try

* try

* try

* try

* try

* try

* ccache

* Fix

* try test

* try test

* Fix try_listen in some vm's

* fix

* test

* fix

* cache timeout

* packages

* fix

* fix

* fix

* try emb compiler

* Try emb compiler

* Revert "try emb compiler"

This reverts commit 471713cabe.

* try

* Revert "Try emb compiler"

This reverts commit 95e632abf6.

* Skip long

* fix

* fix

* ccache

* fix

* debug

* Fxi test

* test fix

* tes fix

* Fix

* Fix link

* Fix odbc link

* Fxi test

* fix  boost unbundled include

* fix test

* fix test

* test fix

* fix tests

* tests

* Test fail
2018-01-15 21:57:10 +03:00
Vitaliy Lyudvichenko
a95526cd8a Add --silent mode for clickhouse-local. [#CLICKHOUSE-3390] 2018-01-15 18:08:54 +03:00
Vitaliy Lyudvichenko
f20f3f21c4 Update clusters in SYSTEM DROP DNS query. [#CLICKHOUSE-3478] 2018-01-15 17:57:47 +03:00
Alexey Milovidov
15b5c27c1c Fixed error [#CLICKHOUSE-2] 2018-01-14 04:25:35 +03:00
Alexey Milovidov
b42bd53481 Merge branch 'master' into correct-parse-floats 2018-01-13 04:44:43 +03:00
Alexey Milovidov
ca588c7c95 Added performance test #1665. 2018-01-13 04:41:10 +03:00
Alexey Milovidov
74d73af3c4 Addition to prev. revision [#CLICKHOUSE-2]. 2018-01-13 04:37:51 +03:00
Alexey Milovidov
9283c38854 Fixed error [#CLICKHOUSE-2]. 2018-01-13 04:33:55 +03:00
proller
e31aaadc20 clickhouse-test: print number passed and skipped tests 2018-01-12 21:30:15 +03:00
Alexey Milovidov
7a865af32a Integration tests: added clarification [#CLICKHOUSE-2]. 2018-01-12 21:14:54 +03:00
proller
bf2fb5f2cc clickhouse-test: early exit if server died (more than 20 queries failed in chain). Auto use system queries dir. 2018-01-12 16:56:02 +03:00
zhang2014
66dd568e64 ISSUES-957 update condition & test 2018-01-12 21:03:35 +08:00
proller
ebcf462fd6 Fix test reference 2018-01-12 15:25:28 +03:00
Alexey Milovidov
5bb8fe6f03 Added performance test #1665. 2018-01-12 04:32:13 +03:00
Alexey Milovidov
d33ac0ea15 Updated test #1665 2018-01-12 00:33:45 +03:00
Alexey Milovidov
ef8e1dc9f7 Added test #1665 2018-01-12 00:33:19 +03:00
Alexey Milovidov
6ed8c9481c Fixed test [#CLICKHOUSE-2] 2018-01-12 00:31:53 +03:00
Alexey Milovidov
f7235476d7 Fixed test [#CLICKHOUSE-2] 2018-01-12 00:30:34 +03:00
Vitaliy Lyudvichenko
388d47bbbc Merge branch 'CLICKHOUSE-3346-v310' into CLICKHOUSE-3346 2018-01-11 23:51:30 +03:00
Anastasiya Tsarkova
2b8a4cf030 Add ALTER for null storage tables. 2018-01-11 22:13:19 +03:00
Vitaliy Lyudvichenko
47616c31be Added enabled_partitions option. [#CLICKHOUSE-3346] 2018-01-11 21:55:47 +03:00
Vitaliy Lyudvichenko
43ae5a6932 Fixed test. [#CLICKHOUSE-3346] 2018-01-11 21:55:47 +03:00
Vitaliy Lyudvichenko
bdf96eed91 Add integration test and more options. [#CLICKHOUSE-3346] 2018-01-11 21:55:46 +03:00
proller
68b752bf02 Add broken test remote('host:port') 2018-01-11 20:28:49 +03:00
proller
dea5dcd85d Fix tests (sudo params on precise, deleted engine) 2018-01-11 15:26:25 +03:00
Nikolai Kochetov
f0f6343a39 added tests for hasAll and hasAny [#CLICKHOUSE-3504] 2018-01-10 22:00:00 +03:00
张健
6f28e0a66a
Merge branch 'master' into fix/ISSUES-957 2018-01-10 14:53:52 +08:00
Alexey Milovidov
8f0cf29a56 Miscellaneous [#CLICKHOUSE-2]. 2018-01-10 04:45:28 +03:00
Alexey Milovidov
0bfea2f52c Miscellaneous [#CLICKHOUSe-2] 2018-01-10 03:04:08 +03:00
Alexey Milovidov
d5f6c8365e Fixed test [#CLICKHOUSE-2]. 2018-01-10 00:26:11 +03:00
Nikolai Kochetov
aefc9210fa added perftest [#CLICKHOUSE-3503] 2018-01-09 21:51:14 +03:00
Alexey Milovidov
c4e5f8a500 Added test for RIGHT JOIN #1731 2018-01-09 20:31:52 +03:00
proller
694c6ed243 Cmake: move all gtest stuff to one place in dbms/CMakeLists.txt 2018-01-09 20:29:17 +03:00
Roman Tsisyk
5cea83a98d Unbundle contrib/googletest
Allow to use system libgtest-dev/gtest-devel when -DUNBUNDLED is ON.
2018-01-09 20:15:31 +03:00
Alexey Milovidov
e2d70943b8 Unification of Nested: development [#CLICKHOUSE-2]. 2018-01-02 12:11:13 +03:00
Alexey Milovidov
fffad2bb3b Added test [#CLICKHOUSE-2]. 2018-01-02 08:56:26 +03:00
zhang2014
b7639c2324 ISSUES-957 update 00553_buff_exists_materlized_column.sql 2018-01-01 19:56:52 +08:00
zhang2014
6fe64aa346 ISSUES-957 fix not work when materialized columns with buff table 2018-01-01 19:54:14 +08:00
Alexey Milovidov
993a5e44d0 Inverted dependencies in StorageFactory (continued) [#CLICKHOUSE-2]. 2017-12-30 07:00:39 +03:00
proller
1610abdd5c Tests: Dont eat my cpu! 2017-12-29 16:59:01 +03:00
proller
f9d3c01a01 Add package clickhouse-test, allow testing in pbuilder (#1709)
* Allow 32bit build (with warning)

* Add package clickhouse-test

* Test fixes

* fix

* fix

* clickhouse-test: aloow work in read-only queries dir (--tmp)

* Fix test
2017-12-27 22:01:57 +03:00
proller
8c01852dc6 Fix test 2017-12-27 19:18:51 +03:00
proller
015a6c469b clickhouse-test: aloow work in read-only queries dir (--tmp) 2017-12-27 19:04:15 +03:00
Alexey Milovidov
a629039b08 Revert "Disable failed test."
This reverts commit e9b3d45c06.
2017-12-26 20:40:30 +03:00
alexey-milovidov
06bc58bb7c
Merge pull request #1705 from ekonkov/master
Allow tests to be excluded from execution
2017-12-26 20:40:07 +03:00
Evgeny Konkov
e9b3d45c06 Disable failed test. 2017-12-26 17:43:00 +03:00
Evgeny Konkov
2f5ae0766e Disable tests with additional message.
By default disabled tests not running.
Add command line switch to force execution of disabled tests.
2017-12-26 17:42:41 +03:00
Nikolai Kochetov
64fd3fe35a added test for Dictionary(range_hashed) [#CLICKHOUSE-3521] 2017-12-25 23:55:45 +03:00
alexey-milovidov
94cd6fc061 Update 00544_insert_with_select.sql 2017-12-25 19:02:02 +03:00
zhang2014
2e54dcf9b6 ISSUES-1682 support insert into with select 2017-12-25 19:02:02 +03:00
alexey-milovidov
c1701e3a0e Update 00542_access_to_temporary_table_in_readonly_mode.sql 2017-12-25 18:59:35 +03:00
Kirill Shvakov
4099907d51 Add test readonly and temporary tables 2017-12-25 18:59:35 +03:00
alexey-milovidov
9ed28abdb4 Update 00541_to_start_of_fifteen_minutes.sql 2017-12-25 18:58:37 +03:00
Kirill Shvakov
d87aad45e6 add test toStartOfFifteenMinutes 2017-12-25 18:58:37 +03:00
Alexey Milovidov
04eb0b896c Added proper support for Nullable arguments for function OR #1416 2017-12-25 09:33:51 +03:00
Alexey Milovidov
d899d3f8f5 Added functions toNumberOrNull from String argument #1322 2017-12-25 08:22:33 +03:00
Alexey Milovidov
4e2764c2af Added test #1683 2017-12-25 04:38:51 +03:00
Alexey Milovidov
a71b04e377 Fixed "join_use_nulls" mode #1544 2017-12-25 03:38:45 +03:00
Alexey Milovidov
82d429f7ed Allow for function "tupleElement" to get an edge of Array of Tuple (preparation for natural support of Nested) [#CLICKHOUSE-2]. 2017-12-24 12:56:30 +03:00
Alexey Milovidov
0f51be4191 Added support for named tuples in function tupleElement [#CLICKHOUSE-2]. 2017-12-24 12:34:40 +03:00
Alexey Milovidov
5c2c4b34f3 Fixed query formatting in presense of tupleElement operator with complex constant expression in right hand side [#CLICKHOUSE-2]. 2017-12-24 12:33:36 +03:00
Alexey Milovidov
9d60bcf3f9 Added test for unrestricted aggregate function combinators [#CLICKHOUSE-3511]. 2017-12-24 02:30:20 +03:00
Alexey Milovidov
cc79fb6684 Implemented -ForEach aggregate functions combinator for multiple arguments; added test for -ForEachIf and -IfForEach variants [#CLICKHOUSE-3511]. 2017-12-24 02:16:42 +03:00
Alexey Milovidov
334e349d75 Fixed test [#CLICKHOUSE-2]. 2017-12-23 07:25:01 +03:00
Alexey Milovidov
e5a33e6332 Added test for the case when Nullable condition is optimized to PREWHERE #1626 2017-12-23 05:52:13 +03:00
Alexey Milovidov
bd14d22d22 Added test from Marek #1650 2017-12-23 05:06:25 +03:00
Alexey Milovidov
62bccc4eef Updated test [#CLICKHOUSE-2]. 2017-12-23 04:28:50 +03:00
Alexey Milovidov
609133ea01 Added aggregate function sumKahan [#CLICKHOUSE-2]. 2017-12-23 02:26:30 +03:00
Alexey Milovidov
7e60152e72 Added comments; added test [#CLICKHOUSE-2]. 2017-12-23 02:08:57 +03:00
Alexey Milovidov
69a7761812 Added simple, non-numerically stable variants of statistical functions; use it by default; old functions are accessible under -Stable suffix, like varPopStable [#CLICKHOUSE-2]. 2017-12-23 01:59:45 +03:00
Alexey Milovidov
22ef87b763 Fixed bad test [#CLICKHOUSE-2]. 2017-12-23 01:11:08 +03:00
Alexey Milovidov
3d4906e04c Merge branch 'master' of https://github.com/kshvakov/ClickHouse-Server into kshvakov-master 2017-12-22 22:13:35 +03:00
proller
4f2b4efa25 UNION ALL: mismatch size #1444 (#1446)
* UNION ALL: mismatch size #1444

* Fix test reference

* restore InterpreterSelectQuery::initQueryAnalyzer
2017-12-22 21:30:42 +03:00
proller
daab7adf6f client --ignore-error option (useful with --multiquery) (#1652)
* client --ignore-error option (useful with --multiquery)

* --ignore_error via lexer
2017-12-22 21:29:37 +03:00
proller
9b8972b4c8 Add bad queries from #1563 (#1653)
* cmake fix

* load shell_config.sh

* env bash

* fix

* use $CLICKHOUSE_CLIENT

* fix

* curl 1

* curl2

* curl3

* fix

* fix

* fix

* fix

* ExtractFromConfig --try

* fix

* fix

* Add symlinks to package

* fix bundle

* fix

* fix

* fix package

* clickhouse-test --order option

* client --ignore-error option (useful with --multiquery)

* add bad queries from @filimonov

* More queries

* --ignore_error via lexer

* fix

* rename
2017-12-22 21:29:03 +03:00
Kirill Shvakov
af400da8eb add toStartOfFifteenMinutes function 2017-12-22 13:04:24 +02:00
Alexey Milovidov
b9ca36e5ad Added test [#CLICKHOUSE-2]. 2017-12-22 06:59:48 +03:00
Alexey Milovidov
7a15be8e63 Fixed behaviour of "visitParamExtract" functions according to the documentation [#CLICKHOUSE-2]. 2017-12-22 05:25:03 +03:00
Alexey Milovidov
0972d7586a Added support for toQuarter, toRelativeQuarterNum functions. Enabled toRelativeHour/Minute/Second for Date arguments. Made function 'now' case insensitive. Added function 'dateDiff' that is needed for ODBC driver [#CLICKHOUSE-2]. 2017-12-22 04:54:29 +03:00
Alexey Milovidov
74f191dfd3 Introduced intExp functions; using it where appropriate; make them available in SQL [#CLICKHOUSE-3]. 2017-12-22 02:46:34 +03:00
Alexey Milovidov
46c733ec11 Added test for the issue found by StarWix [#CLICKHOUSE-3]. 2017-12-22 02:00:32 +03:00
Alexey Milovidov
fca5d5f2c7 Use better implementation for exp10 [#CLICKHOUSE-2]. 2017-12-22 02:00:32 +03:00
Alexey Milovidov
6e691269ad Updated instruction [#CLICKHOUSE-2]. 2017-12-21 05:31:32 +03:00
Alexey Milovidov
0744b9118f Fixed test [#CLICKHOUSE-2]. 2017-12-21 05:18:21 +03:00
Alexey Milovidov
128c4a38d6 Merge branch 'fix_aggregate_functions' of https://github.com/silviucpp/ClickHouse into silviucpp-fix_aggregate_functions 2017-12-21 05:14:21 +03:00
Alexey Milovidov
ef6d3be53a Simplification of aggregate functions: compatibility details [#CLICKHOUSE-2]. 2017-12-21 05:08:25 +03:00
Alexey Milovidov
1a6f38b27f Merge branch 'master' into ks1322-master 2017-12-19 20:38:29 +03:00
Alexey Milovidov
50d09f08f5 Updated test [#CLICKHOUSE-2]. 2017-12-19 04:44:05 +03:00
Alexey Milovidov
521b3aee84 Fixed error found by M.Filimonov (equality of array sizes are not checked in n-ary version of aggregate functions with -Array combinator) [#CLICKHOUSE-2]. 2017-12-19 00:44:18 +03:00
Alexey Milovidov
6c28c72fdc Added test [#CLICKHOUSE-2]. 2017-12-19 00:16:20 +03:00
proller
bee53d483f Allow run tests without extract-from-config 2017-12-18 15:26:34 +03:00
alexey-milovidov
adfc743e06
Merge pull request #1658 from yandex/cow_columns
Better semantic of sharing columns.
2017-12-18 09:26:27 +03:00
Alexey Milovidov
27301ac380 Updated test [#CLICKHOUSE-2]. 2017-12-18 08:43:41 +03:00
Alexey Milovidov
88384bad05 Removed duplicate test [#CLICKHOUSE-2]. 2017-12-18 05:46:34 +03:00
ks1322
2fd62ccd9f added expect test 2017-12-17 23:46:52 +03:00
proller
e7f82b6a8c
Allow run test without package install and on custom ports. (#1643)
* ExtractFromConfig --try

* Add symlinks to package

* clickhouse-test --order option
2017-12-15 22:34:19 +03:00
Silviu Caragea
a1104644d9 Add tests 2017-12-14 11:02:12 +02:00
Alexey Milovidov
cfedf4d5b1 Merge branch 'fix14' of https://github.com/proller/ClickHouse into proller-fix14 2017-12-14 00:10:37 +03:00
Alexey Milovidov
0dd0d76b19 Added changes from proller [#CLICKHOUSE-2]. 2017-12-14 00:09:31 +03:00
proller
5453a41208 fix 2017-12-13 19:41:29 +03:00
proller
4076e14b6b Merge remote-tracking branch 'upstream/master' into fix14 2017-12-13 16:10:02 +03:00
alexey-milovidov
62fb610e4e
Merge pull request #1447 from yandex/support-table-functions-for-desc-and-insert
Support table functions for desc and insert
2017-12-11 23:28:10 +03:00
Nikolai Kochetov
f71b8bf58f merged with master 2017-12-11 21:13:24 +03:00
Nikolai Kochetov
1ba891f3fc removed owned_cluster_for_insertion from StorageDistributed [#CLICKHOUSE-3397] 2017-12-11 20:29:24 +03:00
proller
a1b4605314 Merge remote-tracking branch 'upstream/master' into fix14 2017-12-11 19:05:17 +03:00
Alexey Milovidov
6a568ab692 Technically allowed empty arrays of unspecified type [#CLICKHOUSE-2]. 2017-12-09 23:56:53 +03:00
Alexey Milovidov
8758d9b28c Returned back order in clickhouse-test [#CLICKHOUSE-2] 2017-12-09 19:17:37 +03:00
Alexey Milovidov
6ecc93e607 Fixed error [#CLICKHOUSE-2] 2017-12-09 19:17:37 +03:00
Alexey Milovidov
02d00253e2 Fixed error [#CLICKHOUSE-2] 2017-12-09 19:17:37 +03:00
Alexey Milovidov
6cf5c63f4e Fixed error [#CLICKHOUSE-2] 2017-12-09 19:17:37 +03:00
Alexey Milovidov
642d7c2ff2 Added test [#CLICKHOUSE-2] 2017-12-09 19:17:37 +03:00
Alexey Milovidov
be70e6282e Added test [#CLICKHOUSE-3431]. 2017-12-09 19:17:37 +03:00
Alexey Milovidov
b00bb5c348 Added support for nullable types in HAVING section in presence of WITH TOTALS [#CLICKHOUSE-3431]. 2017-12-09 19:17:37 +03:00
proller
2bdc2c8900 Merge remote-tracking branch 'upstream/master' into fix14 2017-12-08 17:21:03 +03:00
Alexey Milovidov
7ef7ff9ae3 Simplification of Nullable [#CLICKHOUSE-2] 2017-12-08 12:45:07 +03:00
Alexey Milovidov
e2cd0272a4 Added support for aggregate functions of Nullable arguments in cases when they return non-Nullable result [#CLICKHOUSE-2]. 2017-12-08 12:07:52 +03:00
Alexey Milovidov
413e828cde Simplification of Nullable [#CLICKHOUSE-2] 2017-12-08 10:46:09 +03:00
Alexey Milovidov
bd6d69ba7d Simplification of Nullable [#CLICKHOUSE-2] 2017-12-08 10:42:35 +03:00
Alexey Milovidov
09ddf5e21d Simplification of Nullable [#CLICKHOUSE-2] 2017-12-08 10:12:00 +03:00
Alexey Milovidov
f85afb3986 Simplification of Nullable [#CLICKHOUSE-2] 2017-12-08 09:46:35 +03:00
Alexey Milovidov
fcf371a930 Simplification of Nullable [#CLICKHOUSE-2] 2017-12-08 07:52:38 +03:00
Alexey Milovidov
4c67c3b171 Simplification of Nullable [#CLICKHOUSE-2] 2017-12-08 07:09:32 +03:00
Alexey Milovidov
f63b511c83 Fixed tests [#CLICKHOUSE-2]. 2017-12-07 07:44:33 +03:00
Alexey Milovidov
f696e35ed8 Simplification of Nullable [#CLICKHOUSE-2] 2017-12-07 07:34:13 +03:00
Alexey Milovidov
8f248dd718 Simplification of Nullable [#CLICKHOUSE-2] 2017-12-07 07:12:40 +03:00