Alexander Tokmakov
cddd41ccd5
Merge pull request #59070 from ClickHouse/revert-55575-no-octal-leading-zeroes
...
Revert "Consume leading zeroes when parsing a number in ConstantExpressionTemplate"
2024-01-22 15:35:16 +01:00
Alexander Tokmakov
c2202ff347
Skip unavailable replicas in parallel distributed insert select ( #58931 )
...
* Update StorageDistributed.cpp
* Update StorageDistributed.cpp
* Update StorageDistributed.cpp
* add a test
* Update 01099_parallel_distributed_insert_select.sql
2024-01-22 15:34:46 +01:00
Alexander Tokmakov
9b6455122c
Revert "Consume leading zeroes when parsing a number in ConstantExpressionTemplate"
2024-01-22 15:31:08 +01:00
Raúl Marín
1e875431db
Style
2024-01-22 14:59:53 +01:00
vdimir
0791c75315
Merge pull request #58654 from yariks5s/paste_join_aliases_requirement
...
Avoid alias duplicates in PASTE JOIN and fix aliases requirement
2024-01-22 14:48:13 +01:00
Dmitry Novik
3d0e915088
Followup to 57853
2024-01-22 14:44:07 +01:00
Nikita Taranov
4d6ef8ed86
Merge pull request #56961 from nickitat/some_questionable_code
...
Bypass `Poco::BasicBufferedStreamBuf` in `ReadBufferFromIStream`
2024-01-22 14:08:09 +01:00
Alexander Tokmakov
0f0785cf20
Merge pull request #59059 from ClickHouse/revert-58838-allow-parallel-replicas-for-join-with-analyzer
...
Revert "Allow parallel replicas for JOIN with analyzer [part 1]."
2024-01-22 14:07:26 +01:00
Dmitry Novik
a18a8d8ea3
Merge pull request #59009 from nickitat/uniq_optimisation_for_distributed
...
`uniqExact` state parallel merging for distributed queries
2024-01-22 14:05:02 +01:00
kssenii
4b4eac7c06
Fix
2024-01-22 13:55:15 +01:00
Alexander Tokmakov
4315d44517
Revert "Allow parallel replicas for JOIN with analyzer [part 1]."
2024-01-22 13:30:35 +01:00
alesapin
478b91cc37
Merge pull request #59010 from ClickHouse/alesapin-patch-1
...
Change log level for super imporant message in Keeper
2024-01-22 13:16:56 +01:00
kssenii
3faf4087e3
Fix
2024-01-22 12:07:49 +01:00
Sema Checherinda
9adab57771
Correct initialization of ConnectionTimeouts ( #59000 )
2024-01-22 12:03:36 +01:00
Kseniia Sumarokova
aec76d6653
Merge pull request #58877 from ClickHouse/multiple-read-file-log-storage-in-mv
...
Multiple read file log storage in mv
2024-01-22 12:02:41 +01:00
Alexander Sapin
f7b21b6016
Fix build
2024-01-22 11:53:21 +01:00
Antonio Andelic
274c128bd7
Free memory
2024-01-22 10:48:39 +00:00
skyoct
fdf8008804
Fix redirect retry
2024-01-22 10:27:35 +00:00
Sergei Trifonov
04a040ee5c
Merge pull request #59013 from ClickHouse/remove-static-resource-manager
2024-01-22 10:59:58 +01:00
Raúl Marín
d9ab300300
Merge pull request #57853 from jiebinn/rewriteSumFunction
...
Rewrite the AST/Analyzer of sum(column +/- literal) function
2024-01-22 10:41:30 +01:00
Antonio Andelic
59f9abcf58
Merge branch 'master' into keeper-reduce-memory
2024-01-22 08:04:17 +00:00
Antonio Andelic
ecaef80ea0
Merge pull request #58938 from ClickHouse/keeper-fetch-max-file-desc-once
...
Call `getMaxFileDescriptorCount` once in Keeper
2024-01-22 08:57:58 +01:00
jsc0218
6f3124acdb
Merge pull request #58402 from zhangyifan27/add_max_estimated_execution_time
...
Seperate max_execution_time and max_estimated_execution_time
2024-01-21 19:57:06 -05:00
Alexey Milovidov
37f70e07bd
Merge pull request #59022 from ClickHouse/better-visible-width
...
Better behavior of `visibleWidth`
2024-01-22 01:08:12 +01:00
Alexey Milovidov
eb4f61ba31
Update visibleWidth.cpp
2024-01-21 17:50:21 +03:00
alesapin
72f5dce9f4
Update src/Coordination/KeeperDispatcher.cpp
...
Co-authored-by: Alexey Milovidov <milovidov@clickhouse.com>
2024-01-21 11:16:27 +01:00
Vitaly Baranov
01aafda27b
Merge pull request #58804 from vitlibar/allow-kill-query-for-backups
...
Allow KILL QUERY for backups
2024-01-20 23:48:18 +01:00
Vitaly Baranov
9377f4276b
Merge pull request #58962 from vitlibar/fix-memory-dealloc-in-copy-data-to-s3
...
Fix memory management in copyDataToS3File
2024-01-20 23:35:42 +01:00
Igor Nikonov
4be068c73b
Merge pull request #58993 from ClickHouse/revert-58992-revert_flaky
...
Revive: Parallel replicas custom key: skip unavailable replicas
2024-01-20 19:44:56 +01:00
Nikita Taranov
bbf25b9cb9
Merge pull request #58996 from nickitat/fix_02404_with_analyzer
...
Fix 02404_memory_bound_merging with analyzer (follow up #56419 )
2024-01-20 18:39:07 +01:00
serxa
5738a7cb36
Merge branch 'master' into remove-static-resource-manager
2024-01-20 17:33:56 +00:00
Sema Checherinda
1bbb5f7f51
Merge pull request #59015 from ClickHouse/chesema-adaptive-timeouts-gcp
...
preserve 'amz-sdk-invocation-id' and 'amz-sdk-request' headers with gcp
2024-01-20 17:48:20 +01:00
robot-clickhouse
273a06856a
Merge pull request #59025 from ClickHouse/cpu-scheduler
...
Split resource scheduler off `IO/` into `Common/Scheduler/`
2024-01-20 15:43:50 +01:00
Kseniia Sumarokova
5d67e26fc4
Merge pull request #58869 from ClickHouse/force-check-for-cached-custom-disk
...
Fix for custom cached disk creation
2024-01-20 14:47:36 +01:00
Kseniia Sumarokova
689e617c12
Merge pull request #58963 from ClickHouse/follow-up-disk-configuration
...
Follow up to #58357
2024-01-20 14:41:34 +01:00
serxa
208c92a7dc
rename tests accordingly
2024-01-20 12:51:13 +00:00
serxa
172d68ceca
Merge branch 'master' into cpu-scheduler
2024-01-20 12:21:21 +00:00
serxa
824deab761
split resource scheduler off IO/
into Common/Scheduler/
2024-01-20 12:06:26 +00:00
Sergei Trifonov
50a153ef7e
Merge pull request #59011 from ClickHouse/fix-async-loader-assert
...
Fix async loader stress test
2024-01-20 12:11:26 +01:00
Alexey Milovidov
a8022ed624
Better behavior of visibleWidth
2024-01-20 11:22:23 +01:00
Alexey Milovidov
587295aca1
Merge pull request #58981 from azat/prom-handler
...
Fix timeout for prometheus exporter for HTTP/1.1 (due to keep-alive)
2024-01-20 09:42:05 +01:00
Alexey Milovidov
0951cf8d64
Merge pull request #59006 from ClickHouse/disk-web-follow-up
...
DiskWeb fix loading
2024-01-20 06:54:39 +01:00
Alexey Milovidov
8acc981e8c
Merge pull request #59008 from ClickHouse/fix-log-level-for-http
...
Update log level for http buffer
2024-01-20 04:02:42 +01:00
Igor Nikonov
59025b2d3a
Merge remote-tracking branch 'origin/master' into revert-58992-revert_flaky
2024-01-19 23:38:24 +00:00
Kruglov Pavel
e34b8b931d
Merge pull request #58555 from Avogar/settings-changes-check
...
Add settings changes check to Upgrade check (debug)
2024-01-19 23:16:37 +01:00
Sema Checherinda
539451bbe3
preserve 'amz-sdk-invocation-id' and 'amz-sdk-request' headers with gcp
2024-01-19 21:07:47 +01:00
Michael Kolupaev
fd361273f0
Fix StorageURL forgetting headers on server restart
2024-01-19 11:35:12 -08:00
serxa
3ace1cd087
Remove StaticResourceManager
2024-01-19 19:33:56 +00:00
Yarik Briukhovetskyi
e28fd94e1c
fix style
2024-01-19 20:19:34 +01:00
serxa
c8b1aff2a7
remove unnecessary assertion
2024-01-19 19:10:33 +00:00
alesapin
d275d79947
Update KeeperDispatcher.cpp
2024-01-19 19:25:27 +01:00
yariks5s
76b43a6aba
small changes(revert)
2024-01-19 18:13:05 +00:00
Nikita Taranov
60a910e94f
better
2024-01-19 18:47:21 +01:00
Jiebin Sun
e9662d4d62
polish the code and adjust some code style
2024-01-20 01:43:06 +08:00
Nikita Taranov
f1efb29a66
better
2024-01-19 18:13:03 +01:00
Alexey Milovidov
044df784e0
Update getMaxFileDescriptorCount.cpp
2024-01-19 20:07:38 +03:00
Vitaly Baranov
1a1b0894eb
Rename function checkQueryNotCancelled() and add check for thread_group.
2024-01-19 18:05:30 +01:00
kssenii
4c8ced6af8
Fix log level
2024-01-19 18:04:58 +01:00
Alexey Milovidov
6a75641048
Merge pull request #58966 from ClickHouse/arseek
...
Fix seek in ReadBufferFromZipArchive
2024-01-19 18:04:03 +01:00
Alexey Milovidov
b249416671
Merge pull request #58968 from ClickHouse/clickhouse-local-less-threads
...
Less threads in `clickhouse-local`
2024-01-19 18:03:36 +01:00
Alexey Milovidov
3557bb6c73
Merge pull request #58971 from ClickHouse/better-error-message-tuples
...
Better error message about tuples
2024-01-19 18:03:13 +01:00
Antonio Andelic
0132455b39
Reduce Keeper memory usage
2024-01-19 17:00:53 +00:00
kssenii
f9fc4c9fe1
Fix style check
2024-01-19 17:59:44 +01:00
kssenii
226026e2aa
Fix
2024-01-19 17:55:03 +01:00
Nikita Taranov
a47d15ab62
impl
2024-01-19 16:59:01 +01:00
Alexey Milovidov
decdb62cef
Merge pull request #58800 from ZhiguoZh/20240115-combine-filter-bmi2
...
Optimize DB::combineFilters with BMI2/SSE intrinsics
2024-01-19 16:50:04 +01:00
Dmitry Novik
728276ab3f
Fix crash when indexHint() is used
2024-01-19 14:59:33 +00:00
zhongyuankai
cbb51659f6
Merge branch 'master' into limit_materialized_view_size
2024-01-19 22:00:12 +08:00
Nikita Taranov
0cafb58c47
impl
2024-01-19 14:17:50 +01:00
Kseniia Sumarokova
facbd89d48
Merge pull request #58986 from ClickHouse/fix-typo
...
Fix typo
2024-01-19 14:12:50 +01:00
Igor Nikonov
131f71b50a
Revert "Revert flaky"
2024-01-19 13:51:30 +01:00
Raúl Marín
477489a05d
Revert "Merge pull request #57235 from ClickHouse/pr-custom-key-failover"
...
This reverts commit 8ba9b4a7ef
, reversing
changes made to 0f39245cb8
.
2024-01-19 12:46:05 +00:00
Vitaly Baranov
19bc0b744f
Add comments and const after review.
2024-01-19 12:54:55 +01:00
Azat Khuzhin
d940afd6cd
Fix timeouts for HTTP/1.1 non-chunked requests (missing Connection: close)
...
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2024-01-19 14:48:50 +03:00
kssenii
5113b719e9
Fix typo
2024-01-19 12:48:48 +01:00
kssenii
f055d668af
Merge remote-tracking branch 'origin/follow-up-disk-configuration' into follow-up-disk-configuration
2024-01-19 12:31:44 +01:00
kssenii
9dea75b1e7
Fix
2024-01-19 12:30:49 +01:00
avogar
b1c67f143e
Add more missing settings
2024-01-19 11:22:24 +00:00
Kseniia Sumarokova
7beb288b27
Update RegisterDiskObjectStorage.cpp
2024-01-19 12:09:58 +01:00
avogar
8f2d78bbbf
Merge branch 'master' of github.com:ClickHouse/ClickHouse into settings-changes-check
2024-01-19 11:04:50 +00:00
Azat Khuzhin
38ad4ef493
Fix timeout for prometheus exporter for HTTP/1.1 (due to keep-alive)
...
Before:
$ time curl -s --http1.1 127.1:9363/metrics > /dev/null
real 0m10.018s # default keep_alive_timeout is 10 seconds
user 0m0.005s
sys 0m0.001s
After
$ time curl -s --http1.1 127.1:9363/metrics > /dev/null
real 0m0.008s
user 0m0.006s
sys 0m0.000s
And if you will look at the test_prometheus_endpoint, you will see that
it takes > 30 seconds (it obtains metrics 3 times), after this patch it
should be finished more or less instantly.
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2024-01-19 13:29:17 +03:00
kssenii
2f34ef6ff8
Follow up
2024-01-19 11:19:59 +01:00
vdimir
b8340afddf
Merge pull request #58943 from ClickHouse/vdimir/analyzer_column_not_found
...
Analyzer: fix join column not found with compound identifiers
2024-01-19 10:40:03 +01:00
Kseniia Sumarokova
1c74e7fa08
Merge pull request #58902 from ClickHouse/fs-cache-refactorings
...
fs cache: minor refactoring
2024-01-19 10:25:45 +01:00
Jiebin Sun
0fb7d2290c
Update src/Analyzer/Passes/RewriteSumFunctionWithSumAndCountPass.cpp
...
Co-authored-by: Raúl Marín <git@rmr.ninja>
2024-01-19 17:01:11 +08:00
Alexey Milovidov
e9acae7774
Merge pull request #58950 from ClickHouse/fix-data-race-in-slru-2
...
Fix data race in slru (2)
2024-01-19 09:31:25 +01:00
Alexey Milovidov
8a288055c9
Merge pull request #58949 from MikhailBurdukov/fix_s3_copy
...
Using the destination object for paths generation in S3copy.
2024-01-19 09:28:13 +01:00
Antonio Andelic
19ca00f233
Call getMaxFileDescriptorCount once
2024-01-19 08:19:20 +00:00
zhangyifan27
7e56a2d925
fix test failure when allow_experimental_analyzer=1
2024-01-19 16:11:30 +08:00
Alexey Milovidov
ff8e1d1595
Merge pull request #58930 from CurtizJ/fix-functions-to-subcolumns-pass
...
Fix `FunctionToSubcolumnsPass` in debug build
2024-01-19 08:40:55 +01:00
Alexey Milovidov
6792f72c6b
Better error message about tuples
2024-01-19 06:26:11 +01:00
Alexey Milovidov
0c1e92aea5
Less threads in clickhouse-local
2024-01-19 04:53:14 +01:00
Alexey Milovidov
dcdbaf9150
Merge pull request #58900 from MikhailBurdukov/restriction_for_s3_access_key_id
...
Restriction for the access key id for s3.
2024-01-19 04:13:17 +01:00
Alexey Milovidov
370815803e
Update Client.cpp
2024-01-19 06:12:44 +03:00
Alexey Milovidov
bcff1bac47
Merge pull request #58874 from ClickHouse/disk-minor-improvement
...
DiskWeb minor improvement in loading
2024-01-19 03:52:05 +01:00
Michael Kolupaev
3a19ea6e6c
Fix seek in ReadBufferFromZipArchive
2024-01-19 01:46:07 +00:00
Robert Schulze
1bfeee1954
Some fixups
2024-01-18 20:49:50 +00:00
Kseniia Sumarokova
7f92bf6f0b
Merge pull request #58921 from ClickHouse/add-a-test-for-azure
...
Fix and test for azure #58697
2024-01-18 21:41:54 +01:00
Vitaly Baranov
24ca8fbbec
Improve logs.
2024-01-18 21:15:39 +01:00
Vitaly Baranov
0caafe4810
Fix memory deallocation in copyDataToS3File()
...
- ReadBufferFromS3 is created now only when it's necessary and destroyed after that.
2024-01-18 20:48:56 +01:00