Commit Graph

572 Commits

Author SHA1 Message Date
Yakov Olkhovskiy
dac5996dda Merge branch 'master' into ft-chunked-protocol 2024-07-20 23:01:56 +00:00
Sema Checherinda
43cebcd505 Merge branch 'master' into chesema-processor-onCancel 2024-07-19 15:00:39 +02:00
Arthur Passos
f2c22408da
Merge branch 'master' into multi_auth_methods 2024-07-18 17:13:50 -03:00
Nikita Taranov
5608914bca impl 2024-07-17 16:59:31 +01:00
morning-color
564429cb85
Merge branch 'master' into rows_before_group_by_counter 2024-07-16 16:26:56 +08:00
morning-color
8aaf9c1d98 Fix tests 2024-07-16 11:00:55 +08:00
Sema Checherinda
344e5b716d cancel method is noexcept 2024-07-15 17:41:32 +02:00
Arthur Passos
cc02ebca75 Merge branch 'master' into multi_auth_methods 2024-07-15 10:55:40 -03:00
Yakov Olkhovskiy
1836a69b33 Merge branch 'master' into ft-chunked-protocol 2024-07-12 15:43:25 +00:00
Sema Checherinda
55724a1bcd Merge branch 'master' into chesema-processor-onCancel 2024-07-12 13:59:20 +02:00
serxa
bf125d5da6 Merge branch 'master' into fix-use-concurrency-control 2024-07-12 08:44:12 +00:00
Sema Checherinda
a8e55ac816 Merge branch 'master' into revert-66134-revert-61601-chesema-dedup-matview 2024-07-11 18:01:12 +02:00
Sema Checherinda
614e899e8d onCancel is concurrent call 2024-07-10 19:13:00 +02:00
Yakov Olkhovskiy
2794b7bf84 defaults to notchunked, add docs to server's and client's configs 2024-07-10 00:20:11 +00:00
Kruglov Pavel
f3bfe8d881
Merge branch 'master' into data-types-binary-encoding 2024-07-09 12:27:06 +02:00
Sema Checherinda
5e4a244faf
Revert "Revert "insertion deduplication on retries for materialised views"" 2024-07-05 16:52:51 +02:00
Sema Checherinda
77e60543fd
Revert "insertion deduplication on retries for materialised views" 2024-07-05 14:58:17 +02:00
Kruglov Pavel
6239f7d62f
Merge branch 'master' into data-types-binary-encoding 2024-07-05 13:20:31 +02:00
Nikita Mikhaylov
3a7c98399f
Merge pull request #65777 from ClickHouse/make_analyzer_important
Make `allow_experimental_analyzer` be controlled by the initiator for distributed queries
2024-07-04 20:38:40 +00:00
Sema Checherinda
19816401c4
Merge pull request #61601 from ClickHouse/chesema-dedup-matview
insertion deduplication on retries for materialised views
2024-07-04 13:52:52 +00:00
Nikita Mikhaylov
fe6a875c74 Make the setting back IMPORTANT + fix build 2024-07-04 11:12:27 +00:00
Nikita Mikhaylov
fcabefa8f3 Automatically disabling 2024-07-04 11:12:27 +00:00
Nikita Mikhaylov
dd3eb538f6 Better 2024-07-04 11:12:27 +00:00
Sema Checherinda
06e235024f work with review 2024-07-02 15:16:57 +02:00
Arthur Passos
cc13783acd Merge branch 'master' into multi_auth_methods 2024-07-02 09:11:20 -03:00
Konstantin Bogdanov
138eb924fa
Merge pull request #65626 from tonickkozlov/tonickkozlov/x509-san-validation
Add support for x509 SubjectAltName identification
2024-07-02 11:20:01 +00:00
Anton Kozlov
b1b9aaf2ec Add support for x509 SubjectAltName identification 2024-07-01 09:47:28 +00:00
Sema Checherinda
abe58184df Merge branch 'master' into chesema-dedup-matview 2024-06-29 01:35:32 +02:00
Kruglov Pavel
6436bd9cf3
Merge branch 'master' into data-types-binary-encoding 2024-06-27 17:19:36 +02:00
Sema Checherinda
d485606e94 fix header in async insert and projections 2024-06-27 02:09:45 +02:00
Sema Checherinda
8efa045a97 fix resolving conflicts with squashing 2024-06-27 00:09:55 +02:00
kssenii
2e7c23b82c Try fix data race in TCPHandler 2024-06-26 19:49:14 +02:00
Sema Checherinda
5d2e2a9f44 Merge branch 'master' into chesema-dedup-matview 2024-06-26 17:03:05 +02:00
Yakov Olkhovskiy
3f3305a63a fix server settings 2024-06-26 04:33:52 +00:00
Yakov Olkhovskiy
6112ef710c fix style 2024-06-26 03:43:28 +00:00
Yakov Olkhovskiy
9eec834427 better chunked protocol negotiation, comments, review suggestions 2024-06-26 03:19:16 +00:00
Yakov Olkhovskiy
4240cb98fd
Merge branch 'master' into ft-chunked-protocol 2024-06-23 14:27:45 -04:00
avogar
785f3ac5c9 Revert unrelated changes 2024-06-21 18:40:49 +00:00
Arthur Passos
f55d15d9b9 Merge branch 'master' into multi_auth_methods 2024-06-21 15:39:02 -03:00
avogar
b9fbbbb284 Update settings changes history 2024-06-21 18:23:52 +00:00
avogar
3dfab50408 Merge branch 'master' of github.com:ClickHouse/ClickHouse into data-types-binary-encoding 2024-06-21 18:21:19 +00:00
avogar
b1f45da3eb Implement binary encoding for ClickHouse data types 2024-06-21 18:20:35 +00:00
Arthur Passos
179d54505a make progress, seems functional 2024-06-20 15:07:16 -03:00
Yarik Briukhovetskyi
a08f77850c
Merge pull request #61047 from yariks5s/balancing_transform
Implementing `BalancingTransform` for inserts
2024-06-19 11:37:17 +00:00
kssenii
fb32a99578 Initialize global trace collector for Poco::ThreadPool 2024-06-13 19:20:58 +02:00
yariks5s
4a72b36f28 Revert "Revert "roll back some changes""
This reverts commit 66a714e3ee.
2024-06-11 23:26:23 +00:00
yariks5s
66a714e3ee Revert "roll back some changes"
This reverts commit a54d679357.
2024-06-11 22:45:02 +00:00
yariks5s
a54d679357 roll back some changes 2024-06-11 18:46:09 +00:00
yariks5s
7b239f1102 fixes due to review 2024-06-11 17:36:49 +00:00
yariks5s
f5137c351c Merge branch 'balancing_transform' of https://github.com/yariks5s/ClickHouse into balancing_transform 2024-06-10 18:09:33 +00:00
yariks5s
68e1d8701c fixes due to review 2024-06-10 18:09:07 +00:00
Yakov Olkhovskiy
30a6b36395 Merge branch 'master' into ft-chunked-protocol 2024-06-09 21:39:48 +00:00
Yakov Olkhovskiy
a562118d2a major refactoring of chunked write buffer - more buffering, some bugs fixed 2024-06-07 01:45:56 +00:00
Yarik Briukhovetskyi
34d5c64900
Merge branch 'ClickHouse:master' into balancing_transform 2024-06-04 21:12:06 +02:00
Yakov Olkhovskiy
eaeabd8d37 fix typos 2024-06-02 13:03:48 +00:00
Yakov Olkhovskiy
f11f414910 fix special case of testing feature for chunked protocol 2024-06-02 07:25:48 +00:00
Yakov Olkhovskiy
fdccba97a3 set chunked for testing 2024-05-31 06:35:04 +00:00
yariks5s
84c8c4ca48 try to assign header unconditionally 2024-05-30 18:28:24 +00:00
yariks5s
5a09dce95d adding header in TCPHandler 2024-05-30 18:06:11 +00:00
yariks5s
826bec2575 added move constructor and removed unused parts 2024-05-30 16:33:48 +00:00
Sema Checherinda
3dbd290f21 Merge branch 'master' into chesema-dedup-matview 2024-05-28 18:33:00 +02:00
yariks5s
00b07bba14 remove squashing 2024-05-27 16:23:01 +00:00
yariks5s
e6f8338666 memory optimizations and removed unused parts 2024-05-24 20:38:45 +00:00
Yakov Olkhovskiy
94bc0a1e96 add config parameters and client arguments, make default notchunked_optional 2024-05-23 22:01:32 +00:00
yariks5s
d4ec6138c5 Merge branch 'yariks5s-balancing_transform' into balancing_transform 2024-05-23 13:47:28 +00:00
yariks5s
f3c4a25f3f Merge branch 'master' of https://github.com/ClickHouse/ClickHouse into yariks5s-balancing_transform 2024-05-23 13:43:24 +00:00
Sergei Trifonov
dd22140b57
Merge branch 'master' into fix-use-concurrency-control 2024-05-22 11:36:20 +02:00
Yakov Olkhovskiy
7ea6eb98b2 Merge branch 'master' into ft-chunked-protocol 2024-05-21 20:54:58 +00:00
Sema Checherinda
7fe1fe11b9 fixing tests 2024-05-21 17:07:52 +02:00
kssenii
7b225ab59c Merge remote-tracking branch 'origin/master' into use-iobject-storage-for-table-engines-1 2024-05-21 16:58:25 +02:00
Yakov Olkhovskiy
5308256c67 enable chunked before processing defaul database 2024-05-20 16:25:19 +00:00
yariks5s
8d235a4a39 remove trash from the code 2024-05-17 15:11:21 +00:00
Alexey Milovidov
26501178e6 Fix analyzer 2024-05-17 10:23:32 +02:00
yariks5s
fed6c65858 add setting to enable planning 2024-05-16 17:57:01 +00:00
Yakov Olkhovskiy
ee74d0de8c
Merge branch 'master' into ft-chunked-protocol 2024-05-15 16:56:10 -04:00
Yakov Olkhovskiy
05e823a1e9 add chunked wrapper to native protocol 2024-05-14 15:37:20 +00:00
serxa
0acdfd6a37 Explicit passing of use_concurrency_control setting to find all place where it is not set at all 2024-05-14 10:41:40 +00:00
kssenii
9ce465bb88 Merge remote-tracking branch 'origin/master' into use-iobject-storage-for-table-engines-1 2024-05-13 16:14:58 +02:00
yariks5s
a66a81efa3 merge 2024-05-10 11:21:40 +00:00
Alexey Milovidov
426a51b624 Useless changes 2024-05-10 04:53:29 +02:00
Alexey Milovidov
1d69518c4d Useless changes 2024-05-09 02:07:04 +02:00
yariks5s
e1ed0af3d2 Added pointer check, Chunk as argument to PlanSquashingTransform, fully refactored names of functions 2024-05-08 14:28:09 +00:00
kssenii
e9d9f2bc25 Merge remote-tracking branch 'origin/master' into use-iobject-storage-for-table-engines-1 2024-05-03 13:55:12 +02:00
Konstantin Bogdanov
273464c963
Merge pull request #63046 from ClickHouse/support-user-expiration
Check user expiration date before query execution
2024-04-30 17:42:58 +00:00
Konstantin Bogdanov
fccb463222
Rename 2024-04-30 16:07:51 +02:00
Konstantin Bogdanov
36014f739a
Rename 2024-04-30 14:52:43 +02:00
Nikita Taranov
8fd38f2abc
Merge pull request #62752 from ClickHouse/log_profile_events_send_timings
Log profile events send timings
2024-04-29 15:41:28 +00:00
kssenii
7a416f2e76 Merge remote-tracking branch 'origin/master' into use-iobject-storage-for-table-engines-1 2024-04-28 12:19:32 +02:00
Alexey Milovidov
58792a1935
Merge pull request #60302 from azat/INSERT-receive-timeout
Change back how receive_timeout is handled for INSERTs
2024-04-27 14:55:28 +00:00
Konstantin Bogdanov
822a57cb83
Fix integration tests 2024-04-26 19:56:24 +02:00
Konstantin Bogdanov
466633729f
Support user expiration 2024-04-26 17:03:40 +02:00
Alexander Gololobov
25cfd48f87
Only log if it took longer than 100 ms 2024-04-18 14:39:23 +01:00
Alexander Gololobov
01b80e754a Log profile events send timings 2024-04-18 11:37:09 +01:00
kssenii
27672e1dfc Merge remote-tracking branch 'origin/master' into use-iobject-storage-for-table-engines-1 2024-04-15 11:28:14 +01:00
Robert Schulze
9d8f643f5b
Cleanup SSH-based authentication code 2024-04-05 08:43:23 +00:00
kssenii
e0c02bf3af Merge remote-tracking branch 'origin/master' into use-iobject-storage-for-table-engines-1 2024-03-27 19:27:07 +01:00
Azat Khuzhin
b9469e2729 Do not try to INSERT into readonly replicas for Distributed engine
Sometimes replica may be readonly for a long time, and this will make
some INSERT queries fail, but it does not make sense to INSERT into
readonly replica, so let's ignore them.

But note, that this will require to extend TableStatus (not extend, but
introduce new version), that will have is_readonly field.

Also before background INSERT into Distributed does not uses
getManyChecked() which means that they do not request TableStatus
packet, while now they would, though this is minor (just a note).

v2: Add a note about max_replica_delay_for_distributed_queries for INSERT
v3: Skip read-only replicas for async INSERT into Distributed
v4: Remove extra @insert parameter for ConnectionPool*::get*
    It make sense only when the table name had passed --
    ConnectionPoolWithFailover::getManyChecked()
v5: rebase on top LoggerPtr
v6: rebase
v7: rebase
v8: move TryResult::is_readonly into the end

Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2024-03-26 11:21:38 +01:00
kssenii
46941e7243 Merge remote-tracking branch 'origin/master' into use-iobject-storage-for-table-engines-1 2024-03-25 15:10:11 +01:00
Alexey Milovidov
d249d53de6 Remove DataStreams 2024-03-24 02:07:41 +01:00
Alexander Tokmakov
5d7e5e5a72 Merge branch 'master' into fix_race_async_inserts_queue 2024-03-19 19:39:25 +01:00