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
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
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
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
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
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
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
Alexey Milovidov
5894a750d5
Merge branch 'master' into session-cleaner-better-build-time
2020-02-20 21:43:40 +03:00
Nikita Mikhaylov
23ceddebbc
codestyle final 2
2020-02-20 12:06:00 +03:00
nikitamikhaylov
3c1f2b6124
style check final
2020-02-19 23:50:27 +03:00
nikitamikhaylov
6ca0776a61
Merge branch 'master' of github.com:ClickHouse/ClickHouse into copier-refactoring
2020-02-19 23:41:35 +03:00
Alexey Milovidov
a739e42740
Better build time
2020-02-19 21:41:22 +03:00
Nikita Mikhaylov
caa4810c5c
more codestyle
2020-02-19 18:59:47 +03:00
Nikita Mikhaylov
819a4ad6da
codestyle
2020-02-19 18:45:49 +03:00
Nikolai Kochetov
76a21b3364
Use processors for sending external tables.
2020-02-19 18:12:21 +03:00
Nikita Mikhaylov
24cbd0d6d1
squashed commits
2020-02-19 18:01:08 +03:00
Alexey Milovidov
add281dfe3
Enable metric_log by default
2020-02-19 16:39:20 +03:00
alexey-milovidov
9037a5d29a
Suggestion from Azat
2020-02-19 11:27:57 +03:00
alexey-milovidov
3fcf2d4e78
Merge pull request #9155 from ClickHouse/obfuscator-overgenerate-data
...
clickhouse-obfuscator: allow to generate more data than was in source
2020-02-17 23:51:57 +03:00
Ivan Lezhankin
102dad0ca0
Merge branch 'master' into arcadia
2020-02-17 17:37:10 +03:00
Ivan Lezhankin
39ea079034
More clean-up
2020-02-17 17:27:09 +03:00
Alexander Tokmakov
d710bd1812
better get... methods
2020-02-17 16:52:59 +03:00
Alexander Tokmakov
964b775c80
Merge branch 'master' into split_databases_from_context
2020-02-17 13:04:36 +03:00
Alexey Milovidov
76153ed8ac
clickhouse-obfuscator: allow to generate more data than was in source
2020-02-17 10:52:13 +03:00
Ivan Lezhankin
4cedd4619d
Code clean-up
2020-02-16 11:04:03 +03:00
Alexey Milovidov
3772ffdc9d
Describe reasons when query profiler cannot work
2020-02-16 09:51:52 +03:00
Alexey Milovidov
63b7d6e5ac
Describe reasons when query profiler cannot work
2020-02-16 09:49:24 +03:00
alexey-milovidov
e9af153819
Merge pull request #9126 from Melancholic/change_http_status
...
Fixed #5104 . Return 503 status in /replicas_status if not ok
2020-02-15 02:59:18 +03:00
nagorny
15d3176d40
Ticket #5104 . Return 503 status from /replicas_status if not ok
2020-02-14 17:20:27 +03:00
Alexander Tokmakov
c479bbe9f9
make Context::getLock() private
2020-02-14 00:00:03 +03:00
Alexander Tokmakov
1d6afe9f39
Merge branch 'master' into split_databases_from_context
2020-02-12 21:18:32 +03:00
Alexander Tokmakov
b6039f8c50
remove tryGetExternalTable
2020-02-12 21:14:12 +03:00
Anatoly Pugachev
138d3800cf
Update config.xml
...
correct HTTP 404 link
2020-02-11 13:33:38 +03:00
Alexander Tokmakov
869e20d207
move databases from Context to DatabaseCatalog
2020-02-10 17:49:44 +03:00
Alexander Tokmakov
4ff7bf78ab
add DatabaseCatalog
2020-02-10 17:32:59 +03:00
Alexander Kuzmenkov
dae3811e25
Merge pull request #9015 from Slach/master
...
Track the number of MySQL connections
2020-02-09 17:01:01 +03:00
Ivan
1b55150701
Add row-level filter support to Distributed engine ( #8926 )
...
* Add tests
* Implement support for initial user on remote side.
2020-02-07 22:31:09 +03:00
Alexander Tokmakov
16a3bed290
Merge branch 'master' into fix_poco_ssl_timeouts
2020-02-07 16:36:45 +03:00
Slach
1bff5578b6
Merge branch 'master' of github.com:ClickHouse/ClickHouse
2020-02-07 08:03:45 +05:00
Alexander Tokmakov
acef7fc5bd
add test
2020-02-06 20:23:05 +03:00
Vitaly Baranov
c9f2713cc4
Remove getting user by name from Context.
2020-02-06 18:12:53 +03:00
Slach
23b787c0d6
actualize description of system.metrics.TCPConnection
...
add system.metrics.MySQLConnection
Signed-off-by: Slach <bloodjazman@gmail.com>
2020-02-05 19:06:46 +05:00
alexey-milovidov
3a1e3f612e
Merge branch 'master' into idisk-seekable-readbuffer
2020-02-02 03:54:50 +03:00
alesapin
abe9ce8774
Merge pull request #8884 from azat/client-suggest-merge_tree_settings
...
Add system.merge_tree_settings into clickhouse-client suggest
2020-01-29 11:26:24 +03:00
Azat Khuzhin
3aeea41369
Add system.merge_tree_settings into clickhouse-client suggest
2020-01-28 22:25:43 +03:00
Pavel Kovalenko
07755ec8f7
Merge branch 'master' into idisk-seekable-readbuffer
...
# Conflicts:
# dbms/programs/server/config.xml
2020-01-27 21:45:53 +03:00
Pavel Kovalenko
abfacdaadc
SeekableReadBuffer refactoring.
...
Store size and multiple references for S3 metadata file.
Log engine support for S3.
2020-01-27 21:44:30 +03:00
Alexey Milovidov
87ee9ac099
Fixed ugly error in Client
2020-01-26 21:43:44 +03:00
alexey-milovidov
97a75dd8c9
Merge pull request #8786 from millb/X-ClickHouse-Exception-Code
...
X-ClickHouse-Exception-Code in HTTP Header
2020-01-26 03:43:38 +03:00
Alexey Milovidov
667e9ed6d4
Added example to config.xml and fixed formatting after previous committers #8794
2020-01-25 21:47:02 +03:00
Azat Khuzhin
6a73cf2381
Add text_log.level to limit entries that goes to system.text_log table
...
v2: use INT_MAX as default (since 0 is none)
2020-01-25 14:04:49 +03:00
Azat Khuzhin
c0ba5ed06b
Update link to the poco logging levels
2020-01-24 21:13:28 +03:00
Nikolai Kochetov
b55ae23bb9
Merge pull request #8797 from ClickHouse/fix-null-format-for-processors-2
...
Skip blocks for Null format with processors.
2020-01-24 10:34:13 +03:00
alexey-milovidov
528d231a6b
Merge pull request #8750 from azat/temporary_data_configuration
...
Multiple paths (disks/volumes) for storing temporary data support
2020-01-24 06:21:52 +03:00
alexey-milovidov
c698132cca
Merge pull request #8769 from traceon/format-name-http-header
...
Set X-ClickHouse-Format HTTP response header to the format name
2020-01-23 22:23:26 +03:00
Azat Khuzhin
88bfb788a9
Add ability to use multiple disks/volumes for temporary data
...
This patch adds <tmp_policy> config directive, that will define the
policy to use for storing temporary files, if it is not set (default)
the <tmp_path> will be used.
Also tmp_policy has some limitations:
- move_factor is ignored
- keep_free_space_bytes is ignored
- max_data_part_size_bytes is ignored
- must have exactly one volume
2020-01-23 20:31:01 +03:00
Mikhail Korotov
c05652067e
Update HTTPHandler.cpp
2020-01-23 16:40:16 +03:00