Commit Graph

26142 Commits

Author SHA1 Message Date
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
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
Alexey Milovidov
fa85385d34 Make "performance_introspection_and_logging" test reliable to random stucks 2020-03-05 23:11:06 +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
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
d4dcd1a2d5 Merge branch 'master' into default_on_aliases 2020-03-05 20:42:30 +03:00
alexey-milovidov
41ce2ad5b8
Update 00910_zookeeper_test_alter_compression_codecs.sql 2020-03-05 18:22:47 +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
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
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
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
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
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
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
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