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
Han Fei
e0668ab8fa
write more tests
2024-06-11 17:03:54 +02:00
Antonio Andelic
f51ed35200
Merge branch 'master' into fix-gwp-asan
2024-06-11 16:57:50 +02:00
Nikolai Kochetov
9f54007eb8
Fix style.
2024-06-11 14:47:35 +00:00
Nikolai Kochetov
62b732a1fa
Remove unused code.
2024-06-11 14:41:23 +00:00
Dmitry Novik
3680ff07ea
Analyzer: Fix AggregateFunctionsArithmericOperationsPass
2024-06-11 16:34:53 +02:00
Igor Nikonov
b403f13381
Merge pull request #63796 from ClickHouse/pr-plan-rewrite
...
Rewrite plan for parallel replicas in Planner
2024-06-11 13:45:39 +00:00
Shaun Struwig
cf17a0aa48
Merge branch 'ClickHouse:master' into footer_column__names
2024-06-11 15:14:00 +02:00
Blargian
5aa9389f85
Add failing test, setting and docuumentation
2024-06-11 15:13:36 +02:00
Nikolai Kochetov
96fcc3044c
Merge pull request #60463 from amosbird/trivial-count-opt
...
Trivial count optimization with primary key
2024-06-11 12:26:57 +00:00
vdimir
6f513de001
Merge pull request #65008 from ClickHouse/allow_experimental_join_condition
...
Make a setting `allow_experimental_join_condition` not IMPORTANT
2024-06-11 11:29:13 +00:00
Nikolai Kochetov
be154c37b7
Refactor and cleanup.
2024-06-11 11:05:04 +00:00
avogar
d9ff40851e
Don't use finalize in release() method
2024-06-11 10:55:27 +00:00
Nikolai Kochetov
5f6904fa38
Add a comment.
2024-06-11 10:23:56 +00:00
Nikolai Kochetov
88fffcd171
Fix INTERPOLATE (alias) for remote queries with analyzer.
2024-06-11 10:16:16 +00:00
Robert Schulze
a96513ff96
Update src/Storages/MergeTree/MergeTreeDataWriter.cpp
...
Co-authored-by: SmitaRKulkarni <Smita.Kulkarni@clickhouse.com>
2024-06-11 12:10:29 +02:00
Robert Schulze
61d9280e96
Update src/Storages/MergeTree/MergeTreeDataWriter.cpp
...
Co-authored-by: SmitaRKulkarni <Smita.Kulkarni@clickhouse.com>
2024-06-11 12:10:23 +02:00
Smita Kulkarni
1519efe7e2
Addressed review comments
2024-06-11 11:53:33 +02:00
Daniil Ivanik
e493856ddf
Merge pull request #64668 from KevinyhZou/improve_greatest_least_nullable_type
...
Improve function least/greatest for nullable numberic type arguments
2024-06-11 09:20:15 +00:00
János Benjamin Antal
8792db6321
Merge pull request #64427 from liuneng1994/adapting-parquet-block-size
...
Adapting parquet reader output block rows
2024-06-11 09:16:36 +00:00
Nikolai Kochetov
46df67d1de
Fix infinite query duration in case of cyclic aliases.
2024-06-11 09:07:03 +00:00
Smita Kulkarni
fc88d05548
Merge branch 'master' into Fix_parameterized_view_date
2024-06-11 11:06:17 +02:00
vdimir
f9b7d18743
Merge pull request #64060 from ZhiguoZh/20240517-low-cardinality-opt
...
Analyzer: Optimize resolution of in(LowCardinality, ConstantSet)
2024-06-11 08:59:55 +00:00
Nikolai Kochetov
68e4be0302
Merge pull request #64695 from ClickHouse/fix-early-const-folding-analyzer
...
Fix early constant folding for isNull/isNotNul and analyzer.
2024-06-11 08:35:57 +00:00
Nikolai Kochetov
a6fa799396
Fix other tests.
2024-06-11 08:22:11 +00:00
Kseniia Sumarokova
2c0a1ce918
Merge pull request #64574 from ClickHouse/named-collecitons-in-keeper
...
Named collections in keeper
2024-06-11 07:53:10 +00:00
Antonio Andelic
c9e5fb663c
Merge pull request #65040 from ClickHouse/update-comment-async-metrics
...
Improve comment about AsynchronousMetrics
2024-06-11 07:31:12 +00:00
Antonio Andelic
5e907a5fb9
Merge branch 'master' into fix-gwp-asan
2024-06-11 09:12:20 +02:00
Nikolay Degterinsky
83c762146b
Merge pull request #65031 from evillique/fix-modify-comment-parameterized-views
...
Fix ALTER MODIFY COMMENT in parameterized VIEWs
2024-06-11 06:12:53 +00:00
Duc Canh Le
79a660c018
Merge branch 'master' into bump_fmt_9
...
Fix CI
2024-06-11 03:39:03 +00:00
Duc Canh Le
26e82457b9
add setting changes
...
Signed-off-by: Duc Canh Le <duccanh.le@ahrefs.com>
2024-06-11 03:36:26 +00:00
Duc Canh Le
7f60444934
Merge branch 'master' into fix_vertical_final2
...
Fix CI
2024-06-11 03:34:53 +00:00
kevinyhzou
727b75780c
Merge branch 'master' into improve_greatest_least_nullable_type
2024-06-11 09:42:57 +08:00
Zhiguo Zhou
76a7989399
Merge branch 'ClickHouse:master' into 20240517-low-cardinality-opt
2024-06-11 09:33:36 +08:00
Sema Checherinda
f52ca21db0
Merge pull request #63857 from ClickHouse/chesema-less-backoff-timeout
...
S3: reduce retires time for queries, increase retries count for backups
2024-06-11 00:25:46 +00:00
Igor Nikonov
1599f774f8
Merge remote-tracking branch 'origin/master' into pr-plan-rewrite
2024-06-10 20:09:44 +00:00
yariks5s
3ac63a0e18
Merge branch 'balancing_transform' of https://github.com/yariks5s/ClickHouse into balancing_transform
2024-06-10 19:01:50 +00:00
yariks5s
d2be2ce705
fixes in planner
2024-06-10 19:01:48 +00:00
Robert Schulze
71a42d427a
Minor fixups
2024-06-10 18:31:50 +00:00
Yarik Briukhovetskyi
8be3957f10
style check
2024-06-10 20:20:46 +02: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
avogar
5f7683f391
Avoid writing to finalized buffer in File-like storages
2024-06-10 18:02:44 +00:00
Nikolai Kochetov
3bcb32c719
Fixing another test.
2024-06-10 17:52:46 +00:00
Anton Popov
e796530b54
Merge remote-tracking branch 'upstream/master' into HEAD
2024-06-10 17:52:39 +00:00
Nikolai Kochetov
20d673a206
Fix more tests.
2024-06-10 17:02:26 +00:00
Robert Schulze
a482b3efea
Merge remote-tracking branch 'rschu1ze/master' into stabilize-row-ordering
2024-06-10 16:53:19 +00:00
Robert Schulze
9b37288e7e
Merge remote-tracking branch 'rschu1ze/master' into uniform-snowflake-id-conversion
2024-06-10 16:49:36 +00:00
serxa
65ee0254fa
safer
2024-06-10 16:48:24 +00:00
serxa
4e1d4aad2f
Merge branch 's3-throttler-metrics' of github.com:ClickHouse/ClickHouse into s3-throttler-metrics
2024-06-10 16:46:22 +00:00
serxa
0c8a9f099c
fix build
2024-06-10 16:45:48 +00:00
Sergei Trifonov
eb839de795
Update src/Interpreters/ServerAsynchronousMetrics.cpp
...
Co-authored-by: Antonio Andelic <antonio2368@users.noreply.github.com>
2024-06-10 18:41:08 +02:00
Sergei Trifonov
32431b9c7d
Update src/Common/Throttler.cpp
...
Co-authored-by: Antonio Andelic <antonio2368@users.noreply.github.com>
2024-06-10 18:40:57 +02:00
kssenii
26ac82dd5c
Merge remote-tracking branch 'origin' into unite-storages3-and-disks3-settings
2024-06-10 18:05:52 +02:00
kssenii
8904880480
Try fix test
2024-06-10 18:03:26 +02:00
Alexander Tokmakov
4f39c36408
Merge pull request #64312 from ClickHouse/all_replica_groups_cluster
...
Add clusters with replicas from all replica groups
2024-06-10 15:55:35 +00:00
Nikolai Kochetov
a8b1b11ee6
Fixing test.
2024-06-10 15:55:00 +00:00
Mikhail Gorshkov
fdb32e825c
PR post-review fixes
2024-06-10 15:39:38 +00:00
Nikolai Kochetov
33766797c1
Refactor query plan prewhere optimization for Merge
2024-06-10 15:37:40 +00:00
Nikolay Degterinsky
ec5fa482e4
Fix style
2024-06-10 15:26:36 +00:00
serxa
dcbcfc9ee8
fix skipping of remote disks
2024-06-10 15:21:18 +00:00
Duc Canh Le
6b459ee2d2
remove unused ErrorCodes
...
Signed-off-by: Duc Canh Le <duccanh.le@ahrefs.com>
2024-06-10 14:46:12 +00:00
Nikolay Degterinsky
6fb4514293
Fix host_id in DatabaseReplicated when cluster_secure_connection is enabled
2024-06-10 14:39:25 +00:00
Arthur Passos
f026cc43cd
safe guard around no proxy strings
2024-06-10 11:17:10 -03:00
Duc Canh Le
1fb5b35dd9
explicitly define formatter for StringRef
...
Signed-off-by: Duc Canh Le <duccanh.le@ahrefs.com>
2024-06-10 13:53:25 +00:00
Raúl Marín
2f42ace740
Merge remote-tracking branch 'blessed/master' into allow_experimental_join_condition
2024-06-10 15:38:10 +02:00
Antonio Andelic
e849b21cba
Increase even more
2024-06-10 15:15:44 +02:00
vdimir
4cb53e9513
Revert "Revert "Fix duplicating Delete events in blob_storage_log""
2024-06-10 14:46:39 +02:00
János Benjamin Antal
69bacef5d4
Merge branch 'master' into adapting-parquet-block-size
2024-06-10 14:43:49 +02:00
Mikhail Gorshkov
9e538b70bb
Try to fix base64Url functions registration
2024-06-10 12:16:03 +00:00
Kseniia Sumarokova
9a55cdf77c
Merge pull request #64947 from ilejn/time_virtual_col
...
Add _time virtual column to file alike storages
2024-06-10 12:14:46 +00:00
serxa
41cca9df1a
add space
2024-06-10 11:59:52 +00:00
Raúl Marín
d9e6d4662c
Merge pull request #64967 from Algunenano/fix_multi_if_short_circuit
...
Fix bug in short circuit evaluation
2024-06-10 11:58:43 +00:00
Raúl Marín
4926d28709
Merge pull request #64804 from Algunenano/simplify_03023_zeros_generate_random_with_limit_progress_bar
...
Improve progress report on zeros_mt and generateRandom
2024-06-10 11:57:15 +00:00
Alexander Gololobov
2056ed8ee8
Capture weak_ptr for safety
2024-06-10 13:54:46 +02:00
serxa
a50019c6ca
Add metrics for PutObject and GetObject throttlers of ObjectStorage
2024-06-10 11:49:41 +00:00
Alexander Tokmakov
132aa996a3
Revert "Fix duplicating Delete events in blob_storage_log"
2024-06-10 13:49:39 +02:00
kssenii
4c629bcfb3
Review fixes
2024-06-10 13:48:26 +02:00
Nikolai Kochetov
6baae1d1c8
Merge branch 'master' into fix-early-const-folding-analyzer
2024-06-10 11:21:13 +00:00
kssenii
571ddb66df
Merge remote-tracking branch 'origin/master' into named-collecitons-in-keeper
2024-06-10 13:17:32 +02:00
Antonio Andelic
c2c5992434
Merge branch 'master' into fix-gwp-asan
2024-06-10 12:50:08 +02:00
Antonio Andelic
af08c2bc13
Increase default sample rate
2024-06-10 12:50:02 +02:00
Antonio Andelic
fdfc547163
Add useful comment
2024-06-10 12:48:32 +02:00
Mikhail Gorshkov
0da0d8dfb1
PR post-review fixes
2024-06-10 10:14:45 +00:00
vdimir
a87e8b4214
Merge branch 'master' into 20240517-low-cardinality-opt
2024-06-10 12:01:37 +02:00
vdimir
a8019ee8b9
Merge pull request #64924 from ClickHouse/vdimir/blob_storage_log_minor_fixes
...
Fix duplicating Delete events in blob_storage_log
2024-06-10 09:52:16 +00:00
Antonio Andelic
25fa5d87f3
Merge pull request #64896 from ClickHouse/fix-global-trace-collector
...
Fix global trace collector
2024-06-10 09:09:07 +00:00
vdimir
416bb6fd1f
Merge branch 'master' into allow_experimental_join_condition
2024-06-10 11:02:03 +02:00
SmitaRKulkarni
b49322de32
Merge pull request #63160 from ClickHouse/Azure_fix_stateless_tests
...
Fix flaky stateless test with azure
2024-06-10 08:34:07 +00:00
Robert Schulze
1cd61b804d
Fix build
2024-06-10 07:52:55 +00:00
Robert Schulze
25fd51e5bc
Mark row order optimization non-experimental
2024-06-10 07:51:22 +00:00
Robert Schulze
ccdaf6f5a4
Restrict to MergeTree
2024-06-10 07:50:04 +00:00
Robert Schulze
ee94d68cb9
Less aggressive logging
2024-06-10 07:49:27 +00:00
Antonio Andelic
ee46c82dc2
Merge branch 'master' into fix-gwp-asan
2024-06-10 09:39:13 +02:00
Antonio Andelic
0f6f86314f
Better code
2024-06-10 09:37:52 +02:00
Duc Canh Le
e6f8812696
fix mistake
...
Signed-off-by: Duc Canh Le <duccanh.le@ahrefs.com>
2024-06-10 06:55:54 +00:00
Nikolay Degterinsky
982b1e4102
Merge remote-tracking branch 'upstream/master' into fix-modify-comment-parameterized-views
2024-06-10 01:45:36 +00:00
Nikolay Degterinsky
5e679a33e1
Fix
2024-06-10 01:43:27 +00:00
Yarik Briukhovetskyi
7997ce850c
include storageview
2024-06-10 01:12:44 +02:00
Nikolay Degterinsky
dfc4184d7f
Fix ALTER MODIFY COMMENT in parameterized VIEWs
2024-06-09 19:44:27 +00:00
Artem Mustafin
b8fff4bd7e
bug fixed
2024-06-09 13:28:42 +00:00
Alexey Milovidov
e7caad8d05
Merge pull request #64952 from ClickHouse/strange-num
...
Fix error message (it was strange)
2024-06-09 06:32:22 +02:00
Alexey Milovidov
873964b882
Merge pull request #63788 from ClickHouse/show-create-system-tables
...
Use right comments for system tables
2024-06-08 06:34:04 +02:00
yariks5s
2d189eb1a3
init
2024-06-07 18:27:06 +00:00
Nikita Mikhaylov
33cac00011
Make a setting not important
2024-06-07 19:39:48 +02:00
Alexey Milovidov
c33b39f61e
Merge pull request #64856 from azat/rocksdb-logging
...
Handle logs from rocksdb by ClickHouse internal logging (and enable debug rocksdb logging on CI)
2024-06-07 19:24:20 +02:00
Sergei Trifonov
686d6d676a
Merge pull request #64969 from ClickHouse/revert-64423-precise-memtracking
...
Revert "Add dynamic untracked memory limits for more precise memory tracking"
2024-06-07 16:51:36 +00:00
Alexey Milovidov
95e3adf976
Merge pull request #62519 from ClickHouse/linestring
...
Add support for `LineString` geometry type
2024-06-07 18:38:27 +02:00
Nikita Mikhaylov
756ac16170
Merge branch 'master' of github.com:ClickHouse/ClickHouse into show-create-system-tables
2024-06-07 18:00:33 +02:00
Mikhail Gorshkov
98235ba2b1
Dedicated support for Base64URL encoding
2024-06-07 15:47:12 +00:00
Alexander Tokmakov
01ece14035
fix initialization order (ServerUUID/ZooKeeper)
2024-06-07 16:23:40 +02:00
serxa
7594e06ea2
Merge branch 'master' into workload-for-merges
2024-06-07 13:58:41 +00:00
Arthur Passos
48de600770
unify environment proxy set]
2024-06-07 10:47:54 -03:00
serxa
c02cb392bf
faster processing of scheduler queue activations
2024-06-07 13:32:08 +00:00
Arthur Passos
2b200b5661
modify match everything regex
2024-06-07 10:03:07 -03:00
Raúl Marín
b04fb116a5
Compiler happy. Developer unhappy
2024-06-07 15:01:54 +02:00
alesapin
368d827dc6
Merge pull request #64918 from ClickHouse/disable_transactions
...
Disable transactions for unsupported storages even for materialized v…
2024-06-07 12:59:58 +00:00
Robert Schulze
5c7f600d74
Merge pull request #64798 from arenadata/ADQM-1892
...
Support non-const scale arguments in rounding functions
2024-06-07 12:41:36 +00:00
Antonio Andelic
b1d6c73208
Merge pull request #64604 from ClibMouse/parallel_replicas_custom_key_range_min_max_setting
...
Allow users to specify a custom range for the range filter when using parallel replicas with dynamic shards
2024-06-07 12:26:30 +00:00
Ilya Golshtein
f77b6096c4
time_virtual_col: st_mtime, not st_mtim, because of darwin
2024-06-07 12:14:21 +00:00
Nikolai Kochetov
a96b7781c3
Merge pull request #64855 from ClickHouse/fix-filter-push-down-duplicate-names
...
Avoid duplicating names for new inputs of ActionsDAG::split result.
2024-06-07 12:10:32 +00:00
Sergei Trifonov
2d9ac2e816
Revert "Add dynamic untracked memory limits for more precise memory tracking"
2024-06-07 14:03:56 +02:00
alesapin
a9da369bb5
Merge pull request #64858 from ClickHouse/fix_segfault_for_super_rare_case
...
Fix segfault for a very tricky case
2024-06-07 11:26:10 +00:00
Robert Schulze
9920c3d17f
Add uniform snowflakeID conversion functions
2024-06-07 11:16:46 +00:00
Raúl Marín
078f5f4ee0
Fix bug in short circuit evaluation
2024-06-07 13:10:12 +02:00
Kseniia Sumarokova
a4a992665c
Merge branch 'master' into unite-storages3-and-disks3-settings
2024-06-07 12:59:05 +02:00
Nikolai Kochetov
2131877819
Fixing other tests.
2024-06-07 10:44:59 +00:00
Nikolai Kochetov
7f98893da0
Merge pull request #64793 from ClickHouse/remove-aliases-from-filter-cond
...
Remove aliases from fiter condition.
2024-06-07 10:09:14 +00:00
Duc Canh Le
de5258128e
update fmtlib version to 9.1.0
...
Signed-off-by: Duc Canh Le <duccanh.le@ahrefs.com>
2024-06-07 06:44:36 +00:00
Antonio Andelic
bd986ce1da
Merge branch 'master' into fix-global-trace-collector
2024-06-07 08:22:53 +02:00
Antonio Andelic
ee019596ca
Merge branch 'master' into fix-gwp-asan
2024-06-07 08:22:37 +02:00
Mikhail Gorshkov
b98eca1e60
Merge branch 'master' of github.com:ClickHouse/ClickHouse into ADQM-1892
2024-06-07 06:03:23 +00:00
LiuNeng
6d20d66081
Merge branch 'master' into adapting-parquet-block-size
2024-06-07 11:00:45 +08:00
Alexey Milovidov
05ea297c0d
Fix error message (it was strange)
2024-06-07 03:47:35 +02:00
Alexey Milovidov
2da27f4dee
Merge pull request #64923 from amosbird/fix-64885
...
Fix tupleConcat of two empty tuples
2024-06-07 01:53:02 +02:00
Ilya Golshtein
258b1f9559
time_virtual_col: tests, doc, small refactoring
2024-06-06 21:00:47 +00:00
Arthur Passos
bd0ef01ffd
try to fix ut
2024-06-06 16:45:34 -03:00
Raúl Marín
d36bf5bac8
Compiler complains
2024-06-06 21:40:24 +02:00
Han Fei
0bd5164f83
fix style
2024-06-06 21:30:16 +02:00
Alexey Milovidov
645d3041ce
Merge pull request #64563 from ClickHouse/shrek
...
Fix writing ORC statistics for unsigned types
2024-06-06 21:14:42 +02:00
Alexey Milovidov
e421c741bf
Merge pull request #64756 from Blargian/utf8_compute_fix
...
`UTF8::computeWidth` should skip ANSI escape sequences (fix)
2024-06-06 21:13:08 +02:00
Sergei Trifonov
9ec1306016
Merge pull request #64423 from ClickHouse/precise-memtracking
...
Add dynamic untracked memory limits for more precise memory tracking
2024-06-06 18:37:31 +00:00
Han Fei
823a7d37f3
support statistics on replicated merge tree
2024-06-06 20:18:42 +02:00
Raúl Marín
ae01d9ef9b
Merge pull request #64766 from Algunenano/fix_duplicate_order_by
...
Fix OrderByLimitByDuplicateEliminationVisitor across subqueries
2024-06-06 18:03:34 +00:00
Nikolay Degterinsky
82e6de5e0a
Merge pull request #64919 from k-morozov/add_logs
...
additional log for cleanupDetachedTables
2024-06-06 17:53:29 +00:00
Joshua Hildred
21294013f2
Update SettingsChangesHistory
2024-06-06 10:03:52 -07:00
Arthur Passos
e0898b117f
Merge branch 'master' into no_proxy_support
2024-06-06 13:47:04 -03:00
kssenii
a2c3c215f5
More user friendly
2024-06-06 18:43:45 +02:00
Kseniia Sumarokova
1e75f8ea26
Merge branch 'master' into unite-storages3-and-disks3-settings
2024-06-06 18:30:11 +02:00
Nikolai Kochetov
8216e14ac2
Merge pull request #64801 from ClickHouse/fix-arr-join-distr-nested
...
Fix distributed array join by nested
2024-06-06 16:24:19 +00:00
Anton Popov
0279dc7c39
Merge remote-tracking branch 'upstream/master' into HEAD
2024-06-06 16:08:39 +00:00
vdimir
1881107f07
fix build
2024-06-06 16:04:46 +00:00
Igor Nikonov
20283d3588
Merge remote-tracking branch 'origin/master' into pr-plan-rewrite
2024-06-06 16:04:31 +00:00
Igor Nikonov
ad2d397962
Use supportsReplication()
2024-06-06 16:03:58 +00:00
Raúl Marín
81fe4c4894
Fix number of stream decision
2024-06-06 17:59:16 +02:00
vdimir
38d45a6bc9
Verbose message for errors on inserting to system log
2024-06-06 15:49:14 +00:00
vdimir
4ba025c3ba
Fix duplicating Delete events in blob_storage_log
2024-06-06 15:48:36 +00:00
Azat Khuzhin
833f031721
Handle logs from rocksdb by ClickHouse internal logging
...
Someone may not know about /path/to/rocksdb/LOG, and besides it requires
an access to data dir, instead of logs dir.
v2: fix use-after-free due to destruction order (https://s3.amazonaws.com/clickhouse-test-reports/64856/8cefc1a1ba5ddfdda033694a14e1f1847d497092/stateless_tests__asan__[2_4]/stderr.log )
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2024-06-06 17:47:39 +02:00
Azat Khuzhin
15317b5b50
Fix possible loss of "Query was cancelled" message in client
...
Previously "Query was cancelled" had been printed only on new blocks, so
if no new blocks will be arrived, then it will not print this message,
and this is indeed why 03023_zeros_generate_random_with_limit_progress_bar
was flaky [1]:
2024-06-05 16:21:22 expect: does "\u258e\u001b[0m \u001b[2m(0.9 CPU)\u001b[0m 4%\u001b[K^C\r\u001b[1;31m\u2198\u001b[0m Progress: 404.74 thousand rows, 404.74 KB (806.77 thousand rows/s., 806.77 KB/s.) \u001b[0;32m\u2588\u258e\u001b[0m \u001b[2m(2.0 CPU)\u001b[0m 4%\u001b[K\r\u001b[KCancelling query.\r\n \r\u001b[1;32m\u2193\u001b[0m Progress: 404.74 thousand rows, 404.74 KB (806.15 thousand rows/s., 806.15 KB/s.) \u001b[0;32m\u2588\u258e\u001b[0m \u001b[2m(2.0 CPU)\u001b[0m 4%\u001b[K" (spawn_id exp4) match glob pattern "Query was cancelled."? no
2024-06-05 16:21:22
2024-06-05 16:21:22 [KOk.
2024-06-05 16:21:22 , result:
As you can see it printed "Cancelling query" and "Ok" but not
"Query was cancelled" due to this.
[1]: https://s3.amazonaws.com/clickhouse-test-reports/61973/6cfd5b2165970a65a551117fe58e4b9d22237b8c/stateless_tests__tsan__s3_storage__[1_5].html
A bit hackish with all this bool flags, but I guess it is OK.
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2024-06-06 17:47:08 +02:00
Amos Bird
dd9b15daf5
Fix tupleConcat of two empty tuples
2024-06-06 23:43:14 +08:00
alesapin
1c3cfbcb41
Merge remote-tracking branch 'origin/master' into disable_transactions
2024-06-06 17:36:18 +02:00
Alexey Milovidov
afba7bb4ed
Merge pull request #64883 from ClickHouse/fancy-quotes-fix
...
A tiny fix for fancy quotes
2024-06-06 17:35:00 +02:00
Amos Bird
9419a25231
Trivial count optimization with primary key
2024-06-06 23:21:38 +08:00
Konstantin Morozov
05592fb5ba
additional log for cleanupDetachedTables
2024-06-06 14:27:23 +00:00
alesapin
00167da119
Disable transactions for unsupported storages even for materialized views
2024-06-06 16:27:00 +02:00
Arthur Passos
66060022a6
Merge branch 'master' into no_proxy_support
2024-06-06 11:05:37 -03:00
Raúl Marín
387869488d
Stabilize and adjust number of streams
2024-06-06 15:54:02 +02:00
Anton Popov
dbc27f0c34
fix statistics
2024-06-06 13:20:31 +00:00
Arthur Passos
001ac9f847
fix no proxy hosts for remote and list resolvers
2024-06-06 09:48:48 -03:00
Antonio Andelic
373af69c4c
Merge branch 'master' into fix-gwp-asan
2024-06-06 14:36:59 +02:00
Antonio Andelic
27fe0439fa
Merge branch 'master' into fix-global-trace-collector
2024-06-06 14:36:02 +02:00
Joshua Hildred
095508edb7
Add additional tests
2024-06-06 05:28:16 -07:00
josh-hildred
e495bf0742
Update src/Interpreters/getCustomKeyFilterForParallelReplicas.cpp
...
Co-authored-by: Antonio Andelic <antonio2368@users.noreply.github.com>
2024-06-06 05:28:16 -07:00
Joshua Hildred
0c0c6bee32
Address review comments
2024-06-06 05:28:15 -07:00
Joshua Hildred
bde8d19f45
Address review comments
2024-06-06 05:28:15 -07:00
Joshua Hildred
0302f218e4
Add additional check to ensure range is larger than the number of replicas
2024-06-06 05:28:15 -07:00
Joshua Hildred
01c7123c10
Fix issue with rational cast
2024-06-06 05:28:15 -07:00
Joshua Hildred
9ed52af56f
Add new settings to SettingsChangesHistory.h
2024-06-06 05:28:13 -07:00
Joshua Hildred
d455116b7c
fix style
2024-06-06 05:26:57 -07:00
Joshua Hildred
a7230e3c6c
Add settings to allow parallel replicas custom key
...
with range filter to use a custom range
2024-06-06 05:26:57 -07:00
Mikhail Gorshkov
f0c21da1d8
Style fixed
2024-06-06 11:06:16 +00:00
Mikhail Gorshkov
2f50e070ef
Scale argument restricted to types (U)Int8 - (U)Int64
2024-06-06 10:34:59 +00:00
János Benjamin Antal
eb724ad8c7
Merge pull request #64255 from wudidapaopao/fix_integer_accurate_cast
...
Fix unexpected accurateCast from string to integer
2024-06-06 09:53:58 +00:00
Ilya Golshtein
aefe7ffc31
time_virtual_col: slightly works
2024-06-06 09:48:32 +00:00
Ilya Golshtein
d0a2abe17b
time_virtual_col: initial
2024-06-06 09:48:32 +00:00
Igor Nikonov
47bf6bf6ac
Merge remote-tracking branch 'origin/master' into pr-plan-rewrite
2024-06-06 09:44:32 +00:00
alesapin
71f37910ba
Merge pull request #64899 from ClickHouse/revert-61973-mt/rename-without-lock
...
Revert "Reduce lock contention for MergeTree tables (by renaming parts without holding lock)"
2024-06-06 09:43:42 +00:00
alesapin
7900fe5836
Revert "Reduce lock contention for MergeTree tables (by renaming parts without holding lock)"
2024-06-06 11:36:57 +02:00
János Benjamin Antal
d74b93413d
Merge pull request #64230 from ClickHouse/const-settings-changes-history
...
Make `settings_changes_history` const
2024-06-06 09:31:25 +00:00
Antonio Andelic
fcee260b25
Update src/Interpreters/TraceCollector.h
...
Co-authored-by: alesapin <alesapin@clickhouse.com>
2024-06-06 11:22:48 +02:00
Antonio Andelic
1d3cf17053
Fix global trace collector
2024-06-06 11:18:31 +02:00
Smita Kulkarni
9ce824d41c
Addressed review comments
2024-06-06 11:04:38 +02:00
Julia Kartseva
94a8c7edb1
Merge pull request #64720 from korowa/fix-split-tokenized-indices
...
fix: function filters with token-based text indexes
2024-06-06 09:02:23 +00:00
Sergei Trifonov
feb60b566c
Merge branch 'master' into precise-memtracking
2024-06-06 10:52:28 +02:00
serxa
f9ac18d74a
better description for history of a setting changes
2024-06-06 08:16:11 +00:00
Antonio Andelic
f264c8ed59
Set default for MaxSimultaneousAllocations
2024-06-06 10:00:32 +02:00
Antonio Andelic
9b16cadbdd
Merge branch 'master' into fix-gwp-asan
2024-06-06 09:45:28 +02:00
Michael Kolupaev
fd93097130
Fix writing ORC statistics for unsigned types
2024-06-06 06:39:07 +00:00
kevinyhzou
3169217fb7
Merge branch 'master' into improve_greatest_least_nullable_type
2024-06-06 14:08:15 +08:00
Alexey Milovidov
ce244e126d
Merge pull request #61973 from azat/mt/rename-without-lock
...
Reduce lock contention for MergeTree tables (by renaming parts without holding lock)
2024-06-06 05:36:28 +02:00
Alexey Milovidov
c0a02475c1
Merge pull request #64860 from ClickHouse/settings-changes
...
Add new settings to changes history.
2024-06-06 05:30:31 +02:00