Commit Graph

123587 Commits

Author SHA1 Message Date
Alexander Tokmakov
32efbe77d1
Merge pull request #53811 from ClickHouse/fix_02443_2
Fix a bug in attach partition
2023-08-25 20:16:53 +03:00
Nikolai Kochetov
8c485f3153
Merge pull request #52875 from kitaisreal/analyzer-with-statement-references-test
Analyzer WITH statement references test
2023-08-25 18:55:30 +02:00
Alexander Tokmakov
762d5a2ce8
Merge pull request #53839 from ClickHouse/tavplubix-patch-8
Update 00002_log_and_exception_messages_formatting.sql
2023-08-25 19:53:49 +03:00
Alexander Gololobov
684d5aab88
Merge pull request #53797 from ClickHouse/add_profile_event_for_lock
Add event for tracking data parts lock
2023-08-25 18:51:49 +02:00
Kseniia Sumarokova
8633b8fbc9
Merge pull request #53832 from kssenii/mat-pg-fix-get-create-table
Materialized postgres: fix uncaught exception in getCreateTableQueryImpl
2023-08-25 18:24:07 +02:00
Robert Schulze
a7b64fbff5
Merge pull request #53812 from rschu1ze/boost-1.82
Bump boost to 1.82
2023-08-25 18:23:56 +02:00
Robert Schulze
a0ff7a97c9
Merge pull request #53816 from ClibMouse/feature/lz4-endianness-independent-output
Enable producing endianness-independent output in lz4
2023-08-25 16:57:57 +02:00
Alexander Tokmakov
add8a941ff
Update 00002_log_and_exception_messages_formatting.sql 2023-08-25 17:55:38 +03:00
Antonio Andelic
77f72af65a
Merge pull request #53817 from bianpengyuan/reconnect-limit-raft-limit
Add configuration for reconnect limit in raft limit.
2023-08-25 16:41:38 +02:00
Kseniia Sumarokova
13b45196f6
Merge pull request #52943 from kssenii/parallelize-file-cache-metadata-download
Parallelize loading of fs cache metadata on startup
2023-08-25 15:32:34 +02:00
kssenii
5599b57cdd Fix 2023-08-25 14:43:40 +02:00
Nikolai Kochetov
86d7e7cc73
Merge pull request #53829 from ClickHouse/fix-cluster-tryGetAreReplicasActive
Fix typo in cluster name.
2023-08-25 14:34:49 +02:00
Alexander Tokmakov
559e6395e2
Update 00002_log_and_exception_messages_formatting.sql 2023-08-25 15:12:50 +03:00
Mikhail f. Shiryaev
b158a83e89
Merge pull request #53833 from ClickHouse/reduce-get-parameter-calls
Get rid of describe_parameters for the best robot token
2023-08-25 13:36:34 +02:00
vdimir
50b8bbe0dc
Merge pull request #53557 from mkmkme/mkmkme/array-shift-rotate
Added functions `array{Rotate,Shift}{Left,Right}`
2023-08-25 13:24:31 +02:00
kssenii
8e3dd4c9d2 Fux 2023-08-25 12:46:28 +02:00
Mikhail f. Shiryaev
c37c6c5220
Get rid of describe_parameters for the best robot token 2023-08-25 12:41:20 +02:00
Kseniia Sumarokova
34ac113af6
Merge pull request #53121 from kssenii/fix-cache-logical-error
Fix possible error from cache "Read unexpected size"
2023-08-25 12:16:24 +02:00
Nikolai Kochetov
ef3489762a Fix typo in cluster name. 2023-08-25 10:00:51 +00:00
kssenii
fe4e04a7ae Merge remote-tracking branch 'upstream/master' into parallelize-file-cache-metadata-download 2023-08-25 11:36:40 +02:00
Kseniia Sumarokova
8edbdb4a0c
Merge pull request #53741 from kssenii/add-some-metrics-for-cache
Add some profile events
2023-08-25 11:29:16 +02:00
Kseniia Sumarokova
ae68aa27c3
Merge pull request #53799 from ClickHouse/kssenii-patch-6
Follow-up to #53611
2023-08-25 11:12:08 +02:00
Kruglov Pavel
d80be4673b
Merge pull request #53692 from Avogar/cache-count
Cache number of rows in files for count in file/s3/url/hdfs/azure functions
2023-08-25 09:08:52 +02:00
Antonio Andelic
f0e800092f
Merge pull request #53796 from ClickHouse/fix-filtered-url-paths
Fix reading from `url` with all filtered paths
2023-08-25 08:49:33 +02:00
Pengyuan Bian
c82cc148e9 Add configuration for reconnect limit in raft limit. 2023-08-25 00:38:49 +00:00
Kruglov Pavel
1b4a907574
Try fix tests 2023-08-25 00:04:43 +02:00
ltrk2
394179f44f Enable producing endianness-independent output in lz4 2023-08-24 13:55:13 -07:00
alesapin
3a289534cb Fxi 2023-08-24 20:48:10 +02:00
Alexander Tokmakov
1eff7bee5e
Merge pull request #53673 from arenadata/ADQM-1105
Added client_info validation to the query packet in TCPHandler.
2023-08-24 21:03:25 +03:00
Robert Schulze
bdd16a388c
Bump boost to 1.82 2023-08-24 17:54:13 +00:00
Alexander Tokmakov
cbbb81f5cc
Merge pull request #53405 from canhld94/limit_concurent_background_optimize
Limit number of concurrent background partition optimize
2023-08-24 20:49:38 +03:00
Alexander Tokmakov
75d32bfe77
Merge pull request #53750 from ClickHouse/Add_retries_for_azure_retryable_errors
Add retries for azure retryable errors
2023-08-24 20:26:42 +03:00
Alexander Tokmakov
e1d135dc01 fix another bug in attach partition 2023-08-24 19:10:25 +02:00
Rich Raposa
27fb5255c5
Merge pull request #53802 from ClickHouse/rfraposa-patch-2
Update Russian tutorial.md
2023-08-24 10:10:58 -06:00
Raúl Marín
6490213207 Merge remote-tracking branch 'blessed/master' into clang18 2023-08-24 17:35:26 +02:00
Kruglov Pavel
44db5fa992
Merge branch 'master' into cache-count 2023-08-24 17:21:18 +02:00
Rich Raposa
793f40b522
Update Russian tutorial.md 2023-08-24 09:07:16 -06:00
avogar
c4f8113a78 Fix tests 2023-08-24 15:05:45 +00:00
Robert Schulze
45d924c62c
Merge pull request #53616 from wzb5212/skip_idx_bug_fix
Fix number of dropped granules in EXPLAIN PLAN index=1
2023-08-24 16:46:47 +02:00
Alexander Tokmakov
a190efed83
Merge pull request #53633 from ClickHouse/fix_02443
Fix 02443_detach_attach_partition
2023-08-24 17:28:50 +03:00
Robert Schulze
90d5ad6146
Merge pull request #53679 from rschu1ze/boost-1.81
Bump boost to 1.81
2023-08-24 16:17:03 +02:00
Kseniia Sumarokova
4239154b44
Follow-up to #53611 2023-08-24 16:15:04 +02:00
Kruglov Pavel
cd3433f95a
Merge pull request #53407 from Avogar/tsv-single-carriage-return
Fix processing single carriage return in TSV file segmentation engine
2023-08-24 16:06:05 +02:00
Antonio Andelic
6eb400c6ae Fix reading from url with all filtered paths 2023-08-24 13:37:11 +00:00
alesapin
66ba9e029e Add a test 2023-08-24 15:32:03 +02:00
alesapin
415b3826e0 Add event for tracking data parts lock 2023-08-24 15:28:38 +02:00
Arthur Passos
2bade7db08
Add global proxy setting (#51749)
* initial impl

* fix env ut

* move ut directory

* make sure no null proxy resolver is returned by ProxyConfigurationResolverProvider

* minor adjustment

* add a few tests, still incomplete

* add proxy support for url table function

* use proxy for select from url as well

* remove optional from return type, just returns empty config

* fix style

* style

* black

* ohg boy

* rm in progress file

* god pls don't let me kill anyone

* ...

* add use_aws guards

* remove hard coded s3 proxy resolver

* add concurrency-mt-unsafe

* aa

* black

* add logging back

* revert change

* imrpove code a bit

* helper functions and separate tests

* for some reason, this env test is not working..

* formatting

* :)

