Commit Graph

68540 Commits

Author SHA1 Message Date
avogar
a755cbc987 Apply suggestion 2024-12-10 13:50:06 +00:00
Igor Nikonov
1dc6232132 Fix style check 2024-12-10 13:35:07 +00:00
Pavel Kruglov
8f0baa593b
Merge pull request #72108 from Avogar/format-inference-load
Add inferred format name to create query in File/S3/URL/HDFS/Azure engines
2024-12-10 13:14:58 +00:00
Pavel Kruglov
bba8f7e807
Merge pull request #72285 from Avogar/read-column-once-compact-subcolumns
Bring back optimization for reading subcolumns of single column in Compact parts
2024-12-10 13:08:50 +00:00
Igor Nikonov
fef67a5576 Remove parallel_replicas_single_task_marks_count_multiplier 2024-12-10 13:08:16 +00:00
avogar
427446ea96 Fix typo 2024-12-10 13:06:09 +00:00
Nikita Taranov
5ff265eea0
Merge pull request #72895 from ClickHouse/more_insistent_compress_in_memory_eng_2
Resubmit More insistent compression in StorageMemory
2024-12-10 12:55:12 +00:00
divanik
088152febd Style check 2024-12-10 12:33:36 +00:00
Igor Nikonov
af13166972 Clean up 2024-12-10 12:06:26 +00:00
Raúl Marín
efdcb59c84 Fix fast build 2024-12-10 12:54:23 +01:00
Igor Nikonov
270d8a3eaf Merge remote-tracking branch 'origin/master' into pr-3-way-joins 2024-12-10 11:25:25 +00:00
Raúl Marín
fb02bec3dc
Revert "Enable JIT compilation for more expressions" 2024-12-10 12:22:51 +01:00
divanik
05ca6d83a1 Style fix 2024-12-10 11:16:52 +00:00
divanik
72cc064547 Fix bug 2024-12-10 11:07:48 +00:00
Kseniia Sumarokova
85f86196c4
Merge pull request #72990 from jsc0218/BetterPGArrayEmptyHint
Better PG Empty Array Prompt
2024-12-10 10:51:52 +00:00
divanik
57d446ebfd Fix bug 2024-12-10 10:44:22 +00:00
divanik
05d8584966 Fix chassert 2024-12-10 10:34:36 +00:00
divanik
aa043940c7 Resolve issues 2024-12-10 10:07:14 +00:00
Nikita Taranov
201f021db1 allow with parallel_hash 2024-12-09 23:05:06 +01:00
Robert Schulze
c56ece0780
Revert "Add total_bytes_with_inactive to system.tables" 2024-12-09 22:55:34 +01:00
Nikita Taranov
05cfa49c06 stash 2024-12-09 22:42:58 +01:00
Nikita Mikhaylov
dc7bc42223 Moved some of utils to programs 2024-12-09 21:35:31 +00:00
avogar
5158fba5bb Support equal comparison for JSON column 2024-12-09 20:06:37 +00:00
jsc0218
04d59c7a7c fix 2024-12-09 19:44:59 +00:00
Igor Nikonov
bf66a07b1e Merge remote-tracking branch 'origin/master' into pr-3-way-joins 2024-12-09 19:31:04 +00:00
Igor Nikonov
d8f1f6f266 Disable FULL JOINs in n-way joins for parallel replicas 2024-12-09 19:30:18 +00:00
kssenii
43e6678212 Review fixes, fix test 2024-12-09 19:18:10 +01:00
avogar
d58dba38f7 Remove old code 2024-12-09 18:08:06 +00:00
avogar
18e8af493c Support Dynamic in functions toFloat64/touInt32/etc 2024-12-09 18:07:20 +00:00
kssenii
5e51114a6a Fix bad conflict resolution 2024-12-09 18:34:42 +01:00
Kseniia Sumarokova
d9fad57bde
Merge pull request #72947 from ClickHouse/kssenii-patch-13
Fix potential crash
2024-12-09 16:40:07 +00:00
Kseniia Sumarokova
63603cc6d7
Merge pull request #72810 from ClickHouse/disable-metadata-deletion-in-s3-queue
Better deletion of metadata in s3queue
2024-12-09 16:35:48 +00:00
divanik
27fcf30eb0 Fix clang tidy issue 2024-12-09 16:31:11 +00:00
Raúl Marín
831487fb6b Build 2024-12-09 16:51:34 +01:00
Raúl Marín
e8f9f981c2 Use absl::Mutex instead of std::shared_mutex on non-Linux OSs 2024-12-09 16:32:16 +01:00
Vitaly Baranov
8b0d29241e
Merge pull request #72834 from ClickHouse/fix-segfault-in-cascade-write-buffer
Fix segfault in CascadeWriteBuffer::getResultBuffers()
2024-12-09 15:30:06 +00:00
avogar
6da4d19fe0 Fix tests 2024-12-09 15:26:40 +00:00
Vitaly Baranov
f485723959
Merge pull request #72778 from vitlibar/use-http-header-limits-to-parse-s3-responses
Add S3 request settings http_max_fields, http_max_field_name_size, http_max_field_value_size for parsing S3 API responses
2024-12-09 15:24:25 +00:00
Igor Nikonov
0d6f9b457b Merge remote-tracking branch 'origin/master' into pr-3-way-joins 2024-12-09 14:20:40 +00:00
Nikita Taranov
646d44e30d fix comment 2024-12-09 15:14:58 +01:00
divanik
5ff54b0308 Fix ifdefs issue 2024-12-09 13:38:06 +00:00
divanik
d4bab00fcc Add data files cache 2024-12-09 13:07:15 +00:00
kssenii
bed4eaaafa Fix style check 2024-12-09 14:04:48 +01:00
divanik
0a1065ffec Merge branch 'master' of github.com:ClickHouse/ClickHouse into divanik/iceberg_metadata_big_refactoring 2024-12-09 12:38:08 +00:00
divanik
bfb1197991 Fix style check 2024-12-09 12:37:00 +00:00
divanik
adaf1b3098 Correct style 2024-12-09 12:23:21 +00:00
Kseniia Sumarokova
1475ccca26
Update MergeTreeData.cpp 2024-12-09 13:13:56 +01:00
divanik
01ddf27e0f Fix style check 2024-12-09 12:13:46 +00:00
divanik
bc93760c5a Deal with includes 2024-12-09 12:04:31 +00:00
kssenii
9256d370c8 Resolve conflicts 2024-12-09 12:48:12 +01:00
Sema Checherinda
9aebf1134a fix second case comment 2024-12-09 12:36:48 +01:00
Sema Checherinda
f334277698 fix race on getDataPartStorage().getFullPath() 2024-12-09 12:01:59 +01:00
kssenii
246f73e584 Merge remote-tracking branch 'origin/master' into rest-catalog 2024-12-09 12:00:42 +01:00
divanik
c28ae71b3f Add fast update 2024-12-09 11:00:29 +00:00
Raúl Marín
419544067f
Merge pull request #72716 from Algunenano/slow_compilation
Improve build of AggregateFunctionAvgWeighted.cpp
2024-12-09 10:54:09 +00:00
Kseniia Sumarokova
a5138c709f
Merge pull request #72884 from ClickHouse/follow-up-72858
Follow up to #72858
2024-12-09 10:49:36 +00:00
Nikolai Kochetov
663d26e475 Update SettingsChangesHistory 2024-12-09 11:19:26 +01:00
Nikolai Kochetov
702a610d2b Fixing build. 2024-12-09 10:55:01 +01:00
Nikolai Kochetov
a4042274f1 Merge branch 'master' into implement-23210 2024-12-09 09:50:19 +01:00
Dmitry Novik
2ff7bf0036
Merge pull request #72741 from Avogar/not-empty-json
Support JSON in notEmpty function
2024-12-09 08:40:28 +00:00
Vladimir Cherkasov
7003db7efd
Merge pull request #72686 from bigo-sg/enum-excep
Allow unknown values in set that are not present in Enum
2024-12-09 08:29:17 +00:00
Robert Schulze
71117fbbf3
Merge pull request #72894 from rschu1ze/docs-links
Docs: Fix data type links
2024-12-09 07:45:28 +00:00
zhanglistar
69959d1525
Merge branch 'ClickHouse:master' into enum-excep 2024-12-09 10:24:11 +08:00
Raúl Marín
e77b12325e
Merge branch 'master' into slow_compilation 2024-12-08 20:05:58 +01:00
Anton Popov
d13deb0923
Merge pull request #72891 from CurtizJ/fix-error-handling-sparse-columns
Fix parsing of incorrect data into sparse columns
2024-12-07 13:24:09 +00:00
Shichao Jin
f36eb17bf6
Merge pull request #72690 from nauu/add_totalbytes_of_inactive_parts
Add total_bytes_with_inactive to system.tables
2024-12-07 01:12:27 +00:00
pufit
1e6a0ab074
Merge pull request #72050 from ClickHouse/add-syntax-alter-user-modify-settings
Add syntax ALTER USER MODIFY SETTINGS
2024-12-06 22:32:05 +00:00
Vladimir Cherkasov
df476c2169
Merge pull request #72842 from ClickHouse/vdimir/join_choose_build_no_idx
Do not swap tables in join in case filter without index applied
2024-12-06 19:37:44 +00:00
Yarik Briukhovetskyi
d522f3f165
Merge pull request #72759 from zvonand/hotfix-72756
Fix #72756 (exception in RemoteQueryExecutor when user does not exist locally)
2024-12-06 18:40:37 +00:00
Antonio Andelic
bfe3908d49
Merge pull request #72885 from ClickHouse/cancel-sends-distributed-insert-queue
Properly cancel inserts in DistributedAsyncInsertDirectoryQueue
2024-12-06 18:37:00 +00:00
avogar
f1025ebbda Merge branch 'master' of github.com:ClickHouse/ClickHouse into not-empty-json 2024-12-06 18:32:38 +00:00
avogar
d5383d4d1b Fix build 2024-12-06 18:31:56 +00:00
avogar
71849444fc Fix tests 2024-12-06 18:11:12 +00:00
Yarik Briukhovetskyi
592c72cb3a
Merge pull request #72073 from emmanuelsdias/array-pr-auc
Create arrayPrAUC function to compute PR AUC
2024-12-06 17:15:16 +00:00
Sema Checherinda
689a154438
Revert "Revert "Revert "Revert "make d-tor Finalizer more obvious"""" 2024-12-06 18:04:01 +01:00
Sema Checherinda
bbb271a133 add pedantic check 2024-12-06 17:45:57 +01:00
kssenii
924e274cf2 Merge remote-tracking branch 'origin/master' into disable-metadata-deletion-in-s3-queue 2024-12-06 17:33:30 +01:00
kssenii
9b28d404e2 Review fixes 2024-12-06 17:31:42 +01:00
Sema Checherinda
ec70b7839d
Merge pull request #72882 from ClickHouse/revert-72654-revert-72642-revert-72395-chesema-dtor-Finalizer
Revert "Revert "Revert "make d-tor Finalizer more obvious"""
2024-12-06 16:08:22 +00:00
Sema Checherinda
ccde2a3cdd remove sendProgress call when reading data 2024-12-06 17:00:03 +01:00
Sema Checherinda
266e854560 add sendProgress between read blocks 2024-12-06 16:24:05 +01:00
divanik
09f68c1c69 Working state 2024-12-06 15:22:56 +00:00
Nikita Taranov
5a9062d120 better 2024-12-06 16:21:07 +01:00
Robert Schulze
0745342f6e
Docs: Fix data type links 2024-12-06 15:20:20 +00:00
Nikita Taranov
82da99cfd3 fix 2024-12-06 15:34:39 +01:00
Yarik Briukhovetskyi
4721890f63
Merge pull request #69880 from yariks5s/task_cancellation
Adding a proper query cancels
2024-12-06 14:22:05 +00:00
Anton Popov
94709d7a5a
Merge pull request #72854 from CurtizJ/fix-block-number-update-all
Fix update of all columns in presence of `_block_number` column
2024-12-06 13:50:28 +00:00
Yarik Briukhovetskyi
d0954e751d
Merge pull request #72540 from yariks5s/group_concat_overload
Add `groupConcat` second argument overload
2024-12-06 13:43:02 +00:00
Anton Popov
05871aa2e8 fix parsing of incorrect data into sparse columns 2024-12-06 13:34:07 +00:00
Antonio Andelic
6c6e1118c5 Better 2024-12-06 13:43:30 +01:00
Andrey Zvonov
9b0f33b897
Merge branch 'ClickHouse:master' into hotfix-72756 2024-12-06 13:43:26 +01:00
Antonio Andelic
d1a35d5b28 Properly cancel inserts in DistributedAsyncInsertDirectoryQueue 2024-12-06 13:17:58 +01:00
Nikita Taranov
f2c328aa7a Revert "Merge pull request #72836 from ClickHouse/revert-72770-more_insistent_compress_in_memory_eng"
This reverts commit f752c0b89d, reversing
changes made to 65d895a6db.
2024-12-06 13:11:00 +01:00
kssenii
044fdba251 Better 2024-12-06 12:58:49 +01:00
Sema Checherinda
3034a97631
Revert "Revert "Revert "make d-tor Finalizer more obvious""" 2024-12-06 12:52:03 +01:00
Anton Popov
aa2a74a565
Merge pull request #72818 from CurtizJ/aggregate-functions-deserialize-performance
Improve performance of deserialization of aggregate functions states and format `RowBinary`
2024-12-06 11:33:10 +00:00
kssenii
8e6dfcff74 Merge remote-tracking branch 'origin/fix-backup-resotre-of-empty-file-with-plain-rewr' into follow-up-72858 2024-12-06 11:55:58 +01:00
Kseniia Sumarokova
02f27e53f7
Merge pull request #72858 from ClickHouse/fix-backup-resotre-of-empty-file-with-plain-rewr
Fix backup/restore with plain rewritable disk in case there are empty files in backup
2024-12-06 10:53:16 +00:00
Vladimir Cherkasov
68e77f6f33
Merge pull request #72517 from erickurbanov/bsearchfunction
Add indexOfAssumeSorted Function. request #17795
2024-12-06 08:55:40 +00:00
pufit
bbbc87d354 Merge branch 'master' into add-syntax-alter-user-modify-settings
# Conflicts:
#	src/Parsers/Access/ASTCreateRoleQuery.cpp
#	src/Parsers/Access/ASTCreateSettingsProfileQuery.cpp
#	src/Parsers/Access/ASTCreateUserQuery.cpp
#	src/Parsers/Access/ASTSettingsProfileElement.cpp
#	src/Parsers/Access/ASTSettingsProfileElement.h
2024-12-05 23:24:22 -05:00
Alexander Gololobov
95a36b9312
Merge pull request #72814 from ClickHouse/cancel_marks_load
Cancel async marks load task if it hasn't started
2024-12-05 18:47:10 +00:00
Vladimir Cherkasov
4b406e6dd7
Merge branch 'master' into bsearchfunction 2024-12-05 19:31:03 +01:00
vdimir
d20af6ca9a
fix stylecheck 2024-12-05 18:29:00 +00:00
Pavel Kruglov
613bbd4019
Merge branch 'master' into format-inference-load 2024-12-05 19:25:21 +01:00
avogar
ddae5dcf6c Merge branch 'master' of github.com:ClickHouse/ClickHouse into read-column-once-compact-subcolumns 2024-12-05 18:24:39 +00:00
Pavel Kruglov
03bc631cf2
Merge pull request #72454 from Avogar/fix-empty-variant
Don't allow creating empty Variant
2024-12-05 18:21:56 +00:00
avogar
10775ef3ec Merge branch 'master' of github.com:ClickHouse/ClickHouse into not-empty-json 2024-12-05 18:21:18 +00:00
Pavel Kruglov
ad66d84136
Merge pull request #72772 from Avogar/dynamic-ifnull-coalesce
Support Dynamic type in functions ifNull and coalesce
2024-12-05 18:18:56 +00:00
kssenii
13dbd31608 Fix backup/restore of empty file 2024-12-05 19:08:38 +01:00
Raúl Marín
f75cd514ab Another missing include 2024-12-05 18:53:33 +01:00
Mikhail Artemenko
55d6a7f603
Merge pull request #72593 from azat/config-zk-sync
Ensure that ClickHouse will see ZooKeeper changes on config reloads
2024-12-05 17:44:51 +00:00
Sema Checherinda
e26fb09d00
Merge pull request #72654 from ClickHouse/revert-72642-revert-72395-chesema-dtor-Finalizer
Revert "Revert "make d-tor Finalizer more obvious""
2024-12-05 16:40:14 +00:00
Anton Popov
d14b360ceb fix update of all columns in presence of _block_number column 2024-12-05 16:38:05 +00:00
Raúl Marín
f752c0b89d
Merge pull request #72836 from ClickHouse/revert-72770-more_insistent_compress_in_memory_eng
Revert "More insistent compression in `StorageMemory`"
2024-12-05 15:40:26 +00:00
Raúl Marín
a1d119e179
Merge pull request #72812 from Algunenano/siphash
Remove more nested includes
2024-12-05 15:12:50 +00:00
Anton Popov
96bb781805 devirtualize two calls and fix UB 2024-12-05 14:58:01 +00:00
vdimir
e7177a5192
Do not swap tables in join in case filter without index applied 2024-12-05 14:51:14 +00:00
Sema Checherinda
e5c424cf5f
Merge pull request #72587 from ClickHouse/chesema-fix-cancelation
fix pipeline cancelation
2024-12-05 14:11:30 +00:00
Raúl Marín
db3be9e6ec Missing includes and notes 2024-12-05 15:03:11 +01:00
Vladimir Cherkasov
d88f39c7e9
Merge pull request #67323 from kirillgarbar/ch-disks-remove
Reduce memory usage for removeSharedRecursive operation
2024-12-05 13:58:53 +00:00
avogar
1de568d72c Fix 2024-12-05 13:34:55 +00:00
avogar
dace4f705e Merge branch 'master' of github.com:ClickHouse/ClickHouse into fix-empty-variant 2024-12-05 13:26:53 +00:00
Alexander Tokmakov
d22174e3bf
Merge pull request #72685 from ClickHouse/rdb_fix_flatten_nested
Fix flatten_nested when recovering a Replicated database
2024-12-05 13:26:50 +00:00
Pavel Kruglov
41c16b71d6
Fix build 2024-12-05 14:19:57 +01:00
Pavel Kruglov
94184a3bef
Merge pull request #71784 from Avogar/object-to-json-alter
Support ALTER from Object to JSON
2024-12-05 13:18:57 +00:00
avogar
df04a39b97 Fix private 2024-12-05 13:16:48 +00:00
Igor Nikonov
077e62bd1b Merge remote-tracking branch 'origin/master' into pr-3-way-joins 2024-12-05 12:57:48 +00:00
Alexander Tokmakov
551605a46b
Merge pull request #70476 from azat/fix-possible-intersecting-parts-in-mt
Fix possible intersecting parts for MergeTree (after moving to detached failed)
2024-12-05 12:34:27 +00:00
Igor Nikonov
55b0810d67 Finding working baseline 2024-12-05 12:21:14 +00:00
Yarik Briukhovetskyi
c23182846a
Remove templates from GroupConcatData 2024-12-05 13:15:44 +01:00
Raúl Marín
ba517d6762
Revert "More insistent compression in StorageMemory" 2024-12-05 12:47:02 +01:00
Yarik Briukhovetskyi
88beb3667d
Merge branch 'ClickHouse:master' into try_fix_duplicating_aliases 2024-12-05 12:37:59 +01:00
Vitaly Baranov
2539983728
Fix segfault in CascadeWriteBuffer::getResultBuffers() 2024-12-05 12:09:36 +01:00
Vitaly Baranov
b51df5655c
Merge pull request #70597 from bigo-sg/toUnixTimestamp-fix
Add function toUnixTimestamp64Second
2024-12-05 10:59:55 +00:00
Miсhael Stetsyuk
4346ccb434
Merge pull request #72637 from ClickHouse/startup-scripts-execution-state
add `StartupScriptsExecutionState` metric
2024-12-05 10:43:04 +00:00
Alexander Gololobov
feb2edc057 Merge branch 'master' of github.com:ClickHouse/ClickHouse into cancel_marks_load 2024-12-05 11:39:16 +01:00
Raúl Marín
b7fed584fc Missing include 2024-12-05 10:26:03 +00:00
Daniil Ivanik
9f425ebe73
Merge pull request #69445 from ClickHouse/divanik/add_schema_evolution_concise
Make simple schema evolution for Iceberg data format
2024-12-05 10:22:55 +00:00
Vladimir Cherkasov
d1aec7c4a5
Merge pull request #72732 from bigo-sg/like-enum
Support string search operator for Enum data type
2024-12-05 08:35:49 +00:00
Emmanuel Dias
6c8512f126 address comments 2024-12-05 00:10:32 -03:00
zhanglistar
f5c635df35 fix clang-tidy build 2024-12-05 10:22:06 +08:00
Anton Popov
1ca206a09b
Merge pull request #72791 from primeroz/fciocchetti-fix-azure-list-trailing-slash
Make the List Blob Azure work regardless if the endpoint has a trailing slash or not
2024-12-05 00:38:06 +00:00
Anton Popov
933418c3eb improve performance of deserialization of aggregate functions 2024-12-05 00:29:01 +00:00
Sema Checherinda
7600f6031d output format do not write to the canceled buffer 2024-12-04 23:37:11 +01:00
Kseniia Sumarokova
777b016d6a
Merge pull request #72738 from ClickHouse/s3queue-avoid-no-such-key
Fix no-such-key in s3queue in certain case
2024-12-04 22:32:37 +00:00
Igor Nikonov
23767ef709 Merge remote-tracking branch 'origin/master' into pr-3-way-joins 2024-12-04 20:13:03 +00:00
Yarik Briukhovetskyi
9290e328ef
Minor changes. 2024-12-04 20:55:02 +01:00
Raúl Marín
1ba23db27c
Merge pull request #72694 from Algunenano/settings_checks
Add MergeTreeSettings to system.settings_changes
2024-12-04 19:22:26 +00:00
Raúl Marín
4e5a67b80c Fix style 2024-12-04 19:18:13 +00:00
Alexander Gololobov
d8f395c3de Cancel async marks load task if it hasn't started 2024-12-04 20:13:46 +01:00