Kruglov Pavel
3116650fa9
Merge pull request #61201 from ClickHouse/revert-61200-revert-60430-max-parallel-replicas-validate
...
Don't allow to set max_parallel_replicas to 0 as it doesn't make sense
2024-04-03 17:05:59 +02:00
Anton Popov
ec22d64fc8
Merge pull request #62195 from CurtizJ/lightweight-deletes-setting
...
Add setting `lightweight_deletes_sync`
2024-04-03 14:34:51 +02:00
Anton Popov
534905ff8c
fix test
2024-04-02 22:14:58 +00:00
Anton Popov
ed448eae42
add setting lightweight_deletes_sync
2024-04-02 18:40:46 +00:00
Raúl Marín
40a22ffa63
Remove a few nested include dependencies
2024-04-02 13:43:14 +02:00
Raúl Marín
a7f48cf936
Fix upgrade check
2024-04-01 14:12:36 +02:00
Duc Canh Le
e8953a379b
fix external table with Bool
...
Signed-off-by: Duc Canh Le <duccanh.le@ahrefs.com>
2024-03-31 07:54:58 +00:00
Kruglov Pavel
9b5b44dd5f
Merge pull request #61889 from Avogar/allow-to-save-bad-json-escape-sequences
...
Add a setting to allow saving bad escape sequences in JSON input formats
2024-03-28 14:34:02 +01:00
Igor Nikonov
15a0f5381f
Merge pull request #59176 from azat/dist/readonly-replicas
...
Add ability to skip read-only replicas for INSERT into Distributed engine
2024-03-27 13:19:12 +01:00
Dmitry Novik
65121b712e
Merge remote-tracking branch 'origin/master' into enable-analyzer
2024-03-26 19:02:30 +01:00
Azat Khuzhin
3481fd5191
Fix settings history for distributed_insert_skip_read_only_replicas
...
CI: https://s3.amazonaws.com/clickhouse-test-reports/59176/fa0c47a42f4187e8284e19d1cd008a0a76c38caf/fast_test.html
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2024-03-26 11:25:28 +01:00
Azat Khuzhin
1bb9cffb9b
Remove distributed_insert_skip_read_only_replicas from settings history
...
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2024-03-26 11:24:59 +01:00
Azat Khuzhin
c7b919b19e
Replace distributed_insert_replicas_preferences with distributed_insert_skip_read_only_replicas
...
v2: fix test
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2024-03-26 11:24:57 +01:00
Azat Khuzhin
fe613ddd06
Convert distributed_insert_replicas_preferences into enum
...
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2024-03-26 11:24:14 +01:00
Azat Khuzhin
d922bfb1b0
Introduce distributed_insert_prefer_non_readonly_replica setting
...
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2024-03-26 11:21:40 +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
avogar
dc87c483dd
Add a setting to allow saving bad escape sequences in JSON input formats
2024-03-25 21:58:53 +00:00
Alexey Milovidov
c2209c997c
Merge branch 'master' into geodistance-double-precision
2024-03-25 17:49:32 +03:00
Alexey Milovidov
24261476c4
Merge pull request #61820 from ClickHouse/get-client-http-header
...
Add a new function `getClientHTTPHeader`
2024-03-25 17:48:24 +03:00
Alexey Milovidov
21a0d17637
Merge branch 'master' into geodistance-double-precision
2024-03-25 17:47:42 +03:00
SmitaRKulkarni
a642f4d3ec
Merge pull request #59929 from ClickHouse/Azure_write_buffer
...
Asynchronous WriteBuffer for AzureBlobStorage
2024-03-25 10:32:56 +01:00
Alexey Milovidov
a600e181ec
Merge branch 'master' into get-client-http-header
2024-03-25 07:23:43 +03:00
Alexey Milovidov
4d588c4bbe
Merge branch 'master' into enable-output_format_pretty_row_numbers
2024-03-24 23:17:50 +01:00
Alexey Milovidov
65650809b4
Double precision of geoDistance if the arguments are Float64
2024-03-24 23:11:35 +01:00
Dmitry Novik
64301191b1
Merge remote-tracking branch 'origin/master' into enable-analyzer
2024-03-24 21:07:26 +00:00
Alexey Milovidov
baef1cd4d2
Merge branch 'master' into get-client-http-header
2024-03-24 21:37:14 +01:00
Smita Kulkarni
0d54dbf460
Merge branch 'master' into Azure_write_buffer
2024-03-24 20:09:47 +01:00
Alexey Milovidov
233d41d5df
Update test
2024-03-24 17:39:47 +01:00
Alexey Milovidov
0067ef0f97
Merge pull request #57857 from canhld94/ch_external_table_enum
...
Allow declaring enum in external table structure
2024-03-24 19:33:47 +03:00
Alexey Milovidov
8ddfe9a48b
Merge pull request #61665 from ClickHouse/build-improvements-magic-enum-template-instantiation
...
Build improvements by removing magic enum from header and apply some explicit template instantiation
2024-03-24 19:31:46 +03:00
Alexey Milovidov
93beef8bb5
Merge pull request #61399 from azat/order-by-SimpleAggregateFunction
...
Forbid SimpleAggregateFunction in ORDER BY of MergeTree tables
2024-03-24 19:31:18 +03:00
Alexey Milovidov
2796dc7eb1
Merge branch 'master' into dont-cut-single-value
2024-03-24 19:26:29 +03:00
alesapin
a41c005a6e
Merge branch 'master' into Azure_write_buffer
2024-03-24 15:04:18 +01:00
Alexey Milovidov
8936528372
Merge branch 'master' into order-by-SimpleAggregateFunction
2024-03-24 02:16:57 +01:00
Alexey Milovidov
810c173d35
Merge branch 'master' into parquet-orc-arrow-usability
2024-03-24 00:55:31 +01:00
Alexey Milovidov
08b7dd9591
Merge branch 'master' into get-client-http-header
2024-03-24 00:54:25 +01:00
Alexey Milovidov
3e5ddddb35
Merge branch 'master' into dont-cut-single-value
2024-03-24 00:51:10 +01:00
Alexey Milovidov
ae8c9caa67
Merge branch 'master' into enable-output_format_pretty_row_numbers
2024-03-23 23:44:52 +01:00
Alexey Milovidov
78d3351552
Add function getClientHTTPHeader, part 3
2024-03-23 21:48:28 +01:00
Alexey Milovidov
965a3ac2f3
Add function getClientHTTPHeader, part 2
2024-03-23 21:19:35 +01:00
Alexey Milovidov
d0a0141a47
Change defaults of Parquet/ORC/Arrow
2024-03-23 17:39:04 +01:00
Alexey Milovidov
616046db63
Merge branch 'master' into enable-output_format_pretty_row_numbers
2024-03-23 16:50:12 +01:00
Smita Kulkarni
19e7022a87
Merge branch 'master' into Azure_write_buffer
2024-03-23 11:48:10 +01:00
Alexey Milovidov
4cbecd0bbd
Add a setting
2024-03-23 04:20:52 +01:00
Alexey Milovidov
a2e89c8be7
Fix wrong cases of numbers pretty printing
...
Add a test
Revert changes from another branch
Add a test
Better test
Revert wrong changes
2024-03-23 03:33:03 +01:00
Alexey Milovidov
bf6d15dceb
Merge branch 'master' into log_processors_profiles
2024-03-22 23:26:28 +03:00
Alexey Milovidov
ada32a433a
Enable output_format_pretty_row_numbers
by default
2024-03-22 19:51:47 +01:00
Dmitry Novik
d43a1a1984
Merge remote-tracking branch 'origin/master' into enable-analyzer
2024-03-22 14:15:57 +01:00
Nikolai Kochetov
0f60596f5b
Merge pull request #60548 from kitaisreal/merge-tree-read-split-ranges-into-intersecting-and-non-intersecting-fault-injection
...
MergeTree read split ranges into intersecting and non intersecting injection
2024-03-22 11:52:14 +01:00
robot-ch-test-poll
03a4b5fb58
Merge pull request #61053 from ClickHouse/async-loader-waiters-limit
...
Separate limits on number of waiting and executing queries
2024-03-22 03:15:25 +01:00