Commit Graph

26803 Commits

Author SHA1 Message Date
alesapin
c777191217 Get rid of removeEmptyColumnsFromPart method based on alterDataPart. 2020-03-13 18:09:55 +03:00
Nikolai Kochetov
68dc95486b Fix build. 2020-03-13 16:50:34 +03:00
Nikolai Kochetov
9caa6b3f1e Try fix tests. 2020-03-13 16:44:08 +03:00
Alexander Kuzmenkov
7e6585328f fixup 2020-03-13 16:30:54 +03:00
alexey-milovidov
ff91b3f317
Merge pull request #9635 from ClickHouse/thread-fuzzer-wrap-pthread
Wrap pthread functions in ThreadFuzzer
2020-03-13 14:21:04 +03:00
alesapin
814e4c0f07 Return back some log messages 2020-03-13 13:41:54 +03:00
Alexander Tokmakov
2208ff67e2 fix build 2020-03-13 13:30:55 +03:00
alesapin
71e2af386a Some trach code 2020-03-13 13:18:37 +03:00
alesapin
dbf940d64a Merge branch 'master' of github.com:ClickHouse/ClickHouse into alter_on_top_of_mutations_merge_tree 2020-03-13 12:38:13 +03:00
Artem Zuikov
2f6bdffffc
Fix RIGHT and FULL JOIN with LowCardinality (#9610)
fix RIGHT and FULL JOIN with LowCardinality
2020-03-13 11:15:43 +03:00
Slach
95ba061cea add description for ReplicaPartialShutdown in system.events
Signed-off-by: Slach <bloodjazman@gmail.com>
2020-03-13 12:43:38 +05:00
Alexander Kuzmenkov
dfafac73f1 fixup 2020-03-13 03:59:04 +03:00
Ivan
b7ef5a699c
Move FastMemcpy to contribs (#9219)
* Get rid of non-existent vectorclass
* Move FastMemcpy to contribs
* Restore comments
* Disable FastMemcpy on non-Linux
* Fix cmake file
* Don't build FastMemcpy for ARM64
* Replace FastMemcpy submodule with its contents
* Fix cmake file
* Move widechar_width to contrib/
* Move sumbur to contrib/
* Move consistent-hashing to contrib/
* Fix UBSan tests
2020-03-13 01:26:16 +03:00
Alexey Milovidov
c38f99f3ba Wrap pthread functions in ThreadFuzzer 2020-03-13 00:49:51 +03:00
Azat Khuzhin
9e999e0fb9 Fix various sum*() functions via remote() usage (incorrect function name) 2020-03-13 00:05:11 +03:00
alexey-milovidov
dc9725a757
Merge pull request #9612 from CurtizJ/fix-range-reader
Fix MergeTreeRangeReader
2020-03-12 23:31:50 +03:00
Alexander Tokmakov
158cde68b5 enable UUIDs for temporary tables 2020-03-12 23:00:37 +03:00
Alexey Milovidov
f4f4e96d15 Wrap pthread functions in ThreadFuzzer 2020-03-12 22:09:20 +03:00
Alexey Milovidov
2a70f5ccd8 Wrap pthread functions in ThreadFuzzer 2020-03-12 22:08:25 +03:00
Nikolai Kochetov
4ea2361f37 Added comment. 2020-03-12 22:04:12 +03:00
Azat Khuzhin
5134af51ce Do not restore previous cursor if send_logs_level is used
This will avoid overlapping logs with progress/output rows.
2020-03-12 21:56:34 +03:00
Alexander Kuzmenkov
9b4e45748a fixup 2020-03-12 21:26:02 +03:00
Alexander Kuzmenkov
148690ca20 fixup 2020-03-12 20:04:06 +03:00
Nikolai Kochetov
4a98887e27 Update LimitTransform. 2020-03-12 20:02:12 +03:00
Nikolai Kochetov
77bf8805ee Update LimitTransform. 2020-03-12 19:59:49 +03:00
Slach
c5b5bb3168 add DistributedConnectionFailAtAll, DistributedConnectionFailTry system.events description
Signed-off-by: Slach <bloodjazman@gmail.com>
2020-03-12 21:14:00 +05:00
Nikolai Kochetov
b1488952c2 Added test. 2020-03-12 18:58:53 +03:00
Slach
d5bf33541e add NetworkErrors system.events description
Signed-off-by: Slach <bloodjazman@gmail.com>
2020-03-12 20:53:08 +05:00
Nikolai Kochetov
4b0cac25d1 Update LimitTransform. 2020-03-12 18:52:27 +03:00
alesapin
74a908f7de Reslove conflicts 2020-03-12 18:41:34 +03:00
Nikolai Kochetov
75185e5b40 Update LimitTransform. 2020-03-12 18:37:21 +03:00
Nikolai Kochetov
67518b777f Update LimitTransform. 2020-03-12 18:33:13 +03:00
Nikolai Kochetov
c580e42825 Update LimitTransform. 2020-03-12 18:29:35 +03:00
Alexander Kuzmenkov
81ac09746a Fix jit compilation settings in performance test 2020-03-12 18:27:24 +03:00
alexey-milovidov
5090198d3a
Merge pull request #9620 from ClickHouse/fix_round_error_code
Fix round function error code
2020-03-12 18:16:39 +03:00
alesapin
eac80dc420 Fix style error 2020-03-12 17:56:01 +03:00
alesapin
7a9f7bda9e test 2020-03-12 17:50:44 +03:00
Alexey Milovidov
e301e4fd51 Fixes after merge #9617 2020-03-12 17:36:54 +03:00
alexey-milovidov
170dc2124e
Merge pull request #9617 from shinoi2/master
Fix distributed ddl alter
2020-03-12 17:34:59 +03:00
Alexey Milovidov
91856dc36c Miscellaneous 2020-03-12 17:17:31 +03:00
Alexey Milovidov
e7db91a109 Miscellaneous 2020-03-12 17:17:31 +03:00
Alexey Milovidov
8afee2c686 Attempt to improve performance of datetime interval functions 2020-03-12 17:17:31 +03:00
Alexey Milovidov
d6b3773459 Miscellaneous improvements 2020-03-12 17:17:31 +03:00
Alexey Milovidov
f297c32930 Remove garbage 2020-03-12 17:17:31 +03:00
Alexey Milovidov
ee1103be3b Updated test result 2020-03-12 17:17:31 +03:00
Alexey Milovidov
0a0ef1ecc8 Fixed test 2020-03-12 17:17:31 +03:00
Alexey Milovidov
10b67aa231 Fixed error 2020-03-12 17:17:31 +03:00
Alexey Milovidov
a1c3c050cc Preparation to fix a test 2020-03-12 17:17:31 +03:00
Alexey Milovidov
9f7c87a681 Removed test that exists only by ignorance 2020-03-12 17:17:31 +03:00
Alexey Milovidov
dbc776d422 Better error messages 2020-03-12 17:17:31 +03:00
Alexey Milovidov
66b1c1a87b Preserve timezone in arithmetic operations on DateTime 2020-03-12 17:17:31 +03:00
robot-clickhouse
6a4e022a3b Auto version update to [20.4.1.1] [54434] 2020-03-12 16:07:08 +03:00
robot-clickhouse
fea24d0f98 Auto version update to [20.3.1.2621] [54433] 2020-03-12 16:06:31 +03:00
Alexander Kuzmenkov
5e26c33d58 fixup 2020-03-12 16:06:29 +03:00
Nikolai Kochetov
560576e1c9 Update LimitTransform. 2020-03-12 15:49:42 +03:00
Alexander Tokmakov
e98d4f4e5e remove isExternalTableExist 2020-03-12 15:36:31 +03:00
Guillaume Tassery
ea535e254d cosmetic 2020-03-12 13:29:28 +01:00
Alexander Tokmakov
cf28bfe8a7 Merge branch 'master' into split_databases_from_context 2020-03-12 15:09:41 +03:00
Guillaume Tassery
88a5dd3049 cosmetic 2020-03-12 13:09:15 +01:00
Nikolai Kochetov
708fe27022 Fix exception message in LibraryDictionarySource. 2020-03-12 14:26:00 +03:00
Nikolai Kochetov
401372544c Lower the number of processing rows for slow query. 2020-03-12 13:46:53 +03:00
alexey-milovidov
05da1bff8b
Merge pull request #9566 from ClickHouse/clang-tidy
Added some clang-tidy checks
2020-03-12 13:33:19 +03:00
Alexander Kuzmenkov
970836082e Merge remote-tracking branch 'origin/master' into HEAD 2020-03-12 12:38:19 +03:00
Alexander Kuzmenkov
c8744ab739 fixup 2020-03-12 12:37:57 +03:00
alesapin
9f67498af7 Merge branch 'master' into alter_on_top_of_mutations_merge_tree 2020-03-12 12:33:57 +03:00
alesapin
eb656c2a65 Fix round function error code 2020-03-12 12:26:54 +03:00
Alexey Milovidov
4543bca16f Fixed error 2020-03-12 12:09:44 +03:00
hao.he
5d14c50798 use dynamic_cast check distribued 2020-03-12 17:00:09 +08:00
Alexander Kuzmenkov
03f7130e98
Merge pull request #9605 from ClickHouse/aku/faster-perf-tests
Faster performance tests
2020-03-12 11:57:52 +03:00
Guillaume Tassery
245d90a894 Merge branch 'master' of github.com:ClickHouse/ClickHouse into dictionary_status 2020-03-12 09:11:44 +01:00
hao.he
b3447aaa58 Fix distributed ddl alter 2020-03-12 14:43:01 +08:00
Anton Popov
76cfa8a215 fix incorrect number of rows after filtering column with defaults 2020-03-12 05:16:05 +03:00
Anton Popov
aa95a8d951
Update 01097_one_more_range_reader_test.sql 2020-03-12 03:50:45 +03:00
Anton Popov
32f82629d8 fix prewhere in case when filter is shrinked by optimization and exists missing default in part 2020-03-12 03:39:48 +03:00
alexey-milovidov
ee1c801a27
Merge pull request #9599 from ClickHouse/trying_to_fix_kill_mutations
Trying to improve kill mutation tests
2020-03-12 03:10:45 +03:00
alexey-milovidov
0d7336c00e
Merge pull request #9603 from ClickHouse/fix_cyclic_aliases
Fix simpliest case of cyclic aliases
2020-03-12 03:03:49 +03:00
alexey-milovidov
fe10eb7546
Merge pull request #9608 from CurtizJ/fix-unstable-test
Make test more stable
2020-03-12 02:59:35 +03:00
Alexey Milovidov
1013fb9c55 Fixed minor issue in integration test 2020-03-12 02:19:00 +03:00
Alexander Kuzmenkov
f456ea3cda more stable queries 2020-03-12 00:14:25 +03:00
Alexander Kuzmenkov
299c0d4da9 Fix some performance tests 2020-03-12 00:08:08 +03:00
Alexander Kuzmenkov
41e6c64b59 fixup 2020-03-11 23:40:26 +03:00
Alexander Kuzmenkov
6313dcc19b Merge remote-tracking branch 'origin/master' into HEAD 2020-03-11 23:18:48 +03:00
Vladimir Chebotarev
850925325e Added test for MATERIALIZE TTL IN PARTITION. 2020-03-11 22:39:04 +03:00
Vladimir Chebotarev
8a8142049a Added MATERIALIZE TTL IN PARTITION. 2020-03-11 22:38:55 +03:00
Alexander Tokmakov
4972daeaed fixes 2020-03-11 22:10:55 +03:00
Alexey Milovidov
ec4794d3f6 Better wording 2020-03-11 21:51:12 +03:00
Nikolai Kochetov
aa72aa540c Added perftest. 2020-03-11 21:49:06 +03:00
Anton Popov
3729b2c77a
Update 01055_compact_parts_granularity.sh 2020-03-11 21:43:46 +03:00
Nikolai Kochetov
78d350bbaa Added comment. 2020-03-11 21:35:14 +03:00
alexey-milovidov
bbd9eb3d3e
Merge pull request #9600 from ClickHouse/update-zeros-tests
Update zeros tests
2020-03-11 21:14:08 +03:00
Alexey Milovidov
b024731b30 Fixed style 2020-03-11 21:02:00 +03:00
Alexey Milovidov
8f78741126 Fixed build 2020-03-11 20:56:57 +03:00
Anton Popov
a01f824789 make test more stable 2020-03-11 19:54:24 +03:00
Guillaume Tassery
6baf671017 optimization and factoring 2020-03-11 17:20:30 +01:00
alesapin
406b48a20e First stupid implementation of non-blocking alter for vanilla merge tree 2020-03-11 18:51:04 +03:00
Guillaume Tassery
52251dceb5 revert change 2020-03-11 16:34:12 +01:00
Guillaume Tassery
36d4f40d58 add dictionary status on prometheus server 2020-03-11 16:30:02 +01:00
Alexander Kuzmenkov
c30c3dbfbf Faster performance tests 2020-03-11 18:11:07 +03:00
alesapin
181f64b68c
Update 00834_kill_mutation.sh 2020-03-11 18:00:14 +03:00
alesapin
50a88885e1 Fix test for parallel drop 2020-03-11 17:38:58 +03:00
Nikolai Kochetov
5b56cb196c Fix debug tests. 2020-03-11 16:46:51 +03:00
Nikolai Kochetov
969ed1fcd8 Do not add limit to pipeline if there is prelimit. 2020-03-11 16:39:48 +03:00
alesapin
6d7eb583a5 Several cases with alters 2020-03-11 16:39:34 +03:00
alesapin
e63bb9a4a7 Fix simpliest case of cyclic aliases in QueryNormalizer 2020-03-11 16:36:33 +03:00
Nikolai Kochetov
325990caf9 Fil limit transform. 2020-03-11 16:17:50 +03:00
Nikolai Kochetov
926724ffd5 Fix limit transform. 2020-03-11 16:07:38 +03:00
Nikolai Kochetov
43ff4e669c Use common read roes counter for all pre-limit streams. 2020-03-11 15:19:30 +03:00
Alexey Milovidov
268c3600dc Fixed build 2020-03-11 15:01:58 +03:00
Nikolai Kochetov
cad043b11f Remove wrong files. 2020-03-11 14:25:53 +03:00
Nikolai Kochetov
ab2f2651f7 Update perftest after zeros. 2020-03-11 14:22:10 +03:00
alesapin
03259fc60a Trying to improve tests 2020-03-11 13:28:24 +03:00
Nikolai Kochetov
12212fc2d0
Merge pull request #9593 from ClickHouse/storage-system-zeroes
Storage system zeros
2020-03-11 13:09:48 +03:00
Nikolai Kochetov
1d083ed812 Added zeros test. 2020-03-11 13:09:16 +03:00
Alexey Milovidov
5b2c7507d2 Fixed build 2020-03-11 11:55:37 +03:00
alesapin
1143c45c3f Fix flappy test 2020-03-11 11:18:30 +03:00
alexey-milovidov
8b30f7ccef
Merge pull request #9594 from ClickHouse/revert-8370-keep_alias_type_name
Revert "Keep alias type name to metadata"
2020-03-11 10:39:26 +03:00
Alexey Milovidov
37d8a9dece Merge branch 'clang-tidy' of github.com:yandex/ClickHouse into clang-tidy 2020-03-11 10:20:29 +03:00
Alexey Milovidov
9f38cb768f Fixed build 2020-03-11 10:19:44 +03:00
alexey-milovidov
beed841441
Merge branch 'master' into clang-tidy 2020-03-11 10:16:13 +03:00
Alexey Milovidov
3a59e41143 Update tests 2020-03-11 03:27:30 +03:00
alexey-milovidov
f89ea41f63
Merge pull request #9586 from amosbird/cn
parallelogram -> hyperrectangle
2020-03-11 03:21:51 +03:00
alexey-milovidov
b3b4a4b58d
Merge pull request #9592 from ClickHouse/fix-block-serialized-state
Fix blockSerializedState function
2020-03-11 03:19:50 +03:00
Alexander Tokmakov
8b3a245a1d improve temporary tables 2020-03-10 22:36:17 +03:00
Alexey Milovidov
0358be08f4 Merge branch 'master' of github.com:ClickHouse/ClickHouse into clang-tidy 2020-03-10 21:48:30 +03:00
Nikolai Kochetov
655ba5b0e7 Fix comment. 2020-03-10 21:17:16 +03:00
alexey-milovidov
220188caca
Revert "Keep alias type name to metadata" 2020-03-10 21:16:14 +03:00
Alexey Milovidov
8e712cfa29 Added test 2020-03-10 20:51:42 +03:00
Alexey Milovidov
461c0a2ccd Fixed error in blockSerializedSize function 2020-03-10 20:50:23 +03:00
Alexey Milovidov
63d8391e19 Fixed error in blockSerializedSize function 2020-03-10 20:50:02 +03:00
Alexey Milovidov
e9dfb4e5a0 Fixed clang-tidy warning 2020-03-10 20:43:57 +03:00
Nikolai Kochetov
f052b03ee9 Fix zeors column type. 2020-03-10 20:42:31 +03:00
Nikolai Kochetov
3042ff5db5 Fix zeors column name. 2020-03-10 20:40:33 +03:00
Nikolai Kochetov
55ce0a9e8a Fix access type. 2020-03-10 20:27:21 +03:00
alexey-milovidov
8382af4dd0
Merge pull request #9583 from ClickHouse/trying_to_fix_clone_replica
Better clone of lost replica
2020-03-10 20:23:49 +03:00
Nikolai Kochetov
6334c8f2ab Fix access type. 2020-03-10 20:02:15 +03:00
Alexey Milovidov
6ae012cb2c Fixes after merge 2020-03-10 19:57:54 +03:00
Amos Bird
7659a56266
parallelogram -> hyperrectangle 2020-03-10 23:00:39 +08:00
Alexey Milovidov
cfc4ed2863 Fixes after merge 2020-03-10 17:56:37 +03:00
Nikolai Kochetov
d1073dd9dd Added table functions zeros and zeros_mt 2020-03-10 17:54:22 +03:00
Alexey Milovidov
27d60c6fe4 Added unneeded unrelated changes just in case 2020-03-10 17:39:44 +03:00
Alexey Milovidov
1224866ea9 Merge branch 'master' into clang-tidy 2020-03-10 17:39:30 +03:00
alesapin
27f07b513e Fix sophisticated default 2020-03-10 16:34:54 +03:00
alesapin
931bf9010a Better clone of lost replica 2020-03-10 16:15:12 +03:00
Nikolai Kochetov
80b2060fa2 Added table functions zeros and zeros_mt 2020-03-10 16:14:49 +03:00
Nikolai Kochetov
855e3378b6 Added system.zeros and system.zeros_mt 2020-03-10 16:01:29 +03:00
Nikita Mikhaylov
b15532dbdf
Merge pull request #9415 from Jokser/merge-tree-s3-initial
Storage MergeTree initial support for S3.
2020-03-10 13:22:44 +03:00
Alexander Tokmakov
c7468d2502 Merge branch 'master' into split_databases_from_context 2020-03-10 13:15:27 +03:00
alesapin
7520d4f1ee
Merge pull request #9484 from filimonov/docker_for_odbc_driver3
Try newer version of odbc driver
2020-03-10 12:50:28 +03:00
Alexey Milovidov
d416d214a5 Fixed error 2020-03-10 03:12:05 +03:00
Alexey Milovidov
fea40a5b9b Fixed error 2020-03-10 00:14:27 +03:00
Alexey Milovidov
651070d324 Merge branch 'master' into clang-tidy 2020-03-10 00:10:35 +03:00
alexey-milovidov
b2d683f3ff
Merge pull request #9567 from Enmk/DateTime_formatting_tests
Date time formatting tests
2020-03-09 18:29:04 +03:00
Alexey Milovidov
cf9ba26a2b Merge branch 'master' of github.com:yandex/ClickHouse into clang-tidy 2020-03-09 17:49:23 +03:00
Alexey Milovidov
fdba15098d clang-tidy, part 25 2020-03-09 17:45:09 +03:00
Vasily Nemkov
492916d76a Fixed build on GCC-9 2020-03-09 21:36:49 +08:00
Vasily Nemkov
593e0a1ddd Zero DateTime64 with zero scale is now same string representation as zero DateTime 2020-03-09 13:34:22 +08:00
Vasily Nemkov
cd5a08c242 New test cases for Date/DateTime/DateTime64 output to string. 2020-03-09 12:32:37 +08:00
Alexey Milovidov
10e5550c02 clang-tidy, part 24 2020-03-09 06:44:48 +03:00
Alexey Milovidov
7c188b8479 clang-tidy, part 23 2020-03-09 06:41:03 +03:00
Alexey Milovidov
66582d69a5 clang-tidy, part 22 2020-03-09 06:38:43 +03:00
Alexey Milovidov
3f455a024e clang-tidy, part 21 2020-03-09 06:14:24 +03:00
Alexey Milovidov
c5f2e95e52 clang-tidy, part 20 2020-03-09 05:55:28 +03:00
Alexey Milovidov
2ef5026090 clang-tidy, part 19 2020-03-09 05:31:05 +03:00
Alexey Milovidov
71e5c0ee3e clang-tidy, part 18 2020-03-09 05:26:50 +03:00
Alexey Milovidov
c079a1e15c clang-tidy, part 17 2020-03-09 05:15:19 +03:00
Alexey Milovidov
d1025b2dc7 clang-tidy, part 16 2020-03-09 05:10:20 +03:00
Alexey Milovidov
04239a0f5c clang-tidy, part 15 2020-03-09 05:05:04 +03:00
Alexey Milovidov
d3aa0e8ed8 clang-tidy, part 14 2020-03-09 04:59:08 +03:00
Alexey Milovidov
7334c13de9 clang-tidy, part 13 2020-03-09 04:50:33 +03:00
Alexey Milovidov
cde492a784 clang-tidy, part 12 2020-03-09 04:22:33 +03:00
Alexey Milovidov
6320f59abb clang-tidy, part 11 2020-03-09 04:03:43 +03:00
Alexey Milovidov
48c92cc1cd clang-tidy, part 10 2020-03-09 03:28:05 +03:00
Alexey Milovidov
63cf9f8c5b clang-tidy, part 9 2020-03-09 03:08:02 +03:00
Alexey Milovidov
889ae0305b clang-tidy, part 8 2020-03-09 02:48:08 +03:00
Alexey Milovidov
c24333a437 clang-tidy, part 7 2020-03-09 01:38:12 +03:00
Alexey Milovidov
2a4d5459db clang-tidy, part 6 2020-03-09 01:08:39 +03:00
Alexey Milovidov
e8b3bac597 clang-tidy, part 5 2020-03-09 00:53:03 +03:00
Alexey Milovidov
79c6bd5ae7 clang-tidy, part 4 2020-03-09 00:40:00 +03:00
Alexey Milovidov
b53ec30978 clang-tidy, part 3 2020-03-09 00:29:00 +03:00
Alexey Milovidov
1657b9fb60 clang-tidy, part 2 2020-03-09 00:18:53 +03:00
Alexey Milovidov
7a7e45e248 clang-tidy, part 1 2020-03-09 00:04:10 +03:00
Alexey Milovidov
1cba0eaceb Merge branch 'master' into clang-tidy 2020-03-08 23:31:29 +03:00
Alexey Milovidov
75754f309e Normalize running time of some queries in performance tests 2020-03-08 23:28:17 +03:00
alexey-milovidov
f1c15eed99
Merge pull request #9534 from ClickHouse/generate-normalization
Fixes after merging "generateRandom" table function
2020-03-08 23:22:32 +03:00
Alexey Milovidov
de67bd78bd Added some clang-tidy checks 2020-03-08 23:17:49 +03:00
alexey-milovidov
be0311f4eb
Merge pull request #9407 from achimbab/fix_not_has
Fix not(has()) for the bloom_filter index of array types.
2020-03-08 19:52:25 +03:00
alesapin
bce00a6bf2 Fix parallel tests 2020-03-08 17:57:31 +03:00
philip.han
87d9091195 Set can_be_false to true when it applies to the bloom_filter 2020-03-08 22:22:20 +09:00
Alexander Kuzmenkov
e9690f266a
Merge pull request #9557 from ClickHouse/remove-infinite-tests
Remove performance tests of type "once", finally.
2020-03-08 16:19:41 +03:00
Artem Zuikov
3ed270dcb7
Rewrite CROSS/COMMA to INNER JOIN using table's columns knowledge (#9512)
use column names in CrossToInnerJoinVisitor
2020-03-08 14:07:05 +03:00
tavplubix
3b770d8b1b
Fix stateless tests with msan (#9531)
* try run tests

* try fix build

* try enable other libraries

* suppress some msan warnings

* Update msan_suppressions.txt

* Update msan_suppressions.txt

* use function names in suppressions list

* update submodule
2020-03-08 12:32:22 +03:00
Alexey Milovidov
6f8a8bb21e Updated test 2020-03-08 04:24:13 +03:00
Alexey Milovidov
256acebfca Merge branch 'pr_add_auc' of https://github.com/taiyang-li/ClickHouse into taiyang-li-pr_add_auc 2020-03-08 02:10:34 +03:00
Alexey Milovidov
bfe44d171e Updated test 2020-03-08 01:17:45 +03:00
Alexey Milovidov
ec893a9998 Adjusted parameters in test 2020-03-08 01:13:21 +03:00
Alexey Milovidov
82eb71fd89 Added missing code 2020-03-08 01:13:01 +03:00
Alexey Milovidov
4a5d61f43f Fixed errors 2020-03-08 01:07:09 +03:00
Alexey Milovidov
757c37c03e Support for NULL as random seed; reordered parameters for convenience 2020-03-08 00:09:45 +03:00
Alexey Milovidov
609aef269d Support for NULL as random seed; reordered parameters for convenience 2020-03-07 23:54:27 +03:00
Alexey Milovidov
eb2a78c6b0 Support for NULL as random seed; reordered parameters for convenience 2020-03-07 23:35:55 +03:00
Alexey Milovidov
50e2e338ed Merge branch 'master' of github.com:yandex/ClickHouse into generate-normalization 2020-03-07 22:58:32 +03:00
alexey-milovidov
1991464cb6
Remove findClusterIndex, findClusterValue functions (#9543)
* Remove findCluster* functions

* Fixed test

* Fixed test
2020-03-07 22:56:58 +03:00
alexey-milovidov
9a10457cb6
Remove indexHint function (#9542)
* Remove indexHint function

* Fixed build

* Update KeyCondition.cpp

* Update KeyCondition.cpp
2020-03-07 22:56:38 +03:00
Alexey Milovidov
edc9f9886c Remove unused features from performance test 2020-03-07 22:52:07 +03:00
Alexey Milovidov
c30d1ba18b Addition to prev. revision 2020-03-07 22:44:18 +03:00
Alexey Milovidov
1645ce8696 Removed outdated info 2020-03-07 22:41:16 +03:00
Alexey Milovidov
8fa05b080c Renamed a test 2020-03-07 22:33:06 +03:00
Alexey Milovidov
7c791e1cf1 Remove infinite performance tests 2020-03-07 22:32:36 +03:00
Alexey Milovidov
cfe2464e29 Fixed errors 2020-03-07 22:32:04 +03:00
Alexey Milovidov
5add8b589e Merge branch 'master' into generate-normalization 2020-03-07 22:05:15 +03:00
Alexey Milovidov
c658d85aa8 Whitespaces 2020-03-07 22:04:47 +03:00
Alexey Milovidov
51bd480d2a Merge branch 'master' of github.com:yandex/ClickHouse into generate-normalization 2020-03-07 18:11:47 +03:00
Alexey Milovidov
d4a724dcc7 Fixed build 2020-03-07 15:44:24 +03:00
Alexey Milovidov
0b73257612 Merge branch 'master' of github.com:yandex/ClickHouse into fix-race-condition-queue-task 2020-03-07 15:41:21 +03:00
alexey-milovidov
32b37c6453
Merge pull request #9555 from ClickHouse/fixed-race-in-test
Fixed race condition in test 00738_lock_for_inner_table
2020-03-07 15:40:21 +03:00
Alexey Milovidov
ea7d0093c1 Fixed race condition in test 2020-03-07 07:41:17 +03:00
Alexey Milovidov
bfb502cf58 Fix race condition in executeMetadataAlter 2020-03-07 07:00:24 +03:00
Alexey Milovidov
643367642c Fixed race condition on queue_task_handle 2020-03-07 06:52:50 +03:00
Alexey Milovidov
c07cb38423 Fixed error 2020-03-07 06:19:28 +03:00
alexey-milovidov
48101a54bf
Merge pull request #9470 from ClickHouse/aku/endless-tests6
Change endless performance tests (6)
2020-03-07 04:05:04 +03:00
alexey-milovidov
506575a8f7
Update simple_join_query.xml 2020-03-07 04:04:41 +03:00
alexey-milovidov
86eb3f00f7
Merge pull request #9469 from ClickHouse/aku/endless-tests5
Change endless performance tests (5)
2020-03-07 04:03:34 +03:00
alexey-milovidov
4f6b6533a1
Merge pull request #9445 from ClickHouse/aku/endless-tests4
Change endless performance tests (4)
2020-03-07 04:03:08 +03:00
alexey-milovidov
fb31829b97
Merge pull request #9444 from ClickHouse/aku/endless-tests3
Change endless performance tests (3)
2020-03-07 04:02:37 +03:00
alexey-milovidov
52407db346
Merge pull request #9443 from ClickHouse/aku/endless-tests2
Change some endless performance tests (2)
2020-03-07 04:02:12 +03:00
alexey-milovidov
3c480702cb
Merge pull request #9441 from ClickHouse/aku/endless-tests1
Change endless performance tests (1)
2020-03-07 04:01:39 +03:00
Alexander Tokmakov
367b358822 remove Context::getTable() 2020-03-06 23:38:19 +03:00
Alexey Milovidov
b3a6f6b367 Revert "Simplification"
This reverts commit f5518c0c43.
2020-03-06 21:14:33 +03:00
Alexey Milovidov
49d6fec359 Merge branch 'master' of github.com:yandex/ClickHouse into session-cleaner-better-build-time 2020-03-06 19:31:52 +03:00
Pavel Kovalenko
bf3cd54c19 Proper variables capturing in CachedCompressedReadBuffer. 2020-03-06 15:28:26 +03:00
Vasily Nemkov
12596256ac Fixed test cases of parsing/formatting DateTime64 2020-03-06 16:31:50 +08:00
Pavel Kovalenko
898eb1f1d7 Fixed compilation. 2020-03-06 11:29:38 +03:00
Pavel Kovalenko
ff119a044b Fixed compilation. 2020-03-06 10:32:46 +03:00
Pavel Kovalenko
3a2f36dd54 Fixed compilation. 2020-03-06 10:31:00 +03:00
alexey-milovidov
f281724066
Merge pull request #9530 from excitoon-favorites/fixmissingdisk
Fixed wrong log messages about missing default disk or policy
2020-03-06 05:41:23 +03:00
Alexey Milovidov
1212339023 Fixed errors 2020-03-06 05:34:35 +03:00
Alexey Milovidov
d893eace17 Update tests 2020-03-06 05:19:40 +03:00
Alexey Milovidov
e30173f54b Fixed build 2020-03-06 05:19:28 +03:00
Alexey Milovidov
2fd918a162 Better code 2020-03-06 05:12:18 +03:00
Alexey Milovidov
7dd9b05787 Make sure that all columns are generated in performance test 2020-03-06 03:43:17 +03:00
alexey-milovidov
0bf12a779f
Merge pull request #8994 from qoega/qoega/random-table-function-small
Generate table function
2020-03-06 03:40:22 +03:00
alexey-milovidov
ceba898484
Merge branch 'master' into default_on_aliases 2020-03-06 03:24:46 +03:00
alexey-milovidov
20d353c04b
Merge pull request #9481 from ClickHouse/better_defaults
Restrict to use SELECT in columns default expressions.
2020-03-06 03:23:47 +03:00
Alexey Milovidov
f5518c0c43 Simplification 2020-03-06 01:45:59 +03:00
Pavel Kovalenko
ab808d1fc4 Code style issues. 2020-03-06 01:08:28 +03:00
Alexey Milovidov
a0ace3e94a Fixed error 2020-03-06 00:50:58 +03:00
Alexey Milovidov
c2aae62d75 Merge branch 'session-cleaner-better-build-time' of github.com:yandex/ClickHouse into session-cleaner-better-build-time 2020-03-06 00:42:55 +03:00
Alexey Milovidov
5d077e0213 Fixed error 2020-03-06 00:41:46 +03:00
alexey-milovidov
18bda0842f
Merge pull request #9528 from ClickHouse/test-reliable-to-random-stucks
Make "performance_introspection_and_logging" test reliable to random server stuck
2020-03-06 00:14:56 +03:00
alexey-milovidov
e245d42644
Merge pull request #9527 from ClickHouse/better-exception-message-cannot-load-table
Better exception message while loading tables for database ordinary
2020-03-06 00:14:26 +03:00
Vladimir Chebotarev
1a2122a854 Fixed wrong log messages about missing default disk or policy. 2020-03-06 00:03:59 +03:00
Alexey Milovidov
fa85385d34 Make "performance_introspection_and_logging" test reliable to random stucks 2020-03-05 23:11:06 +03:00
Pavel Kovalenko
8d07883b33 Merge branch 'master' into merge-tree-s3-initial
# Conflicts:
#	dbms/src/Storages/MergeTree/MergeTreeData.cpp
#	dbms/src/Storages/StorageMergeTree.cpp
2020-03-05 23:05:31 +03:00
Alexey Milovidov
d4d48a0165 Fix style 2020-03-05 23:02:55 +03:00
alexey-milovidov
3645375f71
Merge pull request #9409 from clemrodriguez/mysqlxx-share-connection
Mysqlxx share connection for external dictionaries only
2020-03-05 22:43:23 +03:00
Alexey Milovidov
92cb5fa8bb Merge branch 'better-exception-message-cannot-load-table' of github.com:ClickHouse/ClickHouse into better-exception-message-cannot-load-table 2020-03-05 22:30:16 +03:00
Alexey Milovidov
67d202a5f0 Addition to prev. revision 2020-03-05 22:30:08 +03:00
alexey-milovidov
66f8e9901d
Update DatabaseOrdinary.cpp 2020-03-05 22:27:36 +03:00
Alexey Milovidov
3cad682583 Better exception message while loading tables for database ordinary 2020-03-05 22:25:54 +03:00
Alexey Milovidov
3b85f2ffef Do not run session cleaner for client, local 2020-03-05 22:23:39 +03:00
Alexey Milovidov
7cd584b8ee Merge branch 'master' into better_defaults 2020-03-05 21:30:46 +03:00
Alexey Milovidov
c4f4e6b97e Added a test from Michael Filimonov 2020-03-05 21:24:31 +03:00
alexey-milovidov
0412d5ff79
Merge pull request #9525 from ClickHouse/fix-flacky-alter-test
Attempt to fix flacky test '00910_zookeeper_test_alter_compression_codecs'
2020-03-05 21:06:07 +03:00
alexey-milovidov
678cc00d30
Update StorageGenerate.cpp 2020-03-05 21:01:36 +03:00
Alexey Milovidov
d4dcd1a2d5 Merge branch 'master' into default_on_aliases 2020-03-05 20:42:30 +03:00
Alexey Milovidov
dd13e0353a Fixed build 2020-03-05 18:40:59 +03:00
alexey-milovidov
adcf1735d6
Update TableFunctionGenerate.cpp 2020-03-05 18:39:03 +03:00
alexey-milovidov
92f84c8839
Update TableFunctionGenerate.h 2020-03-05 18:37:47 +03:00
Alexey Milovidov
8587d47c5c Fixed build 2020-03-05 18:33:34 +03:00
alexey-milovidov
41ce2ad5b8
Update 00910_zookeeper_test_alter_compression_codecs.sql 2020-03-05 18:22:47 +03:00
Alexey Milovidov
2acd6afe0b Fixed build 2020-03-05 18:08:25 +03:00
Alexey Milovidov
722a946ce5 Merge branch 'session-cleaner-better-build-time' of github.com:ClickHouse/ClickHouse into session-cleaner-better-build-time 2020-03-05 18:00:40 +03:00
Alexey Milovidov
3aba47aa8b Merge branch 'master' into session-cleaner-better-build-time 2020-03-05 17:59:49 +03:00
alexey-milovidov
a4573ab7df
Quote some identifiers when formatting SQL queries. (#9142)
* Added test

* Different way to fix the issue

* Different way to fix the issue

* Descend instead of syntax error while parsing INTERVAL operators

* Remove old comment
2020-03-05 17:55:53 +03:00
alexey-milovidov
e64e6d7b57
Merge pull request #9524 from ClickHouse/parallel-insert-select-wrong-code
Fixed absolutely wrong documentation for parallel INSERT SELECT
2020-03-05 17:53:32 +03:00
alexey-milovidov
e68d31d605
Merge pull request #8594 from excitoon-favorites/substitutestorageconfiguration
Added reloading storage configuration from configuration file
2020-03-05 17:52:47 +03:00
Pavel Kovalenko
caf26d8aff IDisk get/set last modified time implementation. 2020-03-05 17:02:15 +03:00
Pavel Kovalenko
96bb607e66 Open file for reading lazily in CachedCompressedReadBuffer. 2020-03-05 17:01:19 +03:00
Alexey Milovidov
bdabcccc7b Retry when we should 2020-03-05 16:12:00 +03:00
Alexey Milovidov
d6b7f81866 Attempt to fix flacky test 2020-03-05 15:46:05 +03:00
Alexey Milovidov
63423a5162 Fixed absolutely wrong documentation for parallel INSERT SELECT 2020-03-05 15:27:32 +03:00
Alexander Tokmakov
2a18ada890 fix test_part_log_table
part_log must be created in system database,
because otherwise it is not guaranteed that part_log loaded
before it can be used by other table
2020-03-05 13:49:25 +03:00
Nikita Mikhaylov
b3ad57a723
Merge pull request #9513 from filimonov/kafka_exceptions_from_destructors
Kafka exceptions from destructors
2020-03-05 12:28:03 +03:00
Vladimir Chebotarev
db87e6f668 Fixed style. 2020-03-05 11:21:53 +03:00
Alexey Milovidov
4e15d74469 Better code around sessions, step 3 2020-03-05 07:10:48 +03:00
Alexey Milovidov
aac2f98870 Better code around sessions, step 2 2020-03-05 06:57:31 +03:00
Alexey Milovidov
156e6246c1 Better code around sessions 2020-03-05 06:12:07 +03:00
Alexey Milovidov
c3746ddf3e Merge branch 'session-cleaner-better-build-time' of github.com:yandex/ClickHouse into session-cleaner-better-build-time 2020-03-05 05:15:03 +03:00
Alexey Milovidov
ef7fd6c486 Merge branch 'master' into session-cleaner-better-build-time 2020-03-05 05:14:28 +03:00
alexey-milovidov
1d51ad0296
Merge pull request #9261 from CurtizJ/improve-index-in
Improve performance of analysing index with IN
2020-03-05 01:03:52 +03:00
alexey-milovidov
4629f78da7
Merge pull request #9507 from filimonov/kafka_write_suffix_exception
Proper processing of exception in write_suffix in Kafka
2020-03-05 00:15:07 +03:00
alexey-milovidov
3ab274469e
Merge pull request #9391 from ClickHouse/array-slice-aggregate-function
Implement arraySlice for arrays with aggregate function states.
2020-03-05 00:10:31 +03:00
Alexander Tokmakov
2d5ed7832b remove tryGetTable 2020-03-04 23:29:52 +03:00
Mikhail Filimonov
9705e3ffab Style fixes 2020-03-04 19:07:36 +01:00
Mikhail Filimonov
1be66874f9 Kafka: catch and log exceptions in desctructors. Fixes #9494 2020-03-04 17:45:03 +01:00
Alexander Tokmakov
67c63a72c7 Merge branch 'master' into split_databases_from_context 2020-03-04 19:24:05 +03:00
Alexander Tokmakov
273333b437 fixes 2020-03-04 19:22:33 +03:00
alexey-milovidov
3ae13f646a
Merge pull request #9495 from azat/progress-on-tcp
Fix progress over tcp
2020-03-04 19:19:54 +03:00
alexey-milovidov
2e307f99eb
Merge pull request #9498 from ClickHouse/remove-boost-iterator-adaptor
Get rid of boost::iterator_adaptor
2020-03-04 18:51:57 +03:00
filimonov
5f1d07a714
increase timeout to make even slowest build green 2020-03-04 16:31:53 +01:00
Alexey Milovidov
7ca1dff219 Merge branch 'master' of github.com:yandex/ClickHouse 2020-03-04 18:16:48 +03:00
Alexey Milovidov
06c8e04998 Fixed comment #4215 2020-03-04 18:16:32 +03:00
Vladimir Chebotarev
2ee0821931 Added tests for reloading storage configuration. 2020-03-04 15:10:17 +03:00
Vladimir Chebotarev
2bd6474379 Adding storage policies and disks while reloading configuration. 2020-03-04 15:10:17 +03:00
Nikita Mikhaylov
71a9430924
fix flapping test 2020-03-04 13:46:14 +03:00
Artem Zuikov
0522ab9563
Merge pull request #9488 from 4ertus2/ast
Some more JoinedTables related refactoring
2020-03-04 13:42:01 +03:00
Yatsishin Ilya
c210011a4f Merge remote-tracking branch 'origin' into qoega/random-table-function-small 2020-03-04 11:54:02 +03:00
Yatsishin Ilya
f0a5985e4c fix query in perf test 2020-03-04 11:53:48 +03:00
Azat Khuzhin
8adcbc7952 Send progress after final update (like logs)
Otherwise you will get non completed progress on TCP, HTTP does not
affected.

Final updateProgress called from the executeQueryImpl::finish_callback:
  (gdb) bt
  0  DB::TCPHandler::updateProgress (this=0x7fffb581e000, value=...) at TCPHandler.cpp:1178
  1  0x00007ffff7c62038 in DB::TCPHandler::<lambda(const DB::Progress&)>::operator()(const DB::Progress &) const (...) at TCPHandler.cpp:127
  4  0x00007fffe9a86671 in DB::<lambda(DB::IBlockInputStream*, DB::IBlockOutputStream*)>::operator()(DB::IBlockInputStream *, DB::IBlockOutputStream *) (__closure=0x7fffb588f300,
     stream_in=0x7fffb5800290, stream_out=0x0) at executeQuery.cpp:450
  5  0x00007fffe9a8b948 in std::_Function_handler<void(DB::IBlockInputStream*, DB::IBlockOutputStream*), DB::executeQueryImpl(...)::<lambda(DB::IBlockInputStream*, DB::IBlockOutputStream*)> >::_M_invoke(const std::_Any_data &, DB::IBlockInputStream *&&, DB::IBlockOutputStream *&&) (...) at std_function.h:300
  6  0x00007ffff7c7482f in std::function<>::operator()(DB::IBlockInputStream*, DB::IBlockOutputStream*) const (..) at std_function.h:688
  7  0x00007ffff7c6f82b in DB::BlockIO::onFinish (this=0x7fffb5820738) at BlockIO.h:43
  8  0x00007ffff7c65eb0 in DB::TCPHandler::processOrdinaryQuery (this=0x7fffb581e000) at TCPHandler.cpp:540
  9  0x00007ffff7c63a50 in DB::TCPHandler::runImpl (this=0x7fffb581e000) at TCPHandler.cpp:269
  10 0x00007ffff7c6a6fd in DB::TCPHandler::run (this=0x7fffb581e000) at TCPHandler.cpp:1226
  ...
2020-03-04 11:31:47 +03:00
Ilya Yatsishin
f0687827cf
Merge pull request #9500 from ClickHouse/update-base64
Update base64
2020-03-04 10:48:59 +03:00
Yatsishin Ilya
333161bb6b Merge remote-tracking branch 'origin' into qoega/random-table-function-small 2020-03-04 10:27:45 +03:00
Mikhail Filimonov
0d25208237 Prevent loosing data in kafka when execption happen after read suffix, but before commit. Fixes #9378 2020-03-04 07:58:44 +01:00
alexey-milovidov
26c74d679f
Merge pull request #9493 from traceon/timezone-http-header
Set X-ClickHouse-Timezone HTTP response header to the server's timezone
2020-03-04 04:29:36 +03:00
alexey-milovidov
bcf0f99844
Merge pull request #9483 from ClickHouse/num_threads_for_query_pipeline
Better calculation for recommended number of threads to execute pipeline
2020-03-04 04:22:19 +03:00
Alexey Milovidov
33daec2e75 Added a test #9491 2020-03-04 01:53:00 +03:00
Alexander Kazakov
a34852676a
Merge pull request #9487 from ClickHouse/akz/preformance_tests_for_logical_functions
In LogicalFunctions performance tests: Adjusted test queries execution times
2020-03-03 23:59:40 +03:00
alexey-milovidov
fd9cd00824
Update 01013_sync_replica_timeout_zookeeper.sh 2020-03-03 23:38:27 +03:00
Alexey Milovidov
a4e7c287b5 Merge branch 'master' into chaos-sanitizer 2020-03-03 23:06:02 +03:00
Alexey Milovidov
3cdf84d45f Get rid of boost::iterator_adaptor #9442 2020-03-03 23:00:45 +03:00
Anton Popov
bf39a6c5c0
fix flappy test 2020-03-03 22:23:41 +03:00
alexey-milovidov
f6a19ba438
Merge pull request #9442 from ClickHouse/akz/column_vector_replicate_faster
ColumnVector::replicate() is even more readily vectorized now
2020-03-03 22:06:04 +03:00
alexey-milovidov
c7de005c8a
Merge pull request #9464 from ClickHouse/fix_shared_chunk_leak
Fix LIMIT WITH TIES wrong result and memory leak in MergingSortedTransform
2020-03-03 22:01:48 +03:00
alexey-milovidov
a943618748
Merge pull request #9420 from ClickHouse/aku/faster-perf-tests
Make some performance tests faster
2020-03-03 21:40:03 +03:00
alesapin
30468b23e7 Fix style 2020-03-03 21:15:54 +03:00
alesapin
2b390a9b73
Merge pull request #8701 from ClickHouse/alter_on_top_of_mutations
Alter on top of mutations for ReplicatedMergeTree
2020-03-03 20:15:08 +03:00
Denis Glazachev
298e68a334 Better name for the test 2020-03-03 19:34:50 +04:00
Denis Glazachev
975107f0ab Combine executeQuery() callbacks
Set X-ClickHouse-Timezone HTTP Response header in the executeQuery() callback
2020-03-03 19:32:41 +04:00
alesapin
992bff9722 Simplify aliases in test 2020-03-03 17:44:55 +03:00
alesapin
3554db185e Simplify aliases in test 2020-03-03 17:43:54 +03:00
alesapin
720d9e287a More comments 2020-03-03 17:27:43 +03:00
Artem Zuikov
5829b51c6b some more refactoring 2020-03-03 17:25:45 +03:00
alesapin
d19e21ba19 Default columns which depends on aliases 2020-03-03 17:25:28 +03:00
Nikolai Kochetov
4f5a2ee6d1 Added test. 2020-03-03 16:55:40 +03:00
Nikolai Kochetov
7c879259c1 Added test. 2020-03-03 16:54:28 +03:00
Alexander Kuzmenkov
4ca8735b56 faster 2020-03-03 16:38:20 +03:00
Alexander Kazakov
94f15145f0 Adjusted test queries execution times to be between 200ms and 300ms 2020-03-03 16:07:57 +03:00
alesapin
d0bcbf7581 Review and style fixes 2020-03-03 15:51:41 +03:00
alexey-milovidov
2cfe26c3d3
Merge pull request #9472 from ClickHouse/memory-profiler-fix
Fixed wrong code around Memory Profiler
2020-03-03 15:16:45 +03:00
Alexander Kuzmenkov
74d7d95d34 fixup 2020-03-03 15:01:25 +03:00
Yatsishin Ilya
8acf6834ec fix finite result for infinite query 2020-03-03 14:31:18 +03:00
Mikhail Filimonov
add201401d Try newer version of odbc driver 2020-03-03 11:50:09 +01:00
Nikolai Kochetov
72fe21c5ae Better calculation for recommended number of threads to execute query pipeline. 2020-03-03 13:28:37 +03:00
Alexander Kuzmenkov
66fbc39357 fixup 2020-03-03 13:17:23 +03:00
Alexander Kuzmenkov
92ce145eef
Merge pull request #9467 from ClickHouse/aku/faster-tests-2
Faster performance tests (2)
2020-03-03 13:13:31 +03:00
Artem Zuikov
7189296e88
Merge pull request #9471 from 4ertus2/ast
JoinedTables related changes
2020-03-03 13:11:29 +03:00
Alexander Kuzmenkov
825f867591 fixup 2020-03-03 13:09:47 +03:00
alesapin
00c3898f32 better comment 2020-03-03 13:04:05 +03:00
alesapin
a9edc5c3a4 Restrict select queries in default expressions. Unify default checks in ALTER and CREATE queries. 2020-03-03 13:02:43 +03:00
Alexander Kuzmenkov
e78ceebf6e fixup 2020-03-03 13:00:51 +03:00
alesapin
1aac3a5c9d Fixing defaults 2020-03-03 12:05:17 +03:00