Commit Graph

63860 Commits

Author SHA1 Message Date
Alexander Gololobov
38b8edae97 Fix the case with empty temp file 2024-09-09 19:34:59 +02:00
Nikita Taranov
8cdc10cf65 fix settings changes 2024-09-09 18:11:03 +01:00
Kseniia Sumarokova
ef94d3422c
Merge pull request #69305 from ClickHouse/fix-segfault-deltalake
Add checks against segfault in DeltaLakeMetadata
2024-09-09 16:23:29 +00:00
Kruglov Pavel
804012b2e4
Merge pull request #69311 from Avogar/dynamic-primary-key
Mark Dynamic type as not safe primary key type to avoid issues with Fields
2024-09-09 15:33:48 +00:00
avogar
72dbc8205b Fix unit tests 2024-09-09 15:12:17 +00:00
Pablo Marcos
f7dee10030 Make a more assertive exception text 2024-09-09 14:38:06 +00:00
Robert Schulze
d749869f00
Merge pull request #67707 from bigo-sg/opt_array_map
Optimize function `array()` and `map()`
2024-09-09 14:37:50 +00:00
Alexander Gololobov
4da1e10ac6 Move sorting key calculation step outside the loop 2024-09-09 16:01:00 +02:00
Pablo Marcos
67b57eb89f Fix undefined behavior if all connection tries fail
For some reason, getManyCheckedForInsert was calling getManyImpl with
skip_unavailable_endpoints=nullptr, which resulted in getManyImpl using
the `skip_unavailable_shards` settings. Since this is true by default,
min_entries was set to 0.

Having min_entries set to 0 while using PoolMode::GET_ONE was strange,
to say the least. There was an edge case where if all connection
attempts failed and min_entries was 0, it was returning an empty vector.
That was not considered to be possible by the caller and it was getting
the front entry of an empty vector, causing undefined behavior.

