Nikita Mikhaylov
91f57e46e9
fix mac build
2020-03-13 20:05:05 +03:00
Nikita Mikhaylov
b26a949c37
drop helping tables
2020-03-13 19:25:07 +03:00
Nikita Mikhaylov
42fae556c1
split up copying and moving
2020-03-13 17:19:20 +03:00
Nikita Mikhaylov
cce69b0744
fix mac build
2020-03-13 13:14:48 +03:00
Nikita Mikhaylov
65d6cc0aa9
codestyle
2020-03-12 22:52:36 +03:00
Nikita Mikhaylov
fc599780b6
slightly better code
2020-03-12 22:46:48 +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
Nikita Mikhaylov
12dd0c92c0
better
2020-03-12 19:48:28 +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
Nikita Mikhaylov
a8611da113
maybe better
2020-03-11 22:55:27 +03:00
Guillaume Tassery
6baf671017
optimization and factoring
2020-03-11 17:20:30 +01: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
Nikita Mikhaylov
acf09b6630
fix build
2020-03-11 16:01:17 +03:00
Nikita Mikhaylov
f93aaf061f
probably all tests are ok
2020-03-10 23:04:08 +03:00
Alexander Tokmakov
8b3a245a1d
improve temporary tables
2020-03-10 22:36:17 +03:00
Nikita Mikhaylov
0df165578b
mark piece as done if it is not present
2020-03-10 17:42:06 +03:00
Alexander Tokmakov
c7468d2502
Merge branch 'master' into split_databases_from_context
2020-03-10 13:15:27 +03:00
Nikita Mikhaylov
cfe61f55bf
Merge branch 'master' of github.com:ClickHouse/ClickHouse into clickhouse-copier
2020-03-10 13:06:23 +03: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
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
edc9f9886c
Remove unused features from performance test
2020-03-07 22:52:07 +03:00
Nikita Mikhaylov
12d5900d71
most tests ok
2020-03-07 03:05:49 +03:00
Nikita Mikhaylov
9794c1cf58
Merge branch 'master' of github.com:ClickHouse/ClickHouse into clickhouse-copier
2020-03-06 21:38:09 +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
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
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
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
bdabcccc7b
Retry when we should
2020-03-05 16:12:00 +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
Nikita Mikhaylov
649df01627
rewrite replicated tables to plain merge tree
2020-03-03 19:36:47 +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
Nikita Mikhaylov
d9765991a7
replicated engine support
2020-03-03 16:15:23 +03:00
Nikolai Kochetov
72fe21c5ae
Better calculation for recommended number of threads to execute query pipeline.
2020-03-03 13:28:37 +03:00
Nikita Mikhaylov
cbef417410
Merge branch 'clickhouse-copier' of github.com:nikitamikhaylov/ClickHouse into clickhouse-copier
2020-03-03 12:49:59 +03:00
Nikita Mikhaylov
aa0d44131d
normal extracting
2020-03-03 12:49:06 +03:00
Alexey Milovidov
5b06842723
Remove excessive empty lines
2020-03-03 05:43:59 +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
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
Nikita Mikhaylov
daed0bc6d8
Merge branch 'master' of github.com:ClickHouse/ClickHouse into clickhouse-copier
2020-03-02 13:24:36 +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
89ba7d5fc1
Avoid message "deadlock avoided" in client
2020-02-29 22:53:22 +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
CurtizJ
a17d286e83
allow to set query_id in clickhouse-benchmark
2020-02-27 20:21:01 +03:00
Alexey Milovidov
425ed714eb
Merge branch 'master' of github.com:yandex/ClickHouse into errorcodes-style
2020-02-26 17:16:22 +03:00
Nikita Mikhaylov
9591678f84
useledd
2020-02-26 14:44:21 +03:00
Alexey Milovidov
029bcc7cd3
Fixed ErrorCodes, part 4
2020-02-25 21:58:28 +03:00
Amos Bird
ce28d2eb82
Better cmdline client
2020-02-26 02:40:52 +08:00
Alexey Milovidov
8f90c6ec12
Fixed ErrorCodes, part 3
2020-02-25 21:20:08 +03:00
Alexey Milovidov
cb6cd2ffbb
Added missing ErrorCodes, part 2
2020-02-25 21:10:48 +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
Nikita Mikhaylov
476d25b6b2
fix build
2020-02-25 15:38:11 +03:00
Nikita Mikhaylov
1b8174b9d0
trigger ci
2020-02-23 17:25:55 +03:00
alexey-milovidov
afc306091b
Merge pull request #9262 from ClickHouse/fix_expressions_in_metadata
...
Fix expressions in metadata
2020-02-23 04:32:55 +03:00
Alexey Milovidov
21647ed842
Fixed warning
2020-02-22 23:22:38 +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
Alexey Milovidov
5f9a56a38a
Colorize logs that are send to client with "send_logs_level" setting
2020-02-21 23:01:38 +03:00
Nikita Mikhaylov
5e01f348c5
return back alter move
2020-02-21 19:47:43 +03:00
Nikita Mikhaylov
16322b1352
replace partition
2020-02-21 19:18:16 +03:00
Nikita Mikhaylov
0b4d8bdb08
move partition added
2020-02-21 19:00:50 +03:00
Alexander Tokmakov
d5e79153c2
Merge branch 'master' into split_databases_from_context
2020-02-21 18:09:02 +03:00
Nikolai Kochetov
30d41b34ba
Merged with master
2020-02-21 11:47:56 +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
Nikita Mikhaylov
2869c01571
drop partition piece
2020-02-20 21:58:00 +03:00
Alexey Milovidov
5894a750d5
Merge branch 'master' into session-cleaner-better-build-time
2020-02-20 21:43:40 +03:00
Nikita Mikhaylov
1be4a35f15
successful copying
2020-02-20 20:26:20 +03:00