* clangtidy

* lint

* revert some stupid things

* small test adjusmtments

* simplify tests

* rename test

* remove extra line

* freaking style change

* simplify a bit

* fix segfault & remove an extra call

* tightly couple proxy provider with context..

* remove useless include

* rename config prefix parameter

* simplify provider a bit

* organize provider a bit

* add a few comments

* comment out proxy env tests

* fix nullptr in unit tests

* make sure old storage proxy config is properly covered without global context instance

* move a few functions from class to anonymous namespace

* fix no fallback for specific storage conf

* change API to accept http method instead of bool

* implement http/https distinction in listresolver, any still not implemented

* implement http/https distinction in remote resolver

* progress on code, improve tests and add url function working test

* use protcol instead of method for http and https

* small fix

* few more adjustments

* fix style

* black

* move enum to proxyconfiguration

* wip

* fix build

* fix ut

* delete atomicroundrobin class

* remove stale include

* add some tests.. need to spend some more time on the design..

* change design a bit

* progress

* use existing context for tests

* rename aux function and fix ut

* ..

* rename test

* try to simplify tests a bit

* simplify tests a bit more

* attempt to fix tests, accept more than one remote resolver

* use proper log id

* try waiting for resolver

* proper wait logic

* black

* empty

* address a few comments

* refactor tests

* remove old tests

* baclk

* use RAII to set/unset env

* black

* clang tidy

* fix env proxy not respecting any

* use log trace

* fix wrong logic in getRemoteREsolver

* fix wrong logic in getRemoteREsolver

* fix test

* remove unwanted code

* remove ClientConfigurationperRequest and auxilary classes

* remove unwanted code

* remove adapter test

* few adjustments and add test for s3 storage conf  with new proxy settings

* black

* use chassert for context

* Add getenv comment
2023-08-24 16:07:26 +03:00
Alexander Tokmakov
8555250277
Merge pull request #53795 from ClickHouse/revert-53641-feat_53602
Revert "dateDiff: add support for plural units."
2023-08-24 15:37:28 +03:00
Alexander Tokmakov
59efbe4163
Revert "dateDiff: add support for plural units." 2023-08-24 15:35:18 +03:00
Anton Popov
19a52f19f1
Merge pull request #53547 from joelynch/shutdown-async-insert-queue-first
bugfix: Flush async insert queue first on shutdown
2023-08-24 13:59:12 +02:00