Commit Graph

2042 Commits

Author SHA1 Message Date
Nikolai Kochetov
a29fd043a4 Added test 2018-11-22 18:53:03 +03:00
Sabyanin Maxim
35fce9c3ac
add DROP TABLE IF EXISTS in test 2018-11-22 17:32:28 +03:00
Sabyanin Maxim
3a67b505c5 Merge branch 'master' of https://github.com/yandex/ClickHouse into CLICKHOUSE-4032 2018-11-22 16:54:10 +03:00
Sabyanin Maxim
060fce3899 make ReplicatedMergeTree work with comments. ignore empty comments when make column_comments hashmap 2018-11-22 16:51:43 +03:00
Nikolai Kochetov
eac03c1c83 Added test. #3615 2018-11-21 21:59:58 +03:00
alexey-milovidov
5038f13b08
Merge pull request #3514 from abyss7/CLICKHOUSE-3766
Implement 'ALTER … FREEZE' command
2018-11-21 07:17:21 +03:00
alexey-milovidov
9b0226a73d
Merge pull request #3588 from zhang2014/fix/predicate
ISSUES-1777 qualified subqueries when optimize predicate
2018-11-21 06:20:37 +03:00
Alexey Milovidov
31561ef25a Fixed error; added test #3589 2018-11-21 06:09:56 +03:00
Alexey Milovidov
c09a93e78b Added a test #3601 2018-11-21 03:22:23 +03:00
alexey-milovidov
a008a41374
Merge pull request #3609 from s-mx/CLICKHOUSE-4090
Add primary_key, order_key, partition_key and sample_key to system.tables.
2018-11-20 16:39:54 +03:00
alexey-milovidov
6aa2313dec
Merge pull request #3580 from abyss7/fix-quantile-datetime
Some fixes to quantile*() functions related to DateTime argument type
2018-11-19 21:28:06 +03:00
Sabyanin Maxim
08fc057a15 make is_in_primary_key and etcetera work. add test. 2018-11-19 17:31:16 +03:00
Vitaly Baranov
a029034d8c CLICKHOUSE-4127: Fix ALTER of destination table for the BUFFER engine. 2018-11-19 09:14:36 +03:00
Alexey Zatelepin
ffb54509db add tests [#CLICKHOUSE-3859] 2018-11-15 22:34:50 +03:00
zhang2014
c23447ba3a ISSUES-1777 qualified subqueries when optimize predicate 2018-11-15 23:23:44 +08:00
Sabyanin Maxim
d9e6789f78 make MergeTree work with comments 2018-11-15 16:12:27 +03:00
Ivan Lezhankin
fc272ecded Some fixes to quantile*() functions related to DateTime argument type 2018-11-14 18:04:23 +03:00
Alexandr Krasheninnikov
177a00f09a Merge https://github.com/yandex/ClickHouse into base64_functions 2018-11-14 12:32:42 +03:00
alexey-milovidov
3b2cd38beb
Merge pull request #3570 from yandex/fix-with-with-alias-only
Fix WITH with alias only
2018-11-14 04:22:38 +03:00
Alexey Milovidov
c997f0b56a Added a test for ATTACHing parts before ALTER (just in case) [#CLICKHOUSE-3] 2018-11-13 20:18:38 +03:00
Alexey Zatelepin
29b34365e6 Merge branch 'master' into alter-order-by
Conflicts:
	dbms/src/Interpreters/ExpressionAnalyzer.cpp
	dbms/src/Storages/MergeTree/MergeTreeData.cpp
	dbms/src/Storages/MergeTree/MergeTreeDataSelectExecutor.cpp
2018-11-13 16:27:19 +03:00
Alexey Zatelepin
7167bfd7b3 fix prewhere with FINAL for VersionedCollapsingMergeTree [#CLICKHOUSE-3859] 2018-11-13 16:15:12 +03:00
Sabyanin Maxim
befaea63d2 add is_mutable method to AlterCommand. change comment column test 2018-11-13 15:08:07 +03:00
Nikolai Kochetov
b1886e1272 Added test. #2465 2018-11-12 21:28:38 +03:00
Sabyanin Maxim
b869cfed9a fixed couple of mistakes. 2018-11-12 18:45:35 +03:00
Ivan Lezhankin
71545ec226 Sort output of partition query-test - for stable reference. 2018-11-12 15:26:15 +03:00
Ivan Lezhankin
935615a647 Reimplement FREEZE command. 2018-11-12 15:26:14 +03:00
Ivan Lezhankin
a837060454 Lock table structure before freezing. 2018-11-12 15:26:14 +03:00
Ivan Lezhankin
03e6a29eb2 Implement 'ALTER … FREEZE' command.
Need some tests!
2018-11-12 15:26:14 +03:00
Nikolai Kochetov
21c3b36d23 Updated test with mutations. 2018-11-09 19:35:05 +03:00
proller
6ec9ca3b07
Better tests (#3535) 2018-11-07 14:00:46 +03:00
Nikolai Kochetov
e44213b026 Added tests. [#CLICKHOUSE-4111] 2018-11-07 13:53:36 +03:00
Sabyanin Maxim
dacd999d4f Merge branch 'master' into CLICKHOUSE-4032 2018-11-06 16:50:07 +03:00
Sabyanin Maxim
bdcdc15b1e fixed comment test.
remove ColumnComment struct.
style fixes
2018-11-06 16:26:43 +03:00
Alexandr Krasheninnikov
6ab45d081c Arch-based compilation 2018-11-02 22:06:05 +03:00
chertus
5a06d4953d Merge branch 'master' into joins 2018-11-02 14:58:26 +03:00
alesapin
43a88d83b7 Merge branch 'master' of github.com:yandex/ClickHouse 2018-11-02 14:54:37 +03:00
alesapin
28806049b4 Return client error code to 53 2018-11-02 14:54:24 +03:00
chertus
ce678f0e9c fix join_default_strictness according to new default settings 2018-11-02 14:46:16 +03:00
chertus
2f5fb25de6 Merge branch 'master' into joins 2018-11-02 13:39:19 +03:00
alexey-milovidov
c19b1d919e
Merge pull request #3517 from yandex/kill_pending_queries
CLICKHOUSE-4094: Add ability to kill pending queries
2018-11-01 21:07:45 +03:00
proller
c2a818b64d StorageSystemContributors clean (#3524)
* StorageSystemContributors clean

* Fix
2018-11-01 21:01:10 +03:00
alexey-milovidov
6bc7297a92
Merge pull request #3523 from yandex/low-cardinality-fix-extremes
Low cardinality fix extremes
2018-11-01 20:54:09 +03:00
Nikolai Kochetov
e7b6937152 Added tests with LowCardinality and mv. #3288
Added tests with LowCardinality and mv. #3288
2018-11-01 20:24:10 +03:00
alexey-milovidov
cce68f5b40
Merge pull request #3519 from yandex/better-behaviour-of-hash-functions
Fixed idiosyncrasy with hash functions introduced in #3451
2018-11-01 20:13:39 +03:00
alexey-milovidov
e2b0c6c94f
Merge pull request #3518 from yandex/low-cardinality-fix-nullable-serialization-into-arena
Low cardinality fix nullable serialization into arena
2018-11-01 20:12:06 +03:00
chertus
009f77002e add default db name to views [CLICKHOUSE-3145] 2018-11-01 20:07:20 +03:00
Alexey Milovidov
77af9f7abb Fixed error code in test #3503 2018-11-01 18:55:28 +03:00
Alexey Milovidov
e7bb9d5d84 Added test #3519 2018-11-01 18:50:30 +03:00
Alexey Milovidov
719efbe60a Fixed idiosyncrasy introduced in #3451 2018-11-01 18:47:08 +03:00
alexey-milovidov
82933e9c31
Merge pull request #3451 from CurtizJ/CLICKHOUSE-3490
Support more hash functions for tuple, unify FunctionHash template. [CLICKHOUSE-3490]
2018-11-01 18:30:01 +03:00
Nikolai Kochetov
f2c64dc5dc Added test with group by LowCardinality(Nullable) #3227 #3256 #3212 2018-11-01 17:57:55 +03:00
alesapin
b0ac729228 CLICKHOUSE-4094: Add ability to kill pending queries 2018-11-01 17:56:37 +03:00
alexey-milovidov
121f04522e
Merge pull request #3503 from yandex/check_array_value_null
Better code for check on null values inside array IN expression
2018-11-01 17:01:06 +03:00
alesapin
abcc692dbf CLICKHOUSE-4096: Fix nested unaliased joins segfault 2018-11-01 14:23:23 +03:00
alesapin
237186056a
Merge pull request #3504 from yandex/merge_big_parts_using_direct_io
Enable merge with DIRECT_IO when summary size of participating parts more than 10GB
2018-10-31 18:11:32 +03:00
chertus
6bbbd8721c more tests for joins 2018-10-31 18:09:53 +03:00
alesapin
5e487608d2 Strict order in select 2018-10-31 15:49:50 +03:00
alesapin
252109f314 Add test with O_DIRECT merge 2018-10-31 14:45:53 +03:00
alesapin
892ab4ce8a Better code for check on null values inside array IN expression 2018-10-31 12:17:47 +03:00
abyss7
d538f70679 Fix build and tests on Fedora (#3496)
* Fix some tests and build on Fedora 28

* Update contrib/ssl

* Try `sudo` first, then without `sudo`.
2018-10-30 17:05:44 +03:00
Sabyanin Maxim
65bd40e290 Merge branch 'master' of github.com:yandex/ClickHouse into CLICKHOUSE-4032 2018-10-27 22:33:52 +03:00
proller
c35c979285 CLICKHOUSE-4085 system.contributors (#3452)
* CLICKHOUSE-4085 system.contributors

* fi

* Fix random
2018-10-26 20:43:50 +03:00
alesapin
64b1108989 Merge branch 'master' of github.com:yandex/ClickHouse into fix_non_deterministic_compile 2018-10-25 20:01:22 +03:00
proller
713c44c3db
Build fixes (#3466) 2018-10-25 18:23:41 +03:00
chertus
19a69004f0 fix crash with non const scale in toDecimal() 2018-10-25 16:53:25 +03:00
Ivan Lezhankin
68138a76f8 Add tests for different HLL precisions 2018-10-24 21:05:55 +03:00
proller
7dafcacd15
Build fixes (#3459) 2018-10-24 20:20:27 +03:00
CurtizJ
89808b89b6 update test 2018-10-24 16:27:49 +03:00
alesapin
070d75c7c9 Don't unfold non deterministic expressions 2018-10-24 14:31:23 +03:00
Alexey Milovidov
07f0fd3da9 Merge branch 'master' of github.com:yandex/ClickHouse 2018-10-23 23:23:51 +03:00
Alexey Milovidov
1dc2acf3e4 Fixed test #3385 2018-10-23 23:23:39 +03:00
proller
0a9d6f91d2 SQL fuzz test (#3442)
* Sql fuzzy test

* wip

* wip

* wip

* wip

* wip
2018-10-23 23:14:43 +03:00
CurtizJ
ef5c65c3dd fix test 2018-10-23 20:48:01 +03:00
CurtizJ
e3dea84265 support more hash functions for tuples 2018-10-23 20:43:09 +03:00
alexey-milovidov
9c3278f378
Merge pull request #3400 from zhang2014/fix/ISSUES-2312
ISSUES-2312 fix nested view & joined view without database
2018-10-23 11:21:29 +03:00
alexey-milovidov
98c2ed582c
Merge pull request #2863 from VadimPE/ISSUES-2581
ISSUES-2581 fix SELECT with sequential consistency
2018-10-22 23:55:33 +03:00
alexey-milovidov
57e6dc3477
Merge pull request #3385 from VadimPE/CLICKHOUSE-1791
[CLICKHOUSE-1791] add modulo for Date and DateTime
2018-10-22 23:38:40 +03:00
alexey-milovidov
25d9918b78
Update 00726_modulo_for_date.sql 2018-10-22 23:38:16 +03:00
alexey-milovidov
00d49602d3
Merge pull request #3404 from CurtizJ/CLICKHOUSE-3274
Add lock for .inner. table while insert.  [CLICKHOUSE-3274]
2018-10-22 23:32:12 +03:00
alexey-milovidov
28fc99c556
Merge pull request #3430 from yandex/fix_subquery_global_counter
Add global counter to subqueries
2018-10-22 14:56:31 +03:00
alesapin
9127e41415 Fix hack in test 2018-10-20 13:43:15 +03:00
alesapin
dcc8ca49d7 Add global counter to subqueries 2018-10-20 00:03:45 +03:00
proller
61568a0e74 Better test 2018-10-19 20:33:46 +03:00
proller
67eb30d192 CLICKHOUSE-4074 Fix merge_tree_uniform_read_distribution=0 2018-10-19 19:31:51 +03:00
Ivan Lezhankin
28ea773b9e Use a single "place" for a default precision constant.
Also update stateless tests.
2018-10-18 21:38:45 +03:00
Ivan Lezhankin
d588120677 Keep default value for HLL precision in tests - to not break them. 2018-10-18 17:47:21 +03:00
VadimPE
f2db463ab0 fix bug with merge part, wich us inserted with quorum 2018-10-18 17:14:07 +03:00
VadimPE
4a0ca4cbc5 ad test 2018-10-18 15:00:36 +03:00
CurtizJ
7623a3f48b fix test 2018-10-17 19:56:00 +03:00
Ivan Lezhankin
6d783ef013 Move-away "uniqCombined" as a separate aggregated function with HLL precision 2018-10-17 17:31:06 +03:00
CurtizJ
d81ed27004 add lock for .inner. table 2018-10-17 17:08:52 +03:00
zhang2014
133363e8e3 ISSUES-2312 fix nested view & joined view without database 2018-10-17 14:35:16 +08:00
Alexey Milovidov
ce67ebdded Updated test [#CLICKHOUSE-3] 2018-10-17 09:02:48 +03:00
Alexey Milovidov
72e4963248 Added test for old issue #1788 2018-10-17 08:50:40 +03:00
Alexey Milovidov
de2d081f8b Added more test cases #1164 2018-10-17 08:24:32 +03:00
Alexey Milovidov
a4daa58b7f Added another test #1164 2018-10-17 08:20:07 +03:00
Alexey Milovidov
388bc4ff03 Added another test for old issue #1087 2018-10-17 07:51:59 +03:00
Alexey Milovidov
0e6694957d Added a test for old issue #1119 2018-10-17 07:45:27 +03:00
Alexey Milovidov
f25606fdca Added a test just in case #880 2018-10-17 07:25:36 +03:00