Commit Graph

63390 Commits

Author SHA1 Message Date
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
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
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
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
Robert Schulze
84a5c88b50
Minor follow-up to #66933 2024-09-06 12:39:05 +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
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
Igor Nikonov
2de3a6175a Merge remote-tracking branch 'origin/master' into fix-pr-not-ready-set 2024-09-06 08:36:04 +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
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
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
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
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
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
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
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
Robert Schulze
0b1a0999e3
Some fixups 2024-09-04 08:40:07 +00: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
ab317fb3ec
Merge branch 'master' into pr-duplicate-announcement 2024-09-03 21:55:17 +02: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
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
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
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
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