Commit Graph

14292 Commits

Author SHA1 Message Date
alesapin
32f6745ae8 Config file 2018-10-26 12:23:29 +03:00
alesapin
20b20d04f9 Include from env 2018-10-26 12:22:33 +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
alesapin
a4dd489165 Do not build compiled functions 2018-10-25 19:52:28 +03:00
alesapin
3a9311d3ad Now default block can have size more than one 2018-10-25 19:02:20 +03:00
proller
713c44c3db
Build fixes (#3466) 2018-10-25 18:23:41 +03:00
alesapin
c3159af898 Enlarge constant default column if it's empty 2018-10-25 17:54:00 +03:00
chertus
19a69004f0 fix crash with non const scale in toDecimal() 2018-10-25 16:53:25 +03:00
chertus
480bee07db hotfix for distributed DDLs over secure port [CLICKHOUSE-4089] 2018-10-25 14:35:19 +03:00
Artem Zuikov
fd6fc3d2cb
Merge pull request #3460 from 4ertus2/joins
USE database for ON CLUSTER DDLs [CLICKHOUSE-4036]
2018-10-25 14:15:23 +03:00
chertus
e8f9e3c2a2 better fix for distributed DDL [CLICKHOUSE-4036] [CLICKHOUSE-4015] 2018-10-25 12:40:30 +03:00
Vasily Nemkov
7ebc44a0c8 Fixed test case for UUID_ dictionary attribute. 2018-10-25 07:42:02 +03:00
Vasily Nemkov
8aa0c423aa Fix for the case when there is no filter. 2018-10-25 07:16:41 +03:00
proller
7dafcacd15
Build fixes (#3459) 2018-10-24 20:20:27 +03:00
chertus
6375009c81 Merge branch 'master' into joins 2018-10-24 19:43:48 +03:00
chertus
7a24e9b8ff one more minor fix 2018-10-24 18:41:28 +03:00
chertus
a844d10a9a minor fix 2018-10-24 18:39:37 +03:00
chertus
58f14b0db2 USE database for ON CLUSTER DDLs [CLICKHOUSE-4036] 2018-10-24 18:31:07 +03:00
CurtizJ
89808b89b6 update test 2018-10-24 16:27:49 +03:00
CurtizJ
06e955e92a fix combine hashes 2018-10-24 16:12:59 +03:00
alesapin
54a1f0c2a6 enable compiled expressions byt default 2018-10-24 14:36:02 +03:00
alesapin
070d75c7c9 Don't unfold non deterministic expressions 2018-10-24 14:31:23 +03:00
Amos Bird
3cf2177268 Flexible fields assignment
Field f;

before:

f = Int64(-42);

after:

f = -42;
2018-10-24 08:47:33 +08:00
alexey-milovidov
bb00bb8592
Merge pull request #3405 from yandex/CLICKHOUSE-2211
CLICKHOUSE-2211: Fix aio reading (with correct buffer size), reduce M…
2018-10-24 01:37:05 +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
alexey-milovidov
10abde5b62
Merge pull request #3441 from CurtizJ/CLICKHOUSE-1834
Setting for TCP keepalive. [CLICKHOUSE-1834]
2018-10-23 23:21:15 +03:00
alexey-milovidov
165890a3e6
Merge pull request #3453 from yandex/fix-union-header
Fix union header
2018-10-23 23:18:36 +03:00
proller
0a9d6f91d2 SQL fuzz test (#3442)
* Sql fuzzy test

* wip

* wip

* wip

* wip

* wip
2018-10-23 23:14:43 +03:00
alesapin
1c77cf51ce Remove compile_expressions by default 2018-10-23 21:25:55 +03:00
CurtizJ
68f2bea4ba fix style 2018-10-23 21:07:20 +03:00
Nikolai Kochetov
d2f0925685 Uniform headers for union stream. #2156 2018-10-23 21:01:38 +03:00
Nikolai Kochetov
75338fbfa9 Added test. 2018-10-23 20:48:58 +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
alesapin
72e435893d Better comment 2018-10-23 14:19:01 +03:00
alexey-milovidov
4bf54337b9
Merge pull request #3292 from CurtizJ/order-by-efficient
Efficiently finish sorting by (x, y) stream, that already sorted by (x) [CLICKHOUSE-4022]
2018-10-23 11:34:22 +03:00
alexey-milovidov
21e7c25134
Update FinishSortingBlockInputStream.cpp 2018-10-23 11:32:28 +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
bac6b6f381 Fixed error #2863 2018-10-23 11:19:47 +03:00
Vasily Nemkov
c65fec341c Test for MySQL as range_hashed dictionary source 2018-10-23 10:18:28 +03:00
CurtizJ
7963e952f1 rename setting to tcp_keep_alive 2018-10-23 02:02:57 +03:00
Alexey Milovidov
b8cfa77ea0 Fixed build [#CLICKHOUSE-2] 2018-10-22 23:58:16 +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
2deb510c59
Merge branch 'master' into master 2018-10-22 23:45:26 +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
1c3c4c0890
Update FunctionsArithmetic.h 2018-10-22 23:35:28 +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
72b3ec1ffa
Merge pull request #3428 from 4ertus2/joins
Мore ExpressionAnalyser refactoring, add unit-test for it
2018-10-22 22:24:39 +03:00
CurtizJ
a05aa5448d add setting keep_alive 2018-10-22 21:09:55 +03:00
Alexey Zatelepin
bd38b4f560 add clear error message #275 2018-10-22 15:38:04 +03:00
VadimPE
31794b7a46 fix codestyle 2018-10-22 14:58:56 +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
c6debd1c33 Better comment 2018-10-22 14:30:24 +03:00
chertus
a62fae8332 Merge branch 'master' into joins 2018-10-22 11:25:43 +03:00
chertus
d4699bd9d2 fix FieldToDataType for Decimal128 2018-10-22 11:25:11 +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
2659e94573 Fix use after pop_back() 2018-10-19 20:27:38 +03:00
proller
67eb30d192 CLICKHOUSE-4074 Fix merge_tree_uniform_read_distribution=0 2018-10-19 19:31:51 +03:00
chertus
b784f754a7 minor settings changes 2018-10-19 18:42:47 +03:00
chertus
dcf04ac36d unit-test for ExpressionAnalyzer [CLICKHOUSE-3996] 2018-10-19 18:33:40 +03:00
Alex Zatelepin
4449d7e059
Update FinishSortingBlockInputStream.cpp 2018-10-19 16:21:50 +03:00
CurtizJ
6ff8a60460 fix style 2018-10-19 16:04:50 +03:00
CurtizJ
8a72ddd94b wip on finish sorting 2018-10-19 15:02:31 +03:00
proller
abfe675097
Build fixes (#3419) 2018-10-18 22:28:05 +03:00
chertus
5aedca40c2 fix asan 2018-10-18 22:27:28 +03:00
Marek Vavruša
37e03bd938 StorageKafka: check dependencies recursively, add max_block setting
Changes:

* Check table dependencies recursively before starting streaming
* Use actual number of created consumers when streaming
* Add size limits hint to Kafka consumer stream
* Configurable `kafka_max_block_size` per table
2018-10-18 09:20:34 -07:00
chertus
a32e06d298 more ExpressionAnalyzer refactoring [CLICKHOUSE-3996] 2018-10-18 18:03:14 +03:00
VadimPE
f2db463ab0 fix bug with merge part, wich us inserted with quorum 2018-10-18 17:14:07 +03:00
VadimPE
451114c9a3 rename partition -> part 2018-10-18 15:16:53 +03:00
VadimPE
4a0ca4cbc5 ad test 2018-10-18 15:00:36 +03:00
VadimPE
4a93d3b836 fix addedparts 2018-10-18 14:51:40 +03:00
alesapin
87bb06fdd8 CLICKHOUSE-2211: Add exception for impossible case 2018-10-18 12:24:16 +03:00
CurtizJ
7623a3f48b fix test 2018-10-17 19:56:00 +03:00
alesapin
fe6406eac1 CLICKHOUSE-2211: Fix accident delition 2018-10-17 19:18:14 +03:00
alesapin
d78d569d42 CLICKHOUSE-2211: Fix aio reading (with correct buffer size), reduce MergeTreeReader creation and add useless test 2018-10-17 17:56:15 +03:00
CurtizJ
f86b9d3983 add lock for .inner. table 2018-10-17 17:11:20 +03:00
CurtizJ
d81ed27004 add lock for .inner. table 2018-10-17 17:08:52 +03:00
Artem Zuikov
52e94ecc5a
Merge pull request #3368 from 4ertus2/joins
Extract visitors from ExpressionAnalyser [CLICKHOUSE-3996]
2018-10-17 15:48:42 +03:00
chertus
5d3f03a6d2 minor refactoring (function naming) 2018-10-17 14:06:46 +03:00
chertus
40f1805bf4 fix gcc build 2018-10-17 13:59:05 +03:00
zhang2014
133363e8e3 ISSUES-2312 fix nested view & joined view without database 2018-10-17 14:35:16 +08:00
Alexey Milovidov
5466ca27b8 Merge branch 'master' of github.com:yandex/ClickHouse 2018-10-17 09:03:10 +03:00
Alexey Milovidov
ce67ebdded Updated test [#CLICKHOUSE-3] 2018-10-17 09:02:48 +03:00
alexey-milovidov
7566ffe751
Merge pull request #3398 from yandex/better-startup-time
Better server startup time
2018-10-17 08:58:23 +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
Alexey Milovidov
44f5c735aa Temporary disable "enable_optimize_predicate_expression" setting by default #1777 2018-10-17 06:46:06 +03:00
Alexey Milovidov
99a64d3b92 Presumably better #2278 2018-10-17 06:13:00 +03:00
Alexey Milovidov
427eba3451 Improved server startup time #2278 2018-10-17 05:34:14 +03:00
Alexey Milovidov
a7090f4fab Improved server startup time #2278 2018-10-17 04:59:24 +03:00
Alexey Milovidov
aa227795ef Improved server startup time #2278 2018-10-17 04:31:28 +03:00
Alexey Milovidov
36f5ce728d Added fixture #2312 2018-10-17 03:30:46 +03:00
alexey-milovidov
3024bf2e3b
Merge pull request #3397 from yandex/fix-vertical-merge-of-multidimensional-nested-structures
Fix vertical merge of multidimensional nested structures
2018-10-17 02:05:37 +03:00
Alexey Milovidov
63bb074ba7 Added a test from Matt Robenolt #2662 2018-10-17 00:46:42 +03:00
Alexey Milovidov
781332d57c Added another test from Kirill Shvakov just in case #2231 2018-10-17 00:34:10 +03:00
Alexey Milovidov
faffe1e82a Added test [#CLICKHOUSE-3901] 2018-10-17 00:27:07 +03:00
Alexey Milovidov
7c4d24ce39 Added comment [#CLICKHOUSE-3901] 2018-10-17 00:25:45 +03:00
Alexey Milovidov
98543b7c41 Fixed vertical merge of multidimensional Nested structures [#CLICKHOUSE-3901] 2018-10-17 00:22:41 +03:00
Alexey Milovidov
6d6e237ac9 More simple test [#CLICKHOUSE-3901] 2018-10-16 23:51:12 +03:00
Alexey Milovidov
b6e9a2b293 Added fixture [#CLICKHOUSE-3901] 2018-10-16 23:48:13 +03:00
chertus
27d66a45c3 extract more visitors from ExpressionAnalyzer [CLICKHOUSE-3996] 2018-10-16 22:00:05 +03:00
robot-clickhouse
fcce722c26 Auto version update to [18.14.9] [54409] 2018-10-16 15:58:16 +03:00
alesapin
457f8fd495
Merge pull request #3389 from yandex/CLICKHOUSE-4067
CLICKHOUSE-4067: Fixes in odbc dictionaries. Now dictionaries receive…
2018-10-16 15:37:23 +03:00
chertus
4071155043 better ActionsVisitor extraction [CLICKHOUSE-3996] 2018-10-16 15:34:20 +03:00
VadimPE
070eae2ae6 fix name 2018-10-16 14:38:49 +03:00
VadimPE
868c1bd70b ISSUES-2581 2018-10-16 13:52:15 +03:00
alesapin
c2ca99980f More stable test 2018-10-16 13:27:21 +03:00
chertus
e6e28d2451 Merge branch 'master' into joins 2018-10-16 13:10:32 +03:00
Artem Zuikov
3359ba06c3
Merge pull request #3391 from 4ertus2/decimal
fix for Decimal128 group by [issue-3378]
2018-10-16 13:07:11 +03:00
alesapin
e37a163c3b CLICKHOUSE-4067: var usage 2018-10-16 12:14:54 +03:00
chertus
29bd00f9f4 simple fix for Decimal128 group by [issue-3378] 2018-10-16 10:31:17 +03:00
alesapin
051390cd7f trying to debug 2018-10-15 23:56:01 +03:00
chertus
465cb6d267 fix for Decimal128 group by [issue-3378] 2018-10-15 22:14:08 +03:00
alesapin
f9a6116324 Add missed file 2018-10-15 21:38:52 +03:00
proller
0cf72f9b26 clickhouse-odbc#125 : Make TIMESTAMP alias for DateTime type for allowing CAST(x AS TIMESTAMP) 2018-10-15 18:10:34 +03:00
VadimPE
52deb3932f fix test 2018-10-15 17:55:02 +03:00
alesapin
c951ec7bad CLICKHOUSE-4067: Fixes in odbc dictionaries. Now dictionaries receives bridge path from global config (as it was before). Quotation performed on table and schema independently. Add tests with postgres interaction. Update documentation 2018-10-15 17:49:23 +03:00
VadimPE
fca4a7be90 Merge branch 'ISSUES-2581' of https://github.com/VadimPE/ClickHouse into ISSUES-2581 2018-10-15 17:10:44 +03:00
VadimPE
4d6da00184 fix tests 2018-10-15 17:09:22 +03:00
Vadim
ade4f56c3f
Update 00726_modulo_for_date.sql 2018-10-15 16:24:46 +03:00
VadimPE
e331f15ffd CLICKHOUSE-1791 add modulo for nonIntegral divisor 2018-10-15 16:24:01 +03:00
VadimPE
7b6f0f5372 CLICKHOUSE-1791 add modulo for date 2018-10-15 15:53:05 +03:00
Vadim
a013dce567
Update 00732_quorum_insert_simple_test_2_parts_zookeeper.reference 2018-10-15 13:32:43 +03:00
Vadim
5898a22824
Update 00732_quorum_insert_simple_test_1_parts_zookeeper.reference 2018-10-15 13:32:30 +03:00
Vadim
9b1271afd3
Update 00732_quorum_insert_lost_part_and_alive_part_zookeeper.reference 2018-10-15 13:32:17 +03:00
VadimPE
58c2bd366f ISSUES-2581 add test 2018-10-15 13:31:24 +03:00
VadimPE
1c51407fa7 ISSUES-2581 add test 2018-10-15 13:27:17 +03:00
alesapin
e6c414c936 Remove abs path from testing framework 2018-10-14 12:51:16 +03:00
Alexey Milovidov
50234013b5 Whitespaces [#CLICKHOUSE-4016] 2018-10-14 11:23:21 +03:00
Alexey Milovidov
c53f38260f Added instruction for quick syntax check [#CLICKHOUSE-2] 2018-10-14 11:22:56 +03:00
Alexey Milovidov
9c4e74ad91 Merge branch 'master' of github.com:yandex/ClickHouse 2018-10-14 11:05:23 +03:00
Alexey Milovidov
42d5418257 Added fixture [#CLICKHOUSE-4016] 2018-10-14 11:05:13 +03:00
Kirill Shvakov
5600c35847 check drop type 2018-10-14 00:37:16 +03:00
Kirill Shvakov
0f509b9eb5 ReplicatedMergeTree: send drop request to the leader replica 2018-10-13 23:58:04 +03:00
Alexey Milovidov
881893da56 Merge branch 'master' of github.com:yandex/ClickHouse 2018-10-13 17:33:53 +03:00
Alexey Milovidov
f720a5bf95 Fixed typos in code #3373 2018-10-13 17:33:43 +03:00
avsharapov
11da23f153 Fix typo in readme 2018-10-13 15:28:08 +03:00
robot-clickhouse
dd07029050 Auto version update to [18.14.8] [54409] 2018-10-13 03:31:18 +03:00
Alexey Milovidov
72e2996e3e Fixed incompatibility when versions prior to 18.12.17 are used on remote servers and newer is used on initiating server, and GROUP BY both fixed and non-fixed keys, and when two-level group by method is activated [#CLICKHOUSE-4035] 2018-10-13 02:43:25 +03:00
Alexey Milovidov
98859f232b Merge branch 'master' into group_by_two_level_compatibility 2018-10-13 02:13:30 +03:00
robot-clickhouse
adf6291746 Auto version update to [18.14.7] [54409] 2018-10-12 22:44:51 +03:00
alexey-milovidov
845e8b19d8
Merge pull request #3367 from yandex/CLICKHOUSE-4060
CLICKHOUSE-4060: Use individual context for each function
2018-10-12 22:08:16 +03:00