Conclusion: set `skip_unavailable_endpoints=false` explicitly in
getManyCheckedForInsert so that min_entries=1. In case all connections
fail, an exception will be thrown. Also, add some defensive programming
to ensure we never ever try to get the front element of an empty vector.
2024-09-09 14:00:35 +00:00
Pablo Marcos
e6e79c3c4a Fix minor typos 2024-09-09 13:35:45 +00:00
Alexander Gololobov
8c1f434b1a Do column materialization using ActionsDAG::addMaterializingOutputActions instead of a special step 2024-09-09 15:31:43 +02:00
Alexander Gololobov
1bcc4ba823 Renamed ApplyMergeStep into MergePartsStep 2024-09-09 15:30:19 +02:00
Nikita Fomichev
66572aa029 Fix 24.8 setting compatibility rows_before_aggregation
https://github.com/ClickHouse/ClickHouse/pull/66084
2024-09-09 15:25:14 +02:00
Nikita Taranov
43d057ed0f impl 2024-09-09 13:04:45 +01:00
Alexander Gololobov
5a8bd5b4f5 Encapsulte and cleanup "rows_sources" temp file usage 2024-09-09 13:22:38 +02:00
Alexander Gololobov
7d042be8eb A simple interface to find temporary files by their logical names when building pipeline from query plan 2024-09-09 13:21:00 +02:00
Miсhael Stetsyuk
2364949c95
Merge pull request #69102 from ClickHouse/make-replicated-database-creation-operations-idempotent
Make `Replicated` database creation operations idempotent
2024-09-09 11:19:15 +00:00
Kruglov Pavel
7bf6bdf639
Merge pull request #69149 from Avogar/values-respect-settings
Respect format settings in Values format during conversion from expression to the destination type
2024-09-09 11:02:39 +00:00
Nikita Taranov
57e3812087
Merge pull request #68441 from jiebinn/parallelMergeWithKey
Add thread pool and cancellation to support parallel merge with key
2024-09-09 10:41:45 +00:00
Igor Nikonov
eda6dabe41 Merge remote-tracking branch 'origin/master' into pr-local-plan 2024-09-09 09:58:36 +00:00
Raúl Marín
d968de6d26
Merge pull request #66205 from alexkorep/output-format-json-compact-with-progress
JSONCompactWithProgress query output format
2024-09-09 09:30:42 +00:00
Yarik Briukhovetskyi
2c35d53bf6
Merge pull request #56738 from yariks5s/time_buckets_impl
Add time-bucket overload to function `toStartOfInterval()`
2024-09-09 09:18:35 +00:00
Mikhail Artemenko
2fe6991124 Merge branch 'master' into issues/68932/remove-recursive 2024-09-09 08:55:53 +00:00
JackyWoo
eb800d9e39 Rename statistics of type count_min to countmin 2024-09-09 11:45:39 +08:00
taiyang-li
774ec08faf fix style 2024-09-09 11:37:27 +08:00
taiyang-li
d04997bc98 Merge branch 'opt_array_map' of https://github.com/bigo-sg/ClickHouse into opt_array_map 2024-09-09 11:36:28 +08:00
taiyang-li
f1c43472d8 change as request 2024-09-09 11:35:54 +08:00
Alexey Korepanov
1eb7cdbd42 Merge branch 'master' into output-format-json-compact-with-progress 2024-09-08 17:12:51 +02:00
Robert Schulze
26f21a0d94
Merge pull request #69326 from rschu1ze/overlay-followup
Minor follow-up for #66933
2024-09-08 09:07:54 +00:00
Robert Schulze
8a87cffb82
Merge pull request #69336 from rschu1ze/fix-icu-memleak
Fix memleak in `lower/upperUTF8`
2024-09-07 15:40:01 +00:00
Igor Nikonov
f5d49f8e10
Merge branch 'master' into adaptive_parallel_replicas 2024-09-06 23:08:30 +02:00
Igor Nikonov
42d3cd2b91 Merge remote-tracking branch 'origin/master' into pr-local-plan 2024-09-06 20:10:50 +00:00
Igor Nikonov
ebd9c294aa Fix build 2024-09-06 20:09:48 +00:00
Igor Nikonov
fe5c0e127f
Merge pull request #69264 from ClickHouse/fix-pr-not-ready-set
Fix: Not-ready Set with parallel replicas
2024-09-06 18:48:02 +00:00
Igor Nikonov
b436057cba Merge remote-tracking branch 'origin/master' into pr-local-plan 2024-09-06 18:46:42 +00:00
Robert Schulze
fdf8ff0e66
Don't forget to call ucasemap_close for every ucasemap_open 2024-09-06 17:25:14 +00:00
Michael Stetsyuk
8544718d32 initialize max_log_ptr_at_creation on attach 2024-09-06 16:31:39 +00:00
Robert Schulze
a73eb1c177
Merge pull request #67013 from JackyWoo/add_statistics_minmax
Add `min_max` statistics type
2024-09-06 16:14:04 +00:00
Nikolai Kochetov
ee304c7fc3 Fix tidy 2024-09-06 16:02:47 +00:00
Michael Stetsyuk
06632b9bcd fxs 2024-09-06 15:58:46 +00:00
Yarik Briukhovetskyi
70cee20bf4
Merge branch 'ClickHouse:master' into time_buckets_impl 2024-09-06 17:57:47 +02:00
Kseniia Sumarokova
0c18c38cac
Merge branch 'master' into fix-segfault-deltalake 2024-09-06 16:57:32 +02:00
Mikhail Artemenko
81972b97e7 support test keeper 2024-09-06 13:23:57 +00:00
Robert Schulze
84a5c88b50
Minor follow-up to #66933 2024-09-06 12:39:05 +00:00
Mikhail Artemenko
068ada57ba update api 2024-09-06 12:23:57 +00:00
vdimir
1b71ad26ee
Merge pull request #69186 from ClickHouse/vdimir/client-context-race2
Fix possible timeouts in `sh` tests with tsan, att. 2
2024-09-06 11:09:24 +00:00
JackyWoo
3974e9060a Fix docs and some fixups 2024-09-06 18:50:02 +08:00
Nikolai Kochetov
fdbf8e71ab Stable explain 2024-09-06 10:30:09 +00:00
Robert Schulze
8c9cf37858
Merge pull request #69090 from ucasfl/fix-vector-index
Fix bug that vector similarity index does not work for cosine distance
2024-09-06 10:24:46 +00:00
Robert Schulze
d9d83fd56b
Merge pull request #69065 from ucasfl/vector-index
Disable alter table add vector similarity index if setting does not enabled
2024-09-06 10:11:38 +00:00
Alexander Tokmakov
e2a7a1f662
Update StackTrace.cpp 2024-09-06 12:08:14 +02:00
Yarik Briukhovetskyi
eb540da247
Merge branch 'ClickHouse:master' into time_buckets_impl 2024-09-06 11:56:22 +02:00
Mikhail Artemenko
cf0e0b766d add test for watches 2024-09-06 09:34:26 +00:00
Mikhail Artemenko
2bbe933531 fix watches logic 2024-09-06 09:33:47 +00:00
Igor Nikonov
2de3a6175a Merge remote-tracking branch 'origin/master' into fix-pr-not-ready-set 2024-09-06 08:36:04 +00:00
Mikhail Artemenko
231a7c97cc move code 2024-09-06 08:34:59 +00:00
kevinyhzou
02e129f0d1 modify test 2024-09-06 10:15:43 +08:00
kevinyhzou
f8b6025e07 rename to allow_experimental_join_right_table_sorting and modify comments 2024-09-06 09:43:32 +08:00
Mikhail Artemenko
aa2721f7e4 update tests 2024-09-06 00:09:46 +00:00
Mikhail Artemenko
cb1c11c74a change traverse 2024-09-06 00:08:08 +00:00
avogar
f22876302e Mark Dynamic type as not safe primary key type to avoid issues with Fields 2024-09-05 23:37:29 +00:00
Pablo Marcos
dde915681c
Merge pull request #69297 from pamarcos/tryresult-logical-error-trace
Improve logical error trace for TryResult
2024-09-05 20:14:47 +00:00
Alexander Gololobov
2df5edc1c1 Merge branch 'master' of github.com:ClickHouse/ClickHouse into query_plan_for_merge 2024-09-05 20:58:47 +02:00
Igor Nikonov
a2cfe62a67
Merge branch 'master' into fix-pr-not-ready-set 2024-09-05 20:40:13 +02:00
Yarik Briukhovetskyi
e799adc618
Merge branch 'ClickHouse:master' into time_buckets_impl 2024-09-05 19:57:53 +02:00
Alexander Tokmakov
c6f0e29eca
Update StackTrace.cpp 2024-09-05 18:36:13 +02:00
kssenii
364ad4315b Add checks agains segfault in DeltaLakeMetadata 2024-09-05 18:20:46 +02:00
Mikhail Artemenko
c3cc2a3fb1 intro new request type 2024-09-05 16:14:50 +00:00
Miсhael Stetsyuk
c9aedee24f
Merge branch 'master' into fix-metadata-version-in-zookeeper 2024-09-05 16:52:56 +01:00
Michael Stetsyuk
32cfdc98b2 fix metadata_version in keeper 2024-09-05 15:51:37 +00:00
Kseniia Sumarokova
6170c15c90
Merge branch 'master' into minor 2024-09-05 17:08:30 +02:00
Nikolai Kochetov
d23145fd19
Update emptyArrayToSingle.h 2024-09-05 16:59:14 +02:00
Alexander Tokmakov
b6572e36b4
Merge pull request #61987 from allmazz/feat/59376
support ATTACH PARTITION `ALL` FROM `TABLE`
2024-09-05 14:57:38 +00:00
Pablo Marcos
0996ed5246 Create a deep copy of Settings to ensure they don't change 2024-09-05 14:53:14 +00:00
Nikolai Kochetov
fb8999a885 Remove commented code. 2024-09-05 14:44:51 +00:00
Nikolai Kochetov
03ac70f988 Fising build. 2024-09-05 14:41:06 +00:00
Nikolai Kochetov
5f5acd3c44 Refactor ArrayJoin step. 2024-09-05 14:34:30 +00:00
Igor Nikonov
536e0808e3
Merge branch 'master' into pr-local-plan 2024-09-05 16:19:47 +02:00
Pablo Marcos
18a6b970eb Improve logical error trace
This will provide meaningful information whenever
the issue happens again.
2024-09-05 13:58:26 +00:00
Anton Popov
27d81fd357
Merge pull request #69256 from CurtizJ/fix-drop-cache-transactions
Fix dropping of file cache in CHECK query in case of enabled transactions
2024-09-05 13:55:30 +00:00
Igor Nikonov
3dcf87a804
Merge branch 'master' into fix-pr-not-ready-set 2024-09-05 15:32:24 +02:00
Alexander Gololobov
20eaecc4f3
Fix build 2024-09-05 13:50:26 +02:00
Alexander Gololobov
e1b2952a60
Merge branch 'master' into query_plan_for_merge 2024-09-05 13:32:12 +02:00
Mikhail Artemenko
6455e1dfa1 add ephemerals check 2024-09-05 11:14:43 +00:00
Mikhail Artemenko
ae512fe533 add test for single delete 2024-09-05 11:05:23 +00:00
Mikhail Artemenko
5180e58dca fix collector 2024-09-05 11:01:37 +00:00
Anton Popov
cf022d3a6d
Merge pull request #65832 from CurtizJ/add-mutations-snapshot
Improved getting of alter conversions for queries
2024-09-05 10:37:00 +00:00
Yarik Briukhovetskyi
ab378a0a46
Merge branch 'ClickHouse:master' into time_buckets_impl 2024-09-05 11:36:28 +02:00
avogar
b4ef10ad1c Make better 2024-09-05 08:52:22 +00:00
Anton Popov
10d2631ec9
Merge pull request #69030 from bigo-sg/improve_array_zip
Add new function arrayZipUnaligned
2024-09-05 08:05:56 +00:00
JackyWoo
431a917cda Merge branch 'master' into add_statistics_minmax 2024-09-05 15:12:00 +08:00
Julia Kartseva
39d4a7bf1e
Merge pull request #69237 from jkartseva/fix-infile-format-async-insert
Fix `INFILE` format detection for async inserts
2024-09-05 02:19:16 +00:00
Nikolay Degterinsky
d1f551e8c9
Merge pull request #69271 from ClickHouse/evillique-patch-2
Minor improvements for Lemmatizers
2024-09-04 23:33:42 +00:00
Mikhail Artemenko
c6777af485 add remove recursive support 2024-09-04 22:59:18 +00:00
János Benjamin Antal
e1b29eae17
Merge pull request #69268 from ClickHouse/revert-69076-create_as
Revert "CREATE TABLE AS copy PRIMARY KEY, ORDER BY, and similar clauses."
2024-09-04 21:09:20 +00:00
Yarik Briukhovetskyi
c997593e61
Merge branch 'ClickHouse:master' into time_buckets_impl 2024-09-04 23:08:57 +02:00
Yatsishin Ilya
ef2dd93418 crazy stuff 2024-09-04 19:43:39 +00:00
Igor Nikonov
a37b345694
Merge branch 'master' into fix-pr-not-ready-set 2024-09-04 21:36:37 +02:00
avogar
b7b88737ad Treat dynamic/object structure streams as dynamic 2024-09-04 18:37:33 +00:00
avogar
0dad8b088a Fix typo 2024-09-04 18:35:10 +00:00
avogar
68a8b5a3a1 Better 2024-09-04 18:22:20 +00:00
Nikolay Degterinsky
91447fabf7
Fix style 2024-09-04 20:17:59 +02:00
Nikolay Degterinsky
89ca1c0759
Update Lemmatizers.cpp 2024-09-04 20:08:27 +02:00
János Benjamin Antal
9b9db40a0b
Merge pull request #68935 from ClickHouse/fix-mutation-commands-parse-with-modify-column
Fix mutation commands parsing with modify column
2024-09-04 17:37:44 +00:00
Nikolay Degterinsky
c10455ca03
Minor improvements for Lemmatizers 2024-09-04 19:36:16 +02:00
avogar
4b322ee3c5 Reduce memory usage of inserts to JSON by using adaptive write buffer size 2024-09-04 17:12:17 +00:00
János Benjamin Antal
4634b83ab5
Revert "CREATE TABLE AS copy PRIMARY KEY, ORDER BY, and similar clauses." 2024-09-04 18:44:35 +02:00
Alexander Tokmakov
35ab639d1a fix 2024-09-04 18:38:32 +02:00
Alexander Tokmakov
d948de53c6
Merge pull request #68584 from baolinhuang/covered_by_broken_duplicate
Avoid detached covered-by-broken part duplicates
2024-09-04 16:06:42 +00:00
Igor Nikonov
5709dc585f Fix: Not-ready Set with parallel replicas 2024-09-04 15:09:21 +00:00
Yarik Briukhovetskyi
018a62777b
small fixes for Date32 2024-09-04 16:56:07 +02:00
Yarik Briukhovetskyi
6acb5ab5a1
add Date32 support 2024-09-04 15:52:23 +02:00
vdimir
d38551a178
resetOutput 2024-09-04 13:29:45 +00:00
taiyang-li
4bd9e10ce4 Merge branch 'improve_array_zip' of https://github.com/bigo-sg/ClickHouse into improve_array_zip 2024-09-04 21:11:11 +08:00
taiyang-li
fd05f30ee1 change as request 2024-09-04 21:10:32 +08:00
Yarik Briukhovetskyi
f497fde2ca
fix templates 2024-09-04 15:08:12 +02:00
Yarik Briukhovetskyi
945c930322
fix build 2024-09-04 14:53:19 +02:00
Yarik Briukhovetskyi
e16c85d94f
fix suggestions 2024-09-04 14:32:57 +02:00
Anton Popov
10d19b47b7 fix dropping of file cache in CHECK query in case of enabled transactions 2024-09-04 12:18:44 +00:00
Yatsishin Ilya
dff153b59e Null supports no settings 2024-09-04 11:48:22 +00:00
Anton Popov
6042637e67 fix clang-tidy 2024-09-04 11:36:16 +00:00
Kruglov Pavel
54c6aa957d
Merge pull request #67150 from Avogar/dynamic-cast-or-default
Improve castOrDefault from Variant/Dynamic columns
2024-09-04 11:27:35 +00:00
Kruglov Pavel
10893d3ea8
Merge pull request #69109 from Avogar/csv-bool-from-string
Don't infer Bool type from String in CSV when input_format_csv_try_infer_numbers_from_strings = 1
2024-09-04 11:27:21 +00:00
avogar
f926a0fff7 Fix tidy build 2024-09-04 11:25:22 +00:00
Igor Nikonov
3898f52868 Merge remote-tracking branch 'origin/master' into pr-local-plan 2024-09-04 11:15:54 +00:00
Mikhail Artemenko
6c57adee7c add remove recursive entry point 2024-09-04 10:38:03 +00:00
Igor Nikonov
042dbea094
Merge pull request #69146 from ClickHouse/pr-duplicate-announcement
Fix: parallel replicas duplicate announcement request
2024-09-04 10:27:20 +00:00
Yarik Briukhovetskyi
54bdd392ee
fix build 2024-09-04 11:50:09 +02:00
Yarik Briukhovetskyi
efdef8c186
fix build 2024-09-04 11:18:55 +02:00
Robert Schulze
2620325b30
Minor fixups + add a tests 2024-09-04 09:00:56 +00:00
Robert Schulze
c5df9f13bf
Merge remote-tracking branch 'ClickHouse/master' into fix-vector-index 2024-09-04 08:50:53 +00:00
kevinyhzou
49548ed4d5 update the description 2024-09-04 16:40:46 +08:00
Robert Schulze
0b1a0999e3
Some fixups 2024-09-04 08:40:07 +00:00
kevinyhzou
dbf6e6c85e review fix 2024-09-04 16:05:13 +08:00
Robert Schulze
0957075a94
Merge remote-tracking branch 'ClickHouse/master' into vector-index 2024-09-04 07:51:29 +00:00
János Benjamin Antal
26cb783e6f Remove unnecessary nullptr check 2024-09-04 07:44:07 +00:00
Julia Kartseva
7e03621a40 Fix INFILE file format detection for async inserts 2024-09-04 05:45:56 +00:00
Alexander Tokmakov
239cdf908b
Update src/Storages/MergeTree/MergeTreeData.cpp 2024-09-03 23:35:11 +02:00
Yarik Briukhovetskyi
de0e608919
Merge branch 'master' into time_buckets_impl 2024-09-03 23:24:14 +02:00
Alexander Tokmakov
a5a16aa7fa Merge branch 'master' into break_compatibility 2024-09-03 23:13:59 +02:00
Michael Kolupaev
7caacb7c0c Fix progress bar when reading from Memory tables 2024-09-03 20:57:36 +00:00
Igor Nikonov
fc1228e3a4 Update settings history 2024-09-03 20:45:43 +00:00
Igor Nikonov
8629f7e592
Merge branch 'master' into pr-local-plan 2024-09-03 22:43:20 +02:00
Igor Nikonov
ab317fb3ec
Merge branch 'master' into pr-duplicate-announcement 2024-09-03 21:55:17 +02:00
Arthur Passos
d9a4964cd9 Merge branch 'master' into multi_auth_methods 2024-09-03 15:01:59 -03:00
Yarik Briukhovetskyi
4fad12ecb0
rewrite the main logic 2024-09-03 19:53:28 +02:00
Kruglov Pavel
17baa4f51b
Merge pull request #68463 from Avogar/dynamic-json-distinct-aggregate-functions
Add aggregate functions distinctDynamicTypes/distinctJSONPaths/distinctJSONPathsAndTypes
2024-09-03 17:51:51 +00:00
Michael Stetsyuk
ecfe9d9782 make replicated database creation operations idempotent 2024-09-03 17:39:36 +00:00
Konstantin Bogdanov
dc0b491f11
Merge pull request #69130 from m4xxx1m/hostname-validation-config
Add validation of IP addresses and domains in settings
2024-09-03 17:09:17 +00:00
NikBarykin
83854cf293 Make method of DatabaseFactory 2024-09-03 19:13:05 +03:00
NikBarykin
e874c6e1de Fix typo 2024-09-03 18:58:39 +03:00
Raúl Marín
dd6e818c68
Merge pull request #69175 from azat/revert-client-log_comment-file
Revert "Merge pull request #57191 from azat/client-log_comment-file"
2024-09-03 15:47:54 +00:00
Alexander Gololobov
472e6eb856 typo 2024-09-03 17:16:43 +02:00
Konstantin Bogdanov
e50a8b4f61
Merge pull request #68975 from ClickHouse/fix-encoding-with-progress-headers
`Content-Encoding` was not sent on progress
2024-09-03 15:09:00 +00:00
Alexander Gololobov
8361724539 Build pipeline for next column for prefetching 2024-09-03 17:02:25 +02:00
Alexander Gololobov
e94a2875de
Merge pull request #68954 from ClickHouse/processors_profile_log_plan_step_name
Add plan_step_name and plan_step_description columns to system.processors_profile_log
2024-09-03 14:53:08 +00:00
Alexander Tokmakov
f9d7080711
Merge pull request #68896 from tuanpach/add-identifier-quoting-style-settings
Add identifier quoting style settings
2024-09-03 13:52:37 +00:00
NikBarykin
03ccf05d14 Allow custom settings in database engine 2024-09-03 16:14:15 +03:00
Alexander Gololobov
a1cec53b7c Fix updateOutputStream and Traits 2024-09-03 14:57:33 +02:00
Alexander Gololobov
6a6935cb84 Cleanup 2024-09-03 14:57:19 +02:00
Anton Popov
34c14a6493
Merge pull request #68837 from CurtizJ/fix-async-insert-alter
Fix async inserts with `ALTER ADD/MODIFY COLUMN`
2024-09-03 12:37:27 +00:00
Igor Nikonov
51eef72624
Merge branch 'master' into pr-duplicate-announcement 2024-09-03 13:31:44 +02:00
Igor Nikonov
d0d2509c69
Merge branch 'master' into pr-local-plan 2024-09-03 13:31:36 +02:00
Han Fei
1b29a89107 Merge branch 'master' into fix-typo-in-actionsdag 2024-09-03 11:29:19 +00:00
vdimir
45556278c9
Fix possible timeouts in sh tests with tsan, att. 2 2024-09-03 11:06:28 +00:00
Kruglov Pavel
cec5037c4d
Update Configuration.h 2024-09-03 12:05:26 +02:00
Kruglov Pavel
6273c7ca80
Merge pull request #69150 from Avogar/better-json-alias-check
Don't create Object type if use_json_alias_for_old_object_type=1 but allow_experimental_object_type=0
2024-09-03 09:58:23 +00:00
李扬
5832f982d6
Merge branch 'ClickHouse:master' into improve_array_zip 2024-09-03 17:48:13 +08:00
marco-vb
919f51533a Fixed style issues. 2024-09-03 09:37:03 +00:00
Raúl Marín
7ba6eff181
Merge pull request #69148 from Algunenano/rmt_retries
RMT: Do not block retries when establishing a new keeper connection
2024-09-03 09:35:16 +00:00
vdimir
5d3d2c2139
Merge pull request #66926 from ClickHouse/vdimir/multiple_joins_with_storage_join
Analyzer: Storage Join support joining with nullable columns
2024-09-03 06:59:47 +00:00
Alexander Gololobov
d28cba981c Fix clang_tidy 2024-09-03 08:59:01 +02:00
Azat Khuzhin
300d06b995 Revert "Merge pull request #57191 from azat/client-log_comment-file"
The problem with this patch is that it breaks readonly users.

There are possible other ways to fix this, but it has other downsides:
- readonly detection with getSetting - one extra query + code
  complexity, don't think that it worth it
- add is_hint for each setting (like is_important) - this will blow the
  settings structure and requires protocol changes, and even though this
  could be useful in other places, i.e. play UI, not sure that this worth
  either

So for now let's simply revert it.

This reverts commit fde14f0daf, reversing
changes made to f636dea879.
2024-09-03 08:42:14 +02:00
taiyang-li
aaf62aca73 fix uts 2024-09-03 11:59:54 +08:00
Constantine Peresypkin
ca514c6556
fix: Content-Encoding was not sent on progress
fixes: #64802
2024-09-03 02:13:23 +02:00
Konstantin Bogdanov
009cccd20a
Merge pull request #68979 from ClickHouse/put-strange-trash-back
Revert "Fix strange trash"
2024-09-02 22:07:01 +00:00
jsc0218
379d551832
Merge pull request #69076 from sakulali/create_as
CREATE TABLE AS copy PRIMARY KEY, ORDER BY, and similar clauses.
2024-09-02 20:56:58 +00:00
Alexander Gololobov
48cacd6f31 Use query plan for column vertical merges 2024-09-02 22:36:42 +02:00
Alexander Gololobov
13f4eb3fac Fix for graphite merge mode 2024-09-02 22:24:53 +02:00
Alexey Korepanov
ba9c8a1625 Merge branch 'master' into output-format-json-compact-with-progress 2024-09-02 22:22:57 +02:00
avogar
b7e1dda2e0 Remove unneded code 2024-09-02 20:13:44 +00:00
avogar
d281333db2 Better process of object storage arguments 2024-09-02 20:11:00 +00:00
m4xxx1m
37516a4cc2 Add tests 2024-09-02 22:02:24 +03:00
marco-vb
547276780c Removed unnecessary code and restored test certificates. 2024-09-02 17:14:10 +00:00
Alexander Gololobov
7e444136bb Use QueryPlan for horizontal part of merge 2024-09-02 18:27:24 +02:00
Alexander Tokmakov
d65b298268
Update src/Storages/StorageReplicatedMergeTree.cpp 2024-09-02 18:08:46 +02:00
Anton Popov
8a5454a548 slightly better 2024-09-02 15:41:35 +00:00
Anton Popov
46702f6a1e Merge remote-tracking branch 'upstream/master' into HEAD 2024-09-02 14:52:08 +00:00
Anton Popov
2e4f6f26f0 fix after merge 2024-09-02 14:26:25 +00:00
Anton Popov
71d03f58bb
Merge branch 'master' into fix-async-insert-alter 2024-09-02 16:23:15 +02:00
Sergei Trifonov
1f5082ee8a
Merge pull request #65182 from ClickHouse/s3-streams-scheduler
IO scheduling on HTTP session level
2024-09-02 14:17:58 +00:00
Igor Nikonov
d064692125 Merge remote-tracking branch 'origin/master' into pr-local-plan 2024-09-02 14:06:46 +00:00
vdimir
dfe8508a3a
Merge branch 'master' into vdimir/multiple_joins_with_storage_join 2024-09-02 16:05:13 +02:00
vdimir
cfc931160d
Merge branch 'master' into vdimir/fix_function_printf_style 2024-09-02 16:05:02 +02:00
Kruglov Pavel
218e601ef8
Better exception message 2024-09-02 15:35:56 +02:00
avogar
457db103c0 Don't create Object type if use_json_alias_for_old_object_type=1 but allow_experimental_object_type=0 2024-09-02 13:20:27 +00:00
avogar
a3522072d4 Respect format settings in Values format during conversion from expression to the destination type 2024-09-02 13:09:22 +00:00
Kruglov Pavel
0cb8c9f148
Fix typo 2024-09-02 14:58:09 +02:00
avogar
d7aaf053f9 Fix propogating structure argument in s3Cluster 2024-09-02 12:50:12 +00:00
Raúl Marín
8225acae3a RMT: Do not block retries when establishing a new keeper connection 2024-09-02 14:48:54 +02:00
Raúl Marín
b409c0657d
Merge pull request #68950 from Algunenano/anyHeavy_merge
Fix possible wrong result during anyHeavy state merge
2024-09-02 12:45:19 +00:00
Igor Nikonov
f0fa895e7c Merge remote-tracking branch 'origin/master' into pr-duplicate-announcement 2024-09-02 12:44:04 +00:00
Igor Nikonov
4b4976c9b0 Fix 2024-09-02 12:37:53 +00:00
Sergei Trifonov
64af7363c2
Merge pull request #68674 from filimonov/thread_pool_metrics
Thread pool metrics
2024-09-02 12:19:27 +00:00
Alexey Korepanov
33512a0d6e Merge branch 'master' into output-format-json-compact-with-progress 2024-09-02 13:32:52 +02:00
avogar
ed2da41a79 Merge branch 'master' of github.com:ClickHouse/ClickHouse into dynamic-json-distinct-aggregate-functions 2024-09-02 10:41:49 +00:00
avogar
3be359bf11 Merge branch 'master' of github.com:ClickHouse/ClickHouse into dynamic-cast-or-default 2024-09-02 10:21:24 +00:00
Sergei Trifonov
0f4b296295
Merge pull request #69081 from ClickHouse/fix-progress-indication-race
Fix ProgressIndication data race on `cancelQuery()`
2024-09-02 09:58:31 +00:00
Yarik Briukhovetskyi
1b67fde591
Merge pull request #67436 from iceFireser/master
Fix the problem that alter modfiy order by causes inconsistent metadata
2024-09-02 09:54:38 +00:00
Yarik Briukhovetskyi
f89290cdbf
Merge pull request #68874 from liuneng1994/support-datetrunc-on-date32
Support Date32 on dateTrunc and toStartOfInterval
2024-09-02 09:26:54 +00:00
Sergei Trifonov
579b891c57
Merge pull request #69132 from ClickHouse/serxa-patch-3
Fix locking in UserDefinedSQLObjectsZooKeeperStorage.cpp
2024-09-02 09:08:33 +00:00
Igor Nikonov
1d1f41521e
Merge branch 'master' into pr-local-plan 2024-09-02 11:07:07 +02:00
Yarik Briukhovetskyi
a1747493ac
Merge pull request #69066 from yariks5s/sandbox_
Path normalization in StorageFile
2024-09-02 08:27:41 +00:00
János Benjamin Antal
64d463bb09 Merge remote-tracking branch 'origin/master' into fix-mutation-commands-parse-with-modify-column 2024-09-02 07:50:57 +00:00
taiyang-li
450730cef8 fix failed uts 2024-09-02 12:16:41 +08:00
taiyang-li
1cd4af1564 add new function arrayZipUnaligned 2024-09-02 11:55:41 +08:00
flynn
f9538bbe49 Merge branch 'master' of github.com:ClickHouse/ClickHouse into fix-vector-index 2024-09-02 03:34:22 +00:00
Sergei Trifonov
fba6620dc4
Fix locking in UserDefinedSQLObjectsZooKeeperStorage.cpp 2024-09-01 23:43:05 +02:00
Igor Nikonov
37a9ff451e
Merge branch 'master' into lift-up-union-expr-desc 2024-09-01 17:51:09 +02:00
iceFireser
79776dbbad
Merge branch 'ClickHouse:master' into master 2024-09-01 09:34:25 +08:00
Yakov Olkhovskiy
44f76ed713
Merge pull request #69123 from wxybear/fix_explain_insert_query_multiquery_mode
Fix analyze explain ast insert query in multiquery mode
2024-08-31 21:07:43 +00:00
Yakov Olkhovskiy
b6ea3442b4
Merge pull request #69032 from alexon1234/include_real_time_execution_in_http_header
Add RealTimeMicroseconds to HTTP Header X-ClickHouse-Summary
2024-08-31 20:47:23 +00:00
wxybear
b066760a21 fix: explainedQuery nullptr && 02504_explain_ast_insert 2024-08-31 22:18:33 +08:00
serxa
c6aa12feae Merge branch 'master' into s3-streams-scheduler 2024-08-31 12:13:38 +00:00
Igor Nikonov
425a93e360 Fix 2024-08-31 12:12:32 +00:00
serxa
34d8a20307 Merge branch 'master' into fix-progress-indication-race 2024-08-31 12:12:23 +00:00
avogar
2287f280da Merge branch 'master' of github.com:ClickHouse/ClickHouse into dynamic-json-distinct-aggregate-functions 2024-08-31 11:36:23 +00:00
wxybear
c702d2581e fix: handle insert query in explain queries in multiquery mode 2024-08-31 14:50:35 +08:00
liuneng
cd1685d409 fix error message 2024-08-31 10:49:50 +08:00
liuneng
5e0000c4ca add test case and doc 2024-08-31 10:49:50 +08:00
liuneng
74f99d1f07 support datetrunc and toStartOfxxx on date32 2024-08-31 10:49:50 +08:00
Igor Nikonov
5b4b08b711 Merge remote-tracking branch 'origin/master' into pr-local-plan 2024-08-30 20:06:03 +00:00
Igor Nikonov
3c29f27dd2 Fix 03228_pr_subquery_view_order_by 2024-08-30 20:04:43 +00:00
Arthur Passos
a22f9fd91f Merge branch 'master' into multi_auth_methods 2024-08-30 16:59:40 -03:00
serxa
9f96d18060 cleanup 2024-08-30 19:33:34 +00:00
serxa
3675e83a3f Fix data race in ResourceGuard 2024-08-30 19:27:26 +00:00
serxa
30dd82324a revert wrong data race fix 2024-08-30 19:26:59 +00:00
Yakov Olkhovskiy
950ca28f53
Merge pull request #67805 from sunny19930321/feature/add-delete-from-in-partition-command
Lightweight Delete In Partition
2024-08-30 15:44:46 +00:00
Han Fei
a812cc0809
Merge pull request #69080 from hanfei1991/hanfei/fix-logical-error-async-insert-dup-offsets
fix logical error for empty async inserts
2024-08-30 15:41:25 +00:00
avogar
cf87893758 Don't infer Bool type from String in CSV when input_format_csv_try_infer_numbers_from_strings=1 2024-08-30 15:28:53 +00:00
Nikolai Kochetov
84d37c1bab
Merge pull request #69035 from VOkunev/master
Support for the Spanish language in the embedded dictionaries
2024-08-30 11:14:08 +00:00
flynn
af7adfe4b2 Remove unused code 2024-08-30 09:03:23 +00:00
flynn
c5b92413ca Fix vector similarity index does not work for cosineDistance 2024-08-30 08:28:31 +00:00
flynn
6ad8e5558a Fix typo 2024-08-30 07:25:25 +00:00
sunny19930321
6143f99f7a fix: change alter query to ternary expression 2024-08-30 15:02:09 +08:00
liuneng
f7fda2471c fix typo 2024-08-30 14:09:31 +08:00
flynn
a6fdc81bdc Merge branch 'master' of github.com:ClickHouse/ClickHouse into vector-index 2024-08-30 03:19:29 +00:00
Yarik Briukhovetskyi
69c6419f6d
Merge branch 'ClickHouse:master' into sandbox_ 2024-08-30 00:58:38 +02:00
serxa
f5a88171a6 Fix ProgressIndication data race on cancelQuery() 2024-08-29 20:37:07 +00:00
Kirill Nikiforov
563f3a4880
Merge remote-tracking branch 'origin/master' into feat/59376 2024-08-29 23:20:13 +04:00