Commit Graph

26533 Commits

Author SHA1 Message Date
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
Yatsishin Ilya
afbf7533c4 Merge remote-tracking branch 'origin' into qoega/random-table-function-small 2020-03-03 11:56:39 +03:00
alesapin
6e3b7b6294
Merge pull request #9476 from ClickHouse/remove-empty-lines
Remove excessive empty lines
2020-03-03 11:49:53 +03:00
Clément Rodriguez
423c7e8a86 Fix compilation issue in Clang 2020-03-03 09:32:58 +01:00
alesapin
4620954d24
Merge pull request #9463 from ClickHouse/fix_mutations_with_insert_quorum
Trying to fix mutations with last quorum parts
2020-03-03 11:11:21 +03:00
Alexey Milovidov
5b06842723 Remove excessive empty lines 2020-03-03 05:43:59 +03:00
Alexey Milovidov
97011463e5 Merge branch 'master' into memory-profiler-fix 2020-03-03 05:33:35 +03:00
Alexey Milovidov
7f9449062f Fix style check 2020-03-03 05:33:13 +03:00
Alexey Milovidov
8ee79d4074 Revert "Make QueryProfiler test more reliable"
This reverts commit f78f189bd8.
2020-03-03 05:31:50 +03:00
Alexey Milovidov
cd4f7f26e8 Added a test for Memory Profiler 2020-03-03 04:46:35 +03:00
Alexey Milovidov
f78f189bd8 Make QueryProfiler test more reliable 2020-03-03 04:15:45 +03:00
Alexey Milovidov
2c9e06aa14 Added a test 2020-03-03 04:01:52 +03:00
Alexey Milovidov
58d964ad16 Better documentation 2020-03-03 03:33:11 +03:00
Alexey Milovidov
609ca33878 Fixed wrong code around Memory Profiler 2020-03-03 03:28:52 +03:00
alexey-milovidov
5f55dc7385
Merge pull request #9358 from hczhcz/patch-0226
Add moduloOrZero
2020-03-03 03:27:23 +03:00
Alexey Milovidov
dc086b20a9 Fixed wrong code around Memory Profiler 2020-03-03 03:24:44 +03:00
Alexander Kuzmenkov
493354968b
Update consistent_hashes.xml 2020-03-02 23:40:17 +03:00
Alexander Kuzmenkov
88cf5db240
Update merge_tree_many_partitions_2.xml 2020-03-02 23:38:11 +03:00
Alexander Kuzmenkov
3b54c5eae7
Update group_array_moving_sum.xml 2020-03-02 23:36:44 +03:00
Alexander Tokmakov
70dc82f9aa add StorageID to ASTInsertQuery 2020-03-02 23:23:58 +03:00
Alexander Kuzmenkov
634ca1feec
Update array_join.xml 2020-03-02 23:02:55 +03:00
Alexander Kuzmenkov
e95ce301f5
Update base64_hits.xml 2020-03-02 23:01:57 +03:00
Artem Zuikov
94861e1ff2 JoinedTables related changes 2020-03-02 22:39:39 +03:00
Yatsishin Ilya
77c2b83022 Merge branch 'master' into qoega/random-table-function-small 2020-03-02 21:01:33 +03:00
Alexander Tokmakov
fa27ecf353 do not allow custom database for system tables 2020-03-02 20:25:36 +03:00
Alexander Kuzmenkov
46f7549b0c Merge remote-tracking branch 'origin/master' into HEAD 2020-03-02 20:13:55 +03:00
Alexander Kuzmenkov
b9a52f18f1 fixup 2020-03-02 20:13:49 +03:00
Alexander Kuzmenkov
55a08a2784 Change endless performance tests (6) 2020-03-02 20:06:57 +03:00
Alexander Kuzmenkov
0eb47b3415 Change endless performance tests (5) 2020-03-02 19:51:12 +03:00
Alexander Kazakov
fa3e915e7f Resorted to a minor correction in the for-loop 2020-03-02 19:51:03 +03:00
Alexander Kuzmenkov
d3aa03e6d4 Faster performance tests (2) 2020-03-02 19:15:01 +03:00
Alexander Kuzmenkov
35af14559a fixup 2020-03-02 18:59:37 +03:00
Alexander Kuzmenkov
5758ef7f2f Merge remote-tracking branch 'origin/master' into HEAD 2020-03-02 18:55:51 +03:00
Alexander Kuzmenkov
42d6083172 fixup 2020-03-02 18:37:44 +03:00
Alexander Kuzmenkov
08d372cc4c Merge remote-tracking branch 'origin/master' into HEAD 2020-03-02 18:35:52 +03:00
Alexander Kuzmenkov
7e542053fc fixup 2020-03-02 18:34:43 +03:00
Alexey Milovidov
0ecf3b2c7b Reordered config.xml 2020-03-02 18:29:52 +03:00
alesapin
0f89534d2c
Merge pull request #9466 from ClickHouse/fix_random_inserts_test
Fix random inserts test
2020-03-02 18:20:05 +03:00
alesapin
a92ce8e257 Fix tests for quorum inserts 2020-03-02 18:11:38 +03:00
Alexander Kuzmenkov
5b91901bb1 Merge remote-tracking branch 'origin/master' into HEAD 2020-03-02 18:11:05 +03:00
Alexander Kuzmenkov
16ac5afaa0 Merge remote-tracking branch 'origin/master' into HEAD 2020-03-02 18:08:46 +03:00
Alexander Kuzmenkov
5068346e59 fixup 2020-03-02 18:08:35 +03:00
alesapin
1a84a76cd7 Fix random inserts test 2020-03-02 18:00:34 +03:00
Alexander Tokmakov
a4d12b31a1 Merge branch 'master' into split_databases_from_context 2020-03-02 17:57:54 +03:00
Alexey Milovidov
57ab54c124 Fixed build on Mac OS X 2020-03-02 17:09:56 +03:00
Alexey Milovidov
cd5b67ad7f Fixed build on Mac OS X 2020-03-02 17:07:07 +03:00
Alexander Tokmakov
053094be9c get rid of SharedChunk 2020-03-02 16:25:59 +03:00
alesapin
38e9682a4f Remove last quorum parts from ReplicatedMergeTreePredicate 2020-03-02 16:07:13 +03:00
alesapin
ec3f6e8292 Trying to fix mutations with last quorum parts 2020-03-02 15:56:38 +03:00
Artem Zuikov
2b85ea17ef make test stable 2020-03-02 15:24:10 +03:00
Yatsishin Ilya
01af9e3795 save changes 2020-03-02 15:19:27 +03:00
alexey-milovidov
d15f11afc4
Merge pull request #9454 from ClickHouse/fixed-string-bit-ops-vector-constant-optimization
Optimize bit operations on FixedString when one of the arguments is constant
2020-03-02 15:18:30 +03:00
alexey-milovidov
020122d995
Merge pull request #9455 from ClickHouse/client-avoid-deadlock-message
Avoid message "deadlock avoided" in client
2020-03-02 15:13:17 +03:00
alesapin
489751d22e Better test 2020-03-02 13:24:06 +03:00
alesapin
a64e2e7d83 Merge branch 'master' into alter_on_top_of_mutations 2020-03-02 13:21:12 +03:00
alesapin
e3a491bba6 Make parallel test less flappy 2020-03-02 13:19:16 +03:00
Alexander Tokmakov
286c65e89e fix LIMIT WITH TIES 2020-03-02 13:06:44 +03:00
alesapin
fcd1610164 Remove unused error code 2020-03-02 12:25:59 +03:00
Ilya Yatsishin
c02ca3fbba
Merge pull request #9453 from ClickHouse/better-exception-message-length-required
Better exception message when length is required in HTTP
2020-03-02 11:44:19 +03:00
alesapin
b3e1c93acb Merge with master 2020-03-02 11:35:02 +03:00
alesapin
686f70fe26
Merge pull request #9412 from ClickHouse/CurtizJ-test-backward-compatability
Fix replication protocol backward incompatibility.
2020-03-02 11:12:43 +03:00
Alexey Milovidov
f71749f01d Fixed build on Mac OS 2020-03-02 05:23:58 +03:00
Alexey Milovidov
09aff52830 Remove too short timeouts from tests (they may lead to false positives) 2020-03-02 01:35:16 +03:00
Alexey Milovidov
9bffd88b92 Using ThreadFuzzer 2020-03-02 00:58:50 +03:00
Alexey Milovidov
999311f53e Chaos sanitizer: development 2020-03-02 00:56:17 +03:00
Alexey Milovidov
49a953b689 Chaos sanitizer: development 2020-03-01 23:50:27 +03:00
Alexey Milovidov
f633bba5ae Chaos sanitizer: development 2020-03-01 23:33:40 +03:00
Alexey Milovidov
5f55199ae8 Merge branch 'chaos-sanitizer' of github.com:yandex/ClickHouse into chaos-sanitizer 2020-03-01 23:21:29 +03:00
Alexey Milovidov
e483bf4fa8 Chaos sanitizer: development 2020-03-01 23:18:26 +03:00
alexey-milovidov
d1524ad884
Merge pull request #9392 from 4ertus2/ast
SyntaxAnalyzer refactoring
2020-03-01 22:50:04 +03:00
alexey-milovidov
c107ed2509
Merge pull request #9457 from ClickHouse/profiler-save-errno
Save errno in signal handlers
2020-03-01 21:45:12 +03:00
Vitaly Baranov
5b4b40f86f
Merge pull request #9447 from vitlibar/shard-clamps-settings-to-constraints
Shard now clamps the settings from the initiator.
2020-03-01 20:33:52 +03:00
Alexey Milovidov
e00767134f Chaos sanitizer: development 2020-03-01 19:07:51 +03:00
Alexey Milovidov
2c6d1eebf2 Chaos sanitizer: development 2020-03-01 19:06:08 +03:00
Alexey Milovidov
7c13b65e41 Save errno in signal handlers 2020-03-01 17:23:43 +03:00
Artem Zuikov
c7b5c903fc try fix generateFilterActions() - row filter on alias column 2020-03-01 16:00:13 +03:00
Vitaly Baranov
fc0376a170 Shard now clamps the settings got from the initiator to the shard's constaints instead of throwing an exception. 2020-03-01 02:18:49 +03:00
Vitaly Baranov
038e520960 Add tests. 2020-03-01 00:27:37 +03:00
Vitaly Baranov
39d9c315d4 Simplify the message about authentication: now the same message is used in all cases of failed authentication. 2020-03-01 00:27:15 +03:00
Vitaly Baranov
0f04ff0749
Merge pull request #9364 from vitlibar/RBAC-6
RBAC-6
2020-03-01 00:19:15 +03:00
Artem Zuikov
380ab37c9b fix transformQueryForExternalDatabase() 2020-02-29 23:27:13 +03:00
Alexey Milovidov
89ba7d5fc1 Avoid message "deadlock avoided" in client 2020-02-29 22:53:22 +03:00
Alexey Milovidov
06d2c82c22 Optimize bit operations on FixedString when one of the arguments is constant #9091 2020-02-29 22:39:18 +03:00
Alexey Milovidov
9c206fca39 Better exception message when length is required in HTTP 2020-02-29 21:27:34 +03:00
alexey-milovidov
2fc799c1c1
Merge pull request #9446 from ClickHouse/akz/preformance_tests_for_logical_functions
Comprehensive performance tests for logical functions
2020-02-29 21:18:49 +03:00
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
CurtizJ
e21971cce4 fix style check 2020-02-29 16:14:19 +03:00
Artem Zuikov
cdb9f456ee try fix tests with asan 2020-02-29 14:45:06 +03:00
CurtizJ
bf9c663b48 add unit test for MergeTreeSetIndex 2020-02-29 01:28:17 +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
Alexander Kuzmenkov
72d2e56c0a fixup 2020-02-28 22:44:15 +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
35bfb4b89a fixes 2020-02-28 21:49:31 +03:00
Alexander Kuzmenkov
207225bdc6 Merge remote-tracking branch 'origin/master' into HEAD 2020-02-28 21:43:17 +03:00
Alexander Kuzmenkov
187823f941 Faster perf tests -- a good part of #9420 2020-02-28 21:32:15 +03:00
Alexey Milovidov
cf7b4a12f1 Chaos Sanitizer: experiment 2020-02-28 21:12:52 +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
Pavel Kovalenko
98cd70ced3 MergeTree for S3 more coverage. 2020-02-28 20:14:55 +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
Alexander Kuzmenkov
420a709768 Change endless performance tests (4) 2020-02-28 20:02:43 +03:00
Alexander Kuzmenkov
adb6154052 Change endless performance tests (3) 2020-02-28 19:56:34 +03:00
Alexander Kuzmenkov
fa6ff1aa27 Change some endless performance tests (2) 2020-02-28 19:50:13 +03:00
Alexander Kuzmenkov
b0b391d472 Change endless performance tests (1) 2020-02-28 19:29:16 +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
dc4ae6435b ColumnVector::replicate() is even more readily vectorized now 2020-02-28 16:27:01 +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
Alexander Kuzmenkov
5ce0b62a20 Merge remote-tracking branch 'origin/master' into HEAD 2020-02-28 16:07:41 +03:00
Alexander Kuzmenkov
0b18b703c4 faster 2020-02-28 16:07:09 +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
Pavel Kovalenko
d91ef06370 Code style and logical issues fix. 2020-02-28 14:54:18 +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
Yatsishin Ilya
0a25fe71bd more docs 2020-02-28 12:19:11 +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
Yatsishin Ilya
cf9153e9de Merge remote-tracking branch 'origin' into qoega/random-table-function-small 2020-02-27 22:52:24 +03:00
Yatsishin Ilya
4c0f378931 recanonize on linux 2020-02-27 22:49:15 +03:00
Alexander Kuzmenkov
924f3d5a3f Faster cases. 2020-02-27 22:40:22 +03:00
Artem Zuikov
aad6669afb fix gcc9 build 2020-02-27 21:05:49 +03:00
Pavel Kovalenko
8c09902310 Code style issues. 2020-02-27 20:57:49 +03:00
CurtizJ
a17d286e83 allow to set query_id in clickhouse-benchmark 2020-02-27 20:21:01 +03:00
Pavel Kovalenko
44226a61cf Storage MergeTree initial support for S3. 2020-02-27 19:47:40 +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
Yatsishin Ilya
f1d864a03d add storage test and fix string generator 2020-02-27 18:03:29 +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