Aleksei Filatov
ae9e25ffe5
Merge remote-tracking branch 'upstream/master' into fix_keeper_close_session_bug
2024-06-17 10:53:55 +03:00
Antonio Andelic
d9a11faf4a
Merge pull request #64842 from Unalian/jemalloc_as_metric
...
[feature] Add an asynchronous metric jemalloc.profile.active to show whether sampling is currently active
2024-06-17 07:10:15 +00:00
Alexey Milovidov
4f799270a1
Merge branch 'master' into detect-lexer-errors-early
2024-06-17 08:47:14 +02:00
Alexey Milovidov
7bed33012d
Fix bad code, but not error in system.session_log
2024-06-17 07:51:58 +02:00
Alexey Milovidov
531ae83d93
Merge branch 'master' into bad-error-message
2024-06-17 05:39:58 +02:00
Alexey Milovidov
cf0e578a38
Merge branch 'master' into ecs
2024-06-17 05:39:00 +02:00
Alexey Milovidov
9ecbc56890
Fix errors
2024-06-17 05:12:45 +02:00
Alexey Milovidov
d2d8006037
Fix error
2024-06-17 04:57:16 +02:00
pufit
9cb38f95ba
Merge pull request #64595 from ClickHouse/pufit/fix-definers-restore
...
Fix restore from backup for definers
2024-06-17 02:56:27 +00:00
Alexey Milovidov
edbd57eeb5
Merge branch 'master' into detect-lexer-errors-early
2024-06-17 04:13:06 +02:00
Artem Mustafin
51ff9df7eb
fix
2024-06-17 03:41:25 +03:00
Artem Mustafin
c815a35640
fix corner cases
2024-06-17 02:28:16 +03:00
chloro
27a0815bcc
fix failed code style check
2024-06-17 04:25:57 +08:00
Alexey Milovidov
8b1f1947f7
Slightly better user-agent
2024-06-16 17:39:36 +02:00
Alexey Milovidov
35ce8c6e72
Version in User-Agent
2024-06-16 17:32:41 +02:00
Alexey Milovidov
0ff8d0ce32
Merge branch 'master' into bad-error-message
2024-06-16 14:40:42 +02:00
Alexey Milovidov
c3bd1bebfc
Merge branch 'master' into ecs
2024-06-16 09:00:36 +02:00
chloro
38f01bd831
update code style
2024-06-16 14:44:38 +08:00
Han Fei
cce1af65a3
Merge pull request #64934 from hanfei1991/hanfei/stats_rmt
...
support statistics on replicated merge tree
2024-06-15 23:11:44 +00:00
chloro
ffb9a67a11
fix the bug that In operator did not perform the correct type conversion
2024-06-15 16:28:56 +08:00
Shaun Struwig
d8c8aebc1f
Merge branch 'master' into footer_column__names
2024-06-15 08:39:02 +02:00
Shaun Struwig
74266dcdcd
Remove const
2024-06-15 08:37:28 +02:00
pufit
74a9d55e9f
Merge branch 'master' into pufit/fix-definers-restore
2024-06-15 00:20:17 -04:00
Yarik Briukhovetskyi
5be00d2db4
Merge branch 'ClickHouse:master' into balancing_transform
2024-06-14 19:19:09 +02:00
Nikolai Kochetov
02d76f6082
Trying to fix fuzzed test.
2024-06-14 17:05:03 +00:00
Sergei Trifonov
a17d9d92d7
Merge branch 'master' into workload-for-merges
2024-06-14 18:35:43 +02:00
Sergei Trifonov
1778bcfc0b
Merge pull request #65050 from ClickHouse/s3-throttler-metrics
...
Add metrics for PutObject and GetObject throttlers of ObjectStorage
2024-06-14 16:33:35 +00:00
Han Fei
e08e48a4ec
Merge branch 'master' into hanfei/stats_rmt
2024-06-14 14:47:26 +00:00
Nikita Taranov
1aa17fe5d8
Merge pull request #65133 from nickitat/loop_engine_with_parallel_replicas
...
Fix `Initiator received more initial requests than there are replicas` with `loop` engine
2024-06-14 14:46:33 +00:00
Raúl Marín
0d8bd133e6
Merge pull request #64959 from canhld94/bump_fmt_9
...
Update fmtlib version to 9.1.0
2024-06-14 14:05:04 +00:00
Kseniia Sumarokova
6af61b6dba
Merge pull request #63502 from ClickHouse/Fix_parameterized_view_date
...
Fix assigning parameterized view value by function
2024-06-14 13:47:18 +00:00
Xu Jia
d0f2014f13
not count syste tables
2024-06-14 21:20:25 +08:00
serxa
b432400686
better type usage
2024-06-14 13:10:04 +00:00
Robert Schulze
06b27f0922
Merge pull request #64991 from arenadata/ADQM-1893
...
Add functions to encode and decode base64url
2024-06-14 12:41:38 +00:00
Kseniia Sumarokova
321f62d257
Merge pull request #64412 from ClickHouse/unite-storages3-and-disks3-settings
...
Refactor s3 settings (move settings parsing into single place)
2024-06-14 12:35:47 +00:00
Alexander Tokmakov
bc8c8ffd55
Merge pull request #64986 from ClickHouse/fix_init_order
...
Fix initialization order (ServerUUID/ZooKeeper)
2024-06-14 12:32:05 +00:00
Aleksei Filatov
515f911033
Add handling on commit
2024-06-14 15:28:55 +03:00
Yarik Briukhovetskyi
e1ddedf74c
Merge branch 'ClickHouse:master' into balancing_transform
2024-06-14 14:13:22 +02:00
Raúl Marín
00bb15b1c8
Merge remote-tracking branch 'blessed/master' into direct_dict
2024-06-14 13:31:15 +02:00
Raúl Marín
d0e1f02208
Merge pull request #65188 from Algunenano/i65052
...
Fix crash with UniqInjectiveFunctionsEliminationPass and uniqCombined
2024-06-14 11:30:18 +00:00
Nikita Mikhaylov
2008b81fe0
Merge pull request #65170 from ClickHouse/csv-tuples
...
Rework the tuple serialization/deserialization in CSV format.
2024-06-14 11:27:57 +00:00
Nikita Taranov
dc1d710b82
Merge pull request #64783 from canhld94/fix_vertical_final2
...
Remove bad optimization in vertical final implementation and re-enable vertical final
2024-06-14 11:17:33 +00:00
Alexey Milovidov
efb31c1d3f
Merge pull request #60556 from HappenLee/master
...
Remove useless virtual func call in ColumnNullable
2024-06-14 11:11:40 +00:00
Alexey Milovidov
3bd3bd467f
Merge branch 'master' into bad-error-message
2024-06-14 12:59:29 +02:00
Alexey Milovidov
6068d355f6
Merge branch 'master' into bad-error-message
2024-06-14 12:59:09 +02:00
unashi
13bdcc335f
[fix] remove static from function
2024-06-14 16:12:59 +08:00
unashi
a6f05df749
[feature] Add an asynchronous_metric jemalloc.profile.active to show whether sampling is currently active for the calling thread. This is an activation mechanism in addition to prof.active; both must be active for the calling thread to sample.
2024-06-14 16:12:59 +08:00
Alexey Milovidov
d93ce45a13
Merge pull request #65243 from nickitat/fix_cross_join_perf
...
Fix perf regression introduced in #60459
2024-06-14 06:00:33 +00:00
Xu Jia
555e166ed6
fix type
2024-06-14 08:16:17 +08:00
Xu Jia
76d6bc37eb
adjust code based on review comment
2024-06-14 08:16:17 +08:00
Xu Jia
a2fd206a4d
adjust database count checking DatabaseCatalog::TEMPORARY_DATABASE explicitly, change 'yandex' into 'clickhouse' in config.xml
2024-06-14 08:16:17 +08:00
Xu Jia
06239e1156
fix typo
2024-06-14 08:16:16 +08:00
Xu Jia
0cdcc0a704
modify DatabaseCommon.cpp compile errors; rename testcases, remove test result file
2024-06-14 08:16:16 +08:00
Xu Jia
25e927ad38
do not count systemStorage in AttachedTable metric
2024-06-14 08:16:16 +08:00
Xu Jia
bd0da139af
Add 2 server_setting to limit numebr of table/db
...
max_table_num_to_throw
max_database_num_to_throw
2024-06-14 08:16:12 +08:00
Nikita Mikhaylov
ad0b396d9d
Fix Upgrade Check
2024-06-14 01:43:47 +02:00
Nikita Mikhaylov
1e26c1dbc9
Fix test
2024-06-14 01:43:47 +02:00
Nikita Mikhaylov
e48ebf5529
Fixed build and tests
2024-06-14 01:43:47 +02:00
Nikita Mikhaylov
a98ec2e0e9
Update src/Formats/EscapingRuleUtils.cpp
...
Co-authored-by: Yakov Olkhovskiy <99031427+yakov-olkhovskiy@users.noreply.github.com>
2024-06-14 01:43:47 +02:00
Nikita Mikhaylov
04897eb0fa
Done
2024-06-14 01:43:47 +02:00
Artem Mustafin
fcc16b9f52
improve code + correct tests
2024-06-14 02:08:17 +03:00
Raúl Marín
436765306e
Merge remote-tracking branch 'blessed/master' into direct_dict
2024-06-14 00:46:49 +02:00
Raúl Marín
39261d09a2
Fix compilation without libraries
2024-06-13 23:32:25 +02:00
Nikita Taranov
cd2d825dd1
impl
2024-06-13 22:31:07 +01:00
Raúl Marín
594a0e9a1a
Merge pull request #65200 from Algunenano/server_warnings_desc
...
Fix the descriptions of some server settings
2024-06-13 21:29:56 +00:00
Max K
87f451d764
Revert "Change default s3_throw_on_zero_files_match to true, document that presigned S3 URLs are not supported"
2024-06-13 22:36:57 +02:00
Alexey Milovidov
dcbfa50446
Merge pull request #51008 from ClickHouse/nopresigned
...
Change default s3_throw_on_zero_files_match to true, document that presigned S3 URLs are not supported
2024-06-13 21:25:38 +02:00
Raúl Marín
3506ed14f4
Add validation when creating a user with bcrypt_hash
2024-06-13 19:58:41 +02:00
kssenii
fb32a99578
Initialize global trace collector for Poco::ThreadPool
2024-06-13 19:20:58 +02:00
Sema Checherinda
e8c0caa5ab
Merge pull request #63314 from arthurpassos/no_proxy_support
...
Add `no_proxy` support
2024-06-13 15:48:12 +00:00
Kseniia Sumarokova
9551f3b98a
Merge pull request #65208 from ClickHouse/sync-profile-events
...
Sync ProfileEvents.h
2024-06-13 15:46:52 +00:00
Azat Khuzhin
ff6d1d09d6
Fix possible crash for hedged requests
...
Previously, it was possible for hedged requests to continue choosing
replica even after the query had been cancelled
(RemoteQueryExecutor::tryCancel()), and not only this does not make
sense, but could also lead to a crash, due to use-after-free of
current_thread (ThreadStatus), since fiber had been created on a
different thread (thread for query pipeline), but will be destroyed from
another thread (that calls QueryPipeline dtor), and the query pipeline's
thread could be already destroyed by that time (especially under threads
pressure).
v0: IConnection::cancelAsync()
v2: remove it, since the query is sent in a deferred manner for hedged
requests, so that said that modifying HedgedConnections::sendCancel()
should be enough
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2024-06-13 17:28:18 +02:00
yariks5s
faa21ecba7
Merge branch 'balancing_transform' of https://github.com/yariks5s/ClickHouse into balancing_transform
2024-06-13 14:54:07 +00:00
yariks5s
c5159bc3aa
fix setNeeded() in PlanSquashing
2024-06-13 14:52:34 +00:00
Aleksei Filatov
68ab0edaae
Merge branch 'master' into fix_keeper_close_session_bug
2024-06-13 17:49:07 +03:00
Artem Mustafin
c79433e6f4
fix ci
2024-06-13 17:18:34 +03:00
Mikhail Gorshkov
a6520bcf90
Merge branch 'master' of https://github.com/ClickHouse/ClickHouse into ADQM-1893
2024-06-13 14:03:11 +00:00
Nikolai Kochetov
54b9d6ea23
Merge branch 'master' into merge-filter-steps
2024-06-13 14:03:01 +00:00
serxa
7c7be37383
fix tidy build
2024-06-13 13:49:03 +00:00
Alexander Gololobov
cb84733143
Merge pull request #65051 from ClickHouse/fix_capture_this_in_context_access
...
Capture weak_ptr of ContextAccess for safety
2024-06-13 13:37:36 +00:00
Alexander Tokmakov
82a5496f28
fix
2024-06-13 15:28:04 +02:00
kssenii
88b6b2732a
Sync changes
2024-06-13 15:14:05 +02:00
Antonio Andelic
61012a86aa
Merge pull request #64365 from ClickHouse/fix-gwp-asan
...
Try to fix GWPAsan
2024-06-13 13:09:11 +00:00
Alexander Tokmakov
c24e905bc6
Merge pull request #65184 from ClickHouse/tavplubix-patch-14
...
Add an assertion in ReplicatedMergeTreeQueue
2024-06-13 13:02:50 +00:00
Sergei Trifonov
b37e443b3b
Merge pull request #64403 from ClickHouse/fix-comment
...
Remove wrong comment
2024-06-13 12:32:33 +00:00
Raúl Marín
9a87d79032
Fix bug in short circuit optimization with direct dictionaries
2024-06-13 14:25:41 +02:00
János Benjamin Antal
5cff2bca77
Merge pull request #64888 from azat/client-cancelled-message
...
Fix possible loss of "Query was cancelled" message in client (fixes 03023_zeros_generate_random_with_limit_progress_bar flakiness)
2024-06-13 12:24:27 +00:00
Kseniia Sumarokova
ef8810a60d
Merge branch 'master' into unite-storages3-and-disks3-settings
2024-06-13 14:24:04 +02:00
kssenii
64f8fedc7a
Fix test
2024-06-13 14:23:32 +02:00
Blargian
d364f447a7
Fix spacing issue and update reference file
2024-06-13 14:13:39 +02:00
Grigorii Sokolik
80575fe122
Fix CI failure
2024-06-13 14:16:31 +03:00
Raúl Marín
afae991bf7
Merge pull request #65185 from Algunenano/another_dict_short_circuit_bug
...
Fix bug in short circuit optimization with cache dictionaries
2024-06-13 11:06:16 +00:00
Aleksei Filatov
2d37f7b530
Initial commit
2024-06-13 13:55:14 +03:00
Raúl Marín
98d92b3be2
Fix the descriptions on some server settings
2024-06-13 12:54:31 +02:00
Artem Mustafin
d1a2e5b7ca
Merge branch 'ClickHouse:master' into hilbert-index-analysis
2024-06-13 13:37:48 +03:00
Raúl Marín
b74f910aaf
Do the replacement of the arguments
2024-06-13 12:22:41 +02:00
Grigorii Sokolik
2aa2f2f7da
Rollback unnecessary style fixes
2024-06-13 11:21:48 +03:00
Grigorii Sokolik
7bff47701b
Fix styles
2024-06-13 11:21:48 +03:00
Grigorii Sokolik
06383d7a7a
Fix Static handler
2024-06-13 11:21:47 +03:00
Grigorii Sokolik
979b447451
Fix styles
2024-06-13 11:21:47 +03:00
Grigorii Sokolik
ffa66225d0
Fix tests
2024-06-13 11:21:47 +03:00
Grigorii Sokolik
a417a1c676
feat-59620 Style fix
2024-06-13 11:21:47 +03:00
Grigorii Sokolik
47686e0c4a
[feature] A setting http_response_headers
...
Implementing https://github.com/ClickHouse/ClickHouse/issues/59620
Deprecating `content_type` setting (still supported).
2024-06-13 11:21:47 +03:00
Kseniia Sumarokova
b426924235
Merge branch 'master' into Fix_parameterized_view_date
2024-06-13 09:41:33 +02:00
Alexander Gololobov
fd586aaea4
Merge branch 'master' of github.com:ClickHouse/ClickHouse into fix_capture_this_in_context_access
2024-06-13 09:12:43 +02:00
Duc Canh Le
857a412e3b
address some review comments
...
Signed-off-by: Duc Canh Le <duccanh.le@ahrefs.com>
2024-06-13 01:27:54 +00:00
Alexander Tokmakov
f030b22027
fix build
2024-06-13 00:05:46 +02:00
Alexander Tokmakov
8a49c1614e
fix
2024-06-12 21:45:00 +02:00
Raúl Marín
b7161b77d1
Fix UniqInjectiveFunctionsEliminationPass with uniqCombined
2024-06-12 19:13:40 +02:00
Sema Checherinda
b4b6d08908
Merge pull request #65152 from ClickHouse/chesema-ajust-tests-with-times
...
rework tests with sleep: use sleep_until instead sleep_for
2024-06-12 16:17:54 +00:00
Blargian
d81c0826c7
Fix incorrect condition in PrettySpaceBlockOutputFormat
2024-06-12 18:16:09 +02:00
Alexander Tokmakov
bf04aebc94
Update ReplicatedMergeTreeQueue.cpp
2024-06-12 18:00:19 +02:00
Raúl Marín
5f5a6d5f10
Fix bug in short circuit optimization with cache dictionaries
2024-06-12 17:51:17 +02:00
Nikita Mikhaylov
f6e71dc6bc
Merge pull request #65135 from ClickHouse/bloc
...
Fix 'Tasks in BackgroundSchedulePool cannot throw' caused by MergeTreeData::loadUnexpectedDataParts()
2024-06-12 15:47:43 +00:00
Nikita Mikhaylov
29ec6519f1
Merge pull request #63699 from tomershafir/io-uring-improve-resubmits-visibility
...
io_uring: improve resumbits visibility
2024-06-12 15:46:31 +00:00
Han Fei
d798fffb1d
fix
2024-06-12 16:46:14 +02:00
Dmitry Novik
384c733941
Make QueryAnalyzer respect rewrite_count_distinct_if_with_count_distinct_implementation setting
2024-06-12 15:40:06 +02:00
Nikolai Kochetov
089f5bfecd
Update StorageMerge.cpp
2024-06-12 15:09:38 +02:00
Nikolai Kochetov
f564ec3b69
Merge branch 'master' into merge-filter-steps
2024-06-12 15:06:12 +02:00
Nikolai Kochetov
af6afd9043
Merge pull request #65090 from ClickHouse/fix-analyzer-interpolate-alias-remote
...
Fix INTERPOLATE (alias) for remote queries with analyzer.
2024-06-12 13:02:38 +00:00
avogar
5829ab41db
Merge branch 'master' of github.com:ClickHouse/ClickHouse into fix-uncaught-exception
2024-06-12 12:33:35 +00:00
Alexey Milovidov
89d2de2872
Fix AWS ECS
2024-06-12 14:08:52 +02:00
Sema Checherinda
a7f3c9fde8
Update src/Common/tests/gtest_resolve_pool.cpp
...
Co-authored-by: János Benjamin Antal <antaljanosbenjamin@users.noreply.github.com>
2024-06-12 13:52:19 +02:00
Nikolai Kochetov
410f0b643d
Merge pull request #65057 from ClickHouse/refactor-prewhere-storage-merge
...
Refactor query plan prewhere optimization for Merge
2024-06-12 11:50:26 +00:00
Kruglov Pavel
085c406f1f
Merge pull request #64641 from azat/fix-float-inference
...
Fix type inference for float (in case of small buffer)
2024-06-12 11:38:54 +00:00
Sema Checherinda
4b252dea72
rework tests with sleep: use sleep_until instead sleep_for
2024-06-12 13:04:42 +02:00
Nikolai Kochetov
31a978d75d
Merge pull request #65104 from ClickHouse/analyzer-fix-agg-arithm-opt
...
Analyzer: Fix AggregateFunctionsArithmericOperationsPass
2024-06-12 10:45:56 +00:00
Yarik Briukhovetskyi
07e746d5a4
Merge branch 'ClickHouse:master' into balancing_transform
2024-06-12 12:16:24 +02:00
Raúl Marín
7683f06188
Revert "S3: reduce retires time for queries, increase retries count for backups"
2024-06-12 11:26:21 +02:00
Blargian
09e59765c5
Add setting output_format_pretty_display_footer_column_names_min_rows
2024-06-12 09:45:36 +02:00
Blargian
37e03ef320
Modify pretty formats to display column names in the footer when row count is large
2024-06-12 07:52:50 +02:00
Duc Canh Le
f632424f92
remove unnecessary change
...
Signed-off-by: Duc Canh Le <duccanh.le@ahrefs.com>
2024-06-12 04:32:34 +00:00
Alexey Milovidov
07c628f746
Fix bad error message
2024-06-12 06:17:48 +02:00
yariks5s
4a72b36f28
Revert "Revert "roll back some changes""
...
This reverts commit 66a714e3ee
.
2024-06-11 23:26:23 +00:00
Alexey Milovidov
603176ef7f
Fix bad error message
2024-06-12 01:23:48 +02:00
Michael Kolupaev
af9f8ddbfa
Move an unrelated setting to the correct section of SettingsChangesHistory.h
2024-06-11 23:06:59 +00:00
Michael Kolupaev
08504d7b1b
Change default s3_throw_on_zero_files_match to true, document that pre-signed S3 URLs are not supported
2024-06-11 23:06:59 +00:00
Michael Kolupaev
1ad6485175
Fix 'Tasks in BackgroundSchedulePool cannot throw' caused by MergeTreeData::loadUnexpectedDataParts()
2024-06-11 22:50:57 +00:00
yariks5s
9923d38227
revert changes for empty chunk
2024-06-11 22:45:48 +00:00
yariks5s
66a714e3ee
Revert "roll back some changes"
...
This reverts commit a54d679357
.
2024-06-11 22:45:02 +00:00
serxa
08a293a91f
Merge branch 'master' into workload-for-merges
2024-06-11 21:33:25 +00:00
Nikita Taranov
d8366119c4
impl
2024-06-11 22:07:12 +01: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
vdimir
c75a5ef699
Merge pull request #65053 from ClickHouse/revert-65049-revert-64924-vdimir/blob_storage_log_minor_fixes
...
Revert "Revert "Fix duplicating Delete events in blob_storage_log""
2024-06-11 17:07:59 +00:00
Nikolai Kochetov
fe4c4db6ac
Merge pull request #65081 from ClickHouse/fix-64849
...
Fix infinite query duration in case of cyclic aliases.
2024-06-11 17:03:52 +00:00
Dmitry Novik
cb576211d5
Analyzer: Fix aggregate function name rewriting
2024-06-11 17:22:13 +02:00
Mikhail Gorshkov
39914d848d
Docs updated, __msan_unpoison usage fixed
2024-06-11 15:13:42 +00:00
Robert Schulze
cb5d929dcd
Merge pull request #64814 from rschu1ze/stabilize-row-ordering
...
Make row order optimization non-experimental
2024-06-11 15:09:44 +00:00
Anton Popov
c5406bfd29
Merge pull request #64580 from CurtizJ/skip-indexes-vertical-merge
...
Calculate skip indexes on vertical stage of merge
2024-06-11 15:07:29 +00:00