Commit Graph

658 Commits

Author SHA1 Message Date
Alexander Tokmakov
cf28bfe8a7 Merge branch 'master' into split_databases_from_context 2020-03-12 15:09:41 +03:00
Alexander Tokmakov
8b3a245a1d improve temporary tables 2020-03-10 22:36:17 +03:00
Alexander Tokmakov
c7468d2502 Merge branch 'master' into split_databases_from_context 2020-03-10 13:15:27 +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
b53ec30978 clang-tidy, part 3 2020-03-09 00:29:00 +03:00
Alexey Milovidov
b3a6f6b367 Revert "Simplification"
This reverts commit f5518c0c43.
2020-03-06 21:14:33 +03:00
Alexey Milovidov
f5518c0c43 Simplification 2020-03-06 01:45:59 +03:00
Alexey Milovidov
3b85f2ffef Do not run session cleaner for client, local 2020-03-05 22:23:39 +03:00
Alexey Milovidov
dd13e0353a Fixed build 2020-03-05 18:40:59 +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
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
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
ef7fd6c486 Merge branch 'master' into session-cleaner-better-build-time 2020-03-05 05:14:28 +03:00
Alexander Tokmakov
2d5ed7832b remove tryGetTable 2020-03-04 23:29:52 +03: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
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
2bd6474379 Adding storage policies and disks while reloading configuration. 2020-03-04 15:10:17 +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
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
a4e7c287b5 Merge branch 'master' into chaos-sanitizer 2020-03-03 23:06:02 +03: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
Nikolai Kochetov
72fe21c5ae Better calculation for recommended number of threads to execute query pipeline. 2020-03-03 13:28:37 +03:00
Alexander Tokmakov
70dc82f9aa add StorageID to ASTInsertQuery 2020-03-02 23:23:58 +03:00
Alexey Milovidov
0ecf3b2c7b Reordered config.xml 2020-03-02 18:29:52 +03:00
Alexander Tokmakov
a4d12b31a1 Merge branch 'master' into split_databases_from_context 2020-03-02 17:57:54 +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
Alexey Milovidov
9bffd88b92 Using ThreadFuzzer 2020-03-02 00:58:50 +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
Alexey Milovidov
9c206fca39 Better exception message when length is required in HTTP 2020-02-29 21:27:34 +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
Alexey Milovidov
766ae8261a Added some missing ErrorCodes 2020-02-25 21:02:41 +03:00
Alexey Milovidov
3602126a1e Remove unused ErrorCodes 2020-02-25 17:35:37 +03:00
Alexander Tokmakov
8548089e00 Merge branch 'master' into split_databases_from_context 2020-02-25 15:47:19 +03:00
Alexander Tokmakov
852043c8d9 better configs 2020-02-22 17:26:39 +03:00
tavplubix
8358c952c3
Merge pull request #9302 from ClickHouse/fix_tests_with_secure_sockets
Try fix tests with secure sockets
2020-02-22 13:32:12 +03:00
Alexander Tokmakov
21e0eb5f11 try fix tests with secure sockets 2020-02-22 04:37:03 +03:00
Vitaly Baranov
c1e870d493
Merge pull request #9182 from vitlibar/RBAC-5.2
RBAC-5.2
2020-02-22 03:55:17 +03:00
Alexander Tokmakov
d5e79153c2 Merge branch 'master' into split_databases_from_context 2020-02-21 18:09:02 +03:00
Vitaly Baranov
4f85c148b5 Move event handling away from Context. 2020-02-21 03:27:23 +03:00
Vitaly Baranov
5849dd2236 Slightly better solution for checking row policy for distributed tables,
now it checks both current user's and initial user's filters.
2020-02-21 00:57:42 +03:00
Alexey Milovidov
5894a750d5 Merge branch 'master' into session-cleaner-better-build-time 2020-02-20 21:43:40 +03:00
Alexey Milovidov
a739e42740 Better build time 2020-02-19 21:41:22 +03:00
Alexey Milovidov
add281dfe3 Enable metric_log by default 2020-02-19 16:39:20 +03:00