Commit Graph

25997 Commits

Author SHA1 Message Date
alexey-milovidov
03fc1c80bf
Merge pull request #9451 from CurtizJ/fix-ttl-checksums
Fix mismatched checksums with column TTLs
2020-02-29 20:51:43 +03:00
Vitaly Baranov
bf1a7836c6 Add test for DiskAccessStorage. 2020-02-29 17:33:52 +03:00
Vitaly Baranov
64cf6a0b2b Add diagnostics to help find out why integration tests fail. 2020-02-29 17:33:52 +03:00
Artem Zuikov
cdb9f456ee try fix tests with asan 2020-02-29 14:45:06 +03:00
alexey-milovidov
893c3a6797
Merge pull request #9438 from ClickHouse/fix-use-after-move-for-input-pipe
Fix use-after-move in InterpreterSelectQuery
2020-02-29 00:00:56 +03:00
alexey-milovidov
a9a757dc7c
Merge pull request #9433 from amosbird/cleanbuild
cleaning duplicate linker flags
2020-02-28 23:59:55 +03:00
CurtizJ
9448f4710e fix mismatched checksums with column TTLs 2020-02-28 23:29:10 +03:00
alexey-milovidov
5335b589f9 Revert "Generic constructor of ColumnVector from initializer list (#9393)"
This reverts commit 6691302e4f.
2020-02-28 22:14:13 +03:00
alesapin
3725e7d217
Merge pull request #9427 from ClickHouse/trying_to_fix_mutations_finalization_one_more_time
Finalize mutations more frequently
2020-02-28 21:56:22 +03:00
alesapin
5dec1f9e8a
Merge pull request #9435 from ClickHouse/fix_alter_modify_settings
Fix stupid bug with settings alter
2020-02-28 21:55:49 +03:00
Alexander Kuzmenkov
187823f941 Faster perf tests -- a good part of #9420 2020-02-28 21:32:15 +03:00
Nikita Mikhaylov
56d3cd535d
Merge pull request #9413 from nikitamikhaylov/cache_dict_update_queue_size
CacheDictionaryUpdateQueueSize metric added
2020-02-28 20:29:11 +03:00
Alexander Kazakov
949908bfb7 Tiny corrections (EOL) 2020-02-28 20:06:19 +03:00
Alexander Kazakov
abd6345481 Enforce single threaded check in existing test for logical functions 2020-02-28 20:05:10 +03:00
Nikolai Kochetov
6a562ea818 Added comment to Chunk.h 2020-02-28 18:47:38 +03:00
Artem Zuikov
b3a930acf3 add JoinedTables class 2020-02-28 18:23:32 +03:00
Nikolai Kochetov
9360163e7b Fix use-after-move. 2020-02-28 18:11:18 +03:00
Vitaly Baranov
0cebefae3e The restart_clickhouse() function in integration tests now waits until the server is restarted. 2020-02-28 16:34:19 +03:00
Vitaly Baranov
91523752ce Use server config to set path to persistent storage for access entities. 2020-02-28 16:34:19 +03:00
Vitaly Baranov
2408c8cf57 Implement persistent storage for access entities. 2020-02-28 16:34:19 +03:00
Vitaly Baranov
2846567bf1 Add function IAccessStorage::canInsert(): now access storage can decide if it can take a new entity. 2020-02-28 16:34:19 +03:00
Vitaly Baranov
b7f0129505 Fix parsing list of roles in commands CREATE USER, CREATE ROW POLICY, CREATE QUOTA. 2020-02-28 16:34:19 +03:00
Vitaly Baranov
71bb3fc46d Add missed locks to MemoryAccessStorage. 2020-02-28 16:34:18 +03:00
Vitaly Baranov
455fad5919 Add attach mode to access-controlling SQL. 2020-02-28 16:34:18 +03:00
Alexander Kazakov
de85a880ac Minor changes to small tests 2020-02-28 16:12:43 +03:00
Alexander Kazakov
c32b62ae91 Added medium and large tests 2020-02-28 16:12:16 +03:00
alexey-milovidov
6691302e4f
Generic constructor of ColumnVector from initializer list (#9393)
* Generic constructor of ColumnVector from initializer list #9367

* Fixed build

* Fixed error
2020-02-28 15:57:04 +03:00
alesapin
bbe7ded486 Remove unused error code 2020-02-28 15:49:34 +03:00
alesapin
fc18f82189 Fix stupid bug with settings alter 2020-02-28 15:44:50 +03:00
Artem Zuikov
c4fc8e4d9d make test stable 2020-02-28 15:37:15 +03:00
Nikita Mikhaylov
e06432af60
CacheDictionary datarace on exception_ptr (#9379)
* datarace on exceptionptr fixed

* better

* monkey test added

* comment to test added

* add new line to reference file

* bump tests

* q
2020-02-28 15:34:39 +03:00
Artem Zuikov
d643332490 fix style check error 2020-02-28 14:03:09 +03:00
Amos Bird
615c6bba91
cleaning duplicate linker flags 2020-02-28 18:56:33 +08:00
Artem Zuikov
fdd1f248d0 Merge branch 'master' into ast 2020-02-28 13:54:33 +03:00
Nikita Mikhaylov
aaffe31613 split metric 2020-02-28 13:53:59 +03:00
Artem Zuikov
316a8e231d fix unit tests build 2020-02-28 13:38:46 +03:00
Anton Popov
adf4f7349f
temporary disable tests for compatability between replicas 2020-02-28 13:14:02 +03:00
alesapin
9a03d413aa Fix backward compatibility on server side 2020-02-28 12:58:35 +03:00
alesapin
46c6897ab5 Fix backward compatibility on server side 2020-02-28 12:57:45 +03:00
alesapin
1b7bf67e2b Merge branch 'master' into CurtizJ-test-backward-compatability 2020-02-28 12:18:41 +03:00
alesapin
5a5792259c Finalize mutations more frequently 2020-02-28 11:55:17 +03:00
alexey-milovidov
7b511b2d90
Merge pull request #9070 from urykhy/fix-mv-insert-2621
add option to force deduplicate children
2020-02-28 03:19:27 +03:00
alexey-milovidov
b3dfdbc1a0
Merge pull request #9387 from ClickHouse/fix_another_context_related_segfault
Fix Context-related segfault in StorageMerge and destruction order in BlockIO
2020-02-28 03:11:49 +03:00
alexey-milovidov
4a5e79ce3d
Merge pull request #9416 from CurtizJ/benchmark-query-id
Allow to set query_id in clickhouse-benchmark
2020-02-28 03:08:29 +03:00
proller
6b2d6e9392
Build fixes (#9381)
* Revert "Revert "Build fixes""

This reverts commit 355ff00c2e.

* zlib link fix
2020-02-28 03:07:42 +03:00
Nikita Mikhaylov
030a8a4164
Wrong counting of DictCacheKeysRequestedFound metric (#9411)
* first

* bump test
2020-02-28 03:07:00 +03:00
alexey-milovidov
6c0db94e21
Merge pull request #9394 from nikitamikhaylov/last_successful_update_time
last_successful_update_time in system.dictionaries
2020-02-28 03:03:16 +03:00
alexey-milovidov
ae8a701387
Merge pull request #9079 from yurriy/mysql
Send string columns to mysql client as utf8
2020-02-28 02:08:49 +03:00
Artem Zuikov
aad6669afb fix gcc9 build 2020-02-27 21:05:49 +03:00
CurtizJ
a17d286e83 allow to set query_id in clickhouse-benchmark 2020-02-27 20:21:01 +03:00
Alexander Tokmakov
8a91081331 fix BlockIO destruction order 2020-02-27 18:40:11 +03:00
Artem Zuikov
68dc399d0d minor changes 2020-02-27 18:06:04 +03:00
Artem Zuikov
2c09017a33 place optimizeIf() after scalar subqueries + better getTablesWithColumns() 2020-02-27 17:33:03 +03:00
Vitaly Baranov
217f5a094a Fix build on FreeBSD. 2020-02-27 16:41:17 +03:00
Artem Zuikov
db502ecd74 fix use after move 2020-02-27 16:31:32 +03:00
alesapin
fc7ec08f4d
Update DataPartsExchange.cpp 2020-02-27 15:50:10 +03:00
Nikita Mikhaylov
6d583ff66e first 2020-02-27 15:22:23 +03:00
Alexander Kazakov
ad6b6b3de9 Added small tests 2020-02-27 14:40:52 +03:00
Artem Zuikov
bb207da70d fix test 2020-02-27 14:40:22 +03:00
alesapin
e161cc1424 Fix protocol incompatibility introduced in https://github.com/ClickHouse/ClickHouse/pull/8598 2020-02-27 13:43:38 +03:00
alesapin
f09131809f Merge branch 'test-backward-compatability' of https://github.com/CurtizJ/ClickHouse into CurtizJ-test-backward-compatability 2020-02-27 13:41:44 +03:00
alesapin
4818d0508e Fix style check 2020-02-27 13:11:49 +03:00
Nikita Mikhaylov
c5f47bd976 squashed 2020-02-27 13:07:50 +03:00
Artem Zuikov
f65004beec executeScalarSubqueries() for all asts 2020-02-27 01:19:16 +03:00
mergify[bot]
b655190c2d
Merge pull request #9383 from excitoon-favorites/attachpart
Added a check for storage policy in `cloneAndLoadDataPartOnSameDisk()`
2020-02-26 20:29:30 +00:00
CurtizJ
102a61a257 Merge remote-tracking branch 'upstream/master' into test-backward-compatability 2020-02-26 23:11:13 +03:00
alexey-milovidov
25e26f0029
Merge pull request #9370 from ClickHouse/errorcodes-style
Ensure style of ErrorCodes by style check.
2020-02-26 23:10:19 +03:00
Artem Zuikov
8c90cbbbaa split SyntaxAnalyzer.analyze for selects and others 2020-02-26 22:33:09 +03:00
alexey-milovidov
0584f44a2f
Update MergeTreeData.cpp 2020-02-26 22:22:58 +03:00
alexey-milovidov
ab0bb7a48e
Merge pull request #9367 from huiwangcs/cow_sof
fix stack overflow issue when using initializer_list
2020-02-26 21:45:01 +03:00
Alexey Milovidov
ea15efc636 Merge branch 'master' of github.com:yandex/ClickHouse into errorcodes-style 2020-02-26 21:15:10 +03:00
Alexey Milovidov
107f31b739 Fixed build 2020-02-26 21:14:48 +03:00
alexey-milovidov
1c3b1fe353
Merge pull request #9384 from qoega/fix-ch-test-sed
fix sed with binary results (sed: RE error: illegal byte sequence)
2020-02-26 20:55:05 +03:00
Alexander Tokmakov
df8a90319a fix another Context-related segfault 2020-02-26 18:59:47 +03:00
Yatsishin Ilya
a260928658 better 2020-02-26 17:53:19 +03:00
Vladimir Chebotarev
534b3b91cc Added a check for storage policy in cloneAndLoadDataPartOnSameDisk(). 2020-02-26 17:51:01 +03:00
Yatsishin Ilya
af9e5ff290 fix sed with binary results (sed: RE error: illegal byte sequence) 2020-02-26 17:42:03 +03:00
CurtizJ
802d0796cc test for replicas backward comptability 2020-02-26 17:18:37 +03:00
Alexey Milovidov
d8885cb5d3 Fixed ErrorCodes, part 7 2020-02-26 17:18:30 +03:00
Alexey Milovidov
425ed714eb Merge branch 'master' of github.com:yandex/ClickHouse into errorcodes-style 2020-02-26 17:16:22 +03:00
Alexey Milovidov
d4b633ff2a Fixed ErrorCodes, part 6 2020-02-26 17:14:25 +03:00
alesapin
a01fde251e Merge branch 'master' into alter_on_top_of_mutations 2020-02-26 16:43:50 +03:00
alesapin
81f41d816e Add settings to fix flaps in test 2020-02-26 16:43:31 +03:00
alesapin
ef88484b27 Add option for temporary parts 2020-02-26 16:33:05 +03:00
Artem Zuikov
912ec60e7e
Enable joined_subquery_requires_alias by default (#9274)
enable joined_subquery_requires_alias by default
2020-02-26 16:11:06 +03:00
Nikolai Kochetov
2338f16637
Update README.md 2020-02-26 15:33:06 +03:00
alesapin
bf3d6d2a4d Merge branch 'master' into alter_on_top_of_mutations 2020-02-26 15:21:46 +03:00
alesapin
46e05bfdca Decrease test timeout 2020-02-26 15:08:57 +03:00
alexey-milovidov
d8c692199f
Merge pull request #9365 from ClickHouse/ubsan-index-set
Fixed UBSan report in MergeTreeIndexSet
2020-02-26 13:19:01 +03:00
alesapin
65f5435ed4 Move segfault test to bugs directory 2020-02-26 13:10:40 +03:00
Nikolai Kochetov
edca7d1588
Merge pull request #9371 from ClickHouse/try-fix-hdfs-tests
Fry fix StorageHDFS.
2020-02-26 12:52:06 +03:00
alesapin
ef9f3702c5 Less aggresive test 2020-02-26 12:40:02 +03:00
alesapin
cbd1c97751 Decrease flapping test timeout 2020-02-26 12:31:01 +03:00
alexey-milovidov
93c5062782
Merge pull request #9355 from amosbird/client2
Better cmdline client
2020-02-26 01:11:47 +03:00
Alexey Milovidov
681454175f Fixed ErrorCodes, part 5 2020-02-25 22:05:15 +03:00
Alexey Milovidov
029bcc7cd3 Fixed ErrorCodes, part 4 2020-02-25 21:58:28 +03:00
Nikolai Kochetov
f012ae38e4 Fry fix StorageHDFS. 2020-02-25 21:48:25 +03:00
Amos Bird
ce28d2eb82
Better cmdline client 2020-02-26 02:40:52 +08:00
Alexey Milovidov
7228c48be5 Added missing ErrorCodes, part 4 2020-02-25 21:20:38 +03:00
Alexey Milovidov
8f90c6ec12 Fixed ErrorCodes, part 3 2020-02-25 21:20:08 +03:00