Commit Graph

63390 Commits

Author SHA1 Message Date
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
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
Kirill Nikiforov
79c01e717f
rm comment, add docs 2024-08-29 23:15:39 +04:00
avogar
25f31f9149 Fix conversion for Dynamic, add more tests 2024-08-29 18:15:05 +00:00
Han Fei
1772a877ad fix logical error in async inserts 2024-08-29 20:10:34 +02:00
sakulali
aad57f438c CREATE TABLE AS copy PRIMARY KEY, ORDER BY, and similar clauses. 2024-08-30 00:16:10 +08:00
Anton Popov
a4ddca773b return back num_bytes 2024-08-29 16:03:41 +00:00
Anton Popov
4499f20ca8 better code in AsynchronousInsertQueue 2024-08-29 14:38:59 +00:00
Anton Popov
b3dae16fd4
Merge pull request #68951 from CurtizJ/fix-subcolumns-mv
Fix materialized views with `optimize_functions_to_subcolumns`
2024-08-29 13:41:56 +00:00
Yarik Briukhovetskyi
653b0802c0
init 2024-08-29 13:17:27 +02:00
avogar
83e75f96c8 Merge branch 'master' of github.com:ClickHouse/ClickHouse into dynamic-cast-or-default 2024-08-29 11:16:27 +00:00
Nikolai Kochetov
70ae3314c6
Merge pull request #68744 from ClickHouse/fix-grouping-sets-mergine-aggregated
Fix merging of aggregated data for grouping sets.
2024-08-29 11:02:55 +00:00
flynn
d88aa3952d Disable alter table add vector similarity index if setting does not enabled 2024-08-29 10:56:26 +00:00
baolin.hbl
7d56c8bd43 Avoid detached covered-by-broken part duplicates
Problem:
When a broken part is found during the startup, it will clone the parts which are
covered by the broken part, to the detached directory (with the 'covered-by-broken' prefix).
A part may be covered by multiple merged parts, which will result in multiple clones, which
leads to path conflicts and further attempts to clone to the try-n directory. If n exceeds 9,
the clone is abandoned and the table is marked as read-only.

pull#41981 tried fixed the problem, but the fix is incomplete. The metadata_version.txt file
is deleted during covered-by-broken clone. As a result,
looksLikeBrokenDetachedPartHasTheSameContent finds differences during part comparison.

Fix:
covered-by-broken retain metadata_version.txt file when cloning
2024-08-29 07:55:23 +00:00
Alejandro
88c99fa063 Do not depend on the response of getInfo for increasing the RealTimeMicroseconds 2024-08-29 08:43:01 +01:00
JackyWoo
a9b6c04705 Merge branch 'master' into add_statistics_minmax
# Conflicts:
#	src/Storages/Statistics/Statistics.cpp
2024-08-29 14:35:33 +08:00
Tuan Pham Anh
57ba0f0b32 format gtest_Parser.cpp 2024-08-29 00:31:33 +00:00
Alejandro
91724c29a4 Only increase if profile_counters is intialized 2024-08-28 23:26:13 +01:00
Konstantin Bogdanov
589a63a256
Merge pull request #69037 from ClickHouse/add-system-processor-to-short-fault
Add CPU arch to short fault info
2024-08-28 20:14:17 +00:00
Alejandro
100c560cb8 Added RealTimeMicroseconds event 2024-08-28 20:37:49 +01:00
Konstantin Bogdanov
30eca0f4a0
Lint harder 2024-08-28 20:59:23 +02:00
Konstantin Bogdanov
0815a85e2b
Lint 2024-08-28 20:59:22 +02:00
Konstantin Bogdanov
896b1726e7
Add a comment 2024-08-28 20:59:21 +02:00
Konstantin Bogdanov
ab567bad13
What if I just strip quotes 2024-08-28 20:59:20 +02:00
Konstantin Bogdanov
0dacd16947
Update SettingsFields.h 2024-08-28 20:59:19 +02:00
Konstantin Bogdanov
3f9f70d27d
Revert "Fix strange trash"
This reverts commit aee9612e51.
2024-08-28 20:59:17 +02:00
Konstantin Bogdanov
b6966f6c88
Use Poco 2024-08-28 18:26:26 +02:00
Konstantin Bogdanov
ca13b13d81
Add CPU arch to short fault info 2024-08-28 17:54:42 +02:00
okunev
42039331ad Support for the Spanish language in the embedded dictionaries. 2024-08-28 17:47:43 +02:00
Alejandro
41a4dd7705 Rename variable 2024-08-28 16:09:23 +01:00
avogar
0aba986372 Address review comments 2024-08-28 15:06:05 +00:00
Kruglov Pavel
a1c9cc471d
Apply suggestions from code review
Co-authored-by: János Benjamin Antal <antaljanosbenjamin@users.noreply.github.com>
2024-08-28 16:51:45 +02:00
Alejandro
644cfb27d6 Add RealTimeMicroseconds to HTTP Header X-ClickHouse-Summary 2024-08-28 15:34:34 +01:00
taiyang-li
5b3ca6b2b9 allow unsligned arrays in arrayZip 2024-08-28 22:14:43 +08:00
János Benjamin Antal
f109c141b0 Add safety check 2024-08-28 13:30:41 +00:00
János Benjamin Antal
f76e6ecdaf Make check more specific 2024-08-28 13:30:25 +00:00
János Benjamin Antal
0d463b839e Remove unused parser 2024-08-28 13:29:41 +00:00
János Benjamin Antal
a0fa693f0b Add safety assertion 2024-08-28 13:20:58 +00:00
János Benjamin Antal
3c6b2a48c3 Prevent specifying properties in MODIFY COLUMN queries when using REMOVE/RESET SETTING/MODIFY SETTING 2024-08-28 13:05:43 +00:00
Kruglov Pavel
e7d63b5f79
Merge pull request #68953 from Avogar/fix-dynamic-unitialized-value
Don't use serializations cache in const Dynamic column methods
2024-08-28 11:39:00 +00:00
Kruglov Pavel
b1e7c067c9
Merge pull request #68955 from Avogar/fix-json-type-parsing-null-as-default
Fix JSON type parsing with nulls as defaults
2024-08-28 11:38:49 +00:00
vdimir
31a376953d
Merge pull request #68644 from linkwk7/fix_full_text_with_multi_col
Fix wrong row id when using full text index with multi column
2024-08-28 11:11:37 +00:00
Kseniia Sumarokova
fd3fca9f66
Merge pull request #68901 from jrdi/system-projections
Add system.projections table
2024-08-28 09:36:23 +00:00
Robert Schulze
cbf60f83b2
Merge pull request #68822 from bigo-sg/improve_upper_lower
Speed up functions `lowerUTF8`/`upperUTF8`
2024-08-28 08:53:30 +00:00
Robert Schulze
9fb4c23c06
Merge pull request #68678 from rschu1ze/usearch-2.14
Vector similarity index: make `bf16` the default quantization
2024-08-28 08:45:02 +00:00
Tuan Pham Anh
e0b9c0f14f Remove settings update in ASTTableOverride::formatImpl 2024-08-28 03:47:27 +00:00
Kruglov Pavel
59d821e164
Merge pull request #68793 from Avogar/json-alias-runtime
Check setting use_json_alias_for_old_object_type in runtime
2024-08-27 17:10:23 +00:00
Nikolai Kochetov
a1517cb9d6 Refactor a bit and add a comment. 2024-08-27 16:56:03 +00:00
Anton Popov
f7ed0912db
Merge pull request #68741 from CurtizJ/fix-async-insert-query-params
Support query parameters in async inserts
2024-08-27 16:10:59 +00:00
Nikolai Kochetov
a7584bbb80 Remove comments. 2024-08-27 16:07:31 +00:00
Anton Popov
ac91471042 add comment 2024-08-27 16:06:12 +00:00
Nikolai Kochetov
2b495e22cd Fixing a test. 2024-08-27 15:38:52 +00:00
Nikolai Kochetov
90cc619966 Better care about grouping keys order for GROUPING SETS. 2024-08-27 15:06:43 +00:00
Tuan Pham Anh
9ae0d51613 Reformat the code, pass variable names in comments when calling 2024-08-27 15:02:02 +00:00
vdimir
bb22736bc3
Merge pull request #68867 from ucasfl/url-engine
Add virtual column _headers for url table engine
2024-08-27 13:27:19 +00:00
János Benjamin Antal
964641a28c
Merge pull request #67583 from depressed-pho/fix-fromModifiedJulianDay
Fix the upper bound of function fromModifiedJulianDay()
2024-08-27 13:20:57 +00:00
Alexander Gololobov
2a68ad8704
Fill plan_step_name and plan_step_description 2024-08-27 15:12:01 +02:00
avogar
88b72238c8 Fix JSON type parsing with nulls as defaults 2024-08-27 13:09:19 +00:00
Han Fei
a0e9412c72
Merge pull request #68499 from denis-hananein/fix-68239-sample-n
Fix 68239 sample n
2024-08-27 13:05:51 +00:00
Alexander Gololobov
cc701c92b4 Add plan_step_name and plan_step_description columns to system.processors_profile_log 2024-08-27 15:05:05 +02:00
avogar
6ee197ea59 Don't use serializations cache in const Dynamic column methods 2024-08-27 13:01:37 +00:00
iceFireser
55eb2953c7
Merge branch 'ClickHouse:master' into master 2024-08-27 20:51:47 +08:00
Anton Popov
c7d0d790e2 fix materialized views with optimize_functions_to_subcolumns 2024-08-27 12:38:37 +00:00
Daniil Ivanik
e0dc32bc61
Merge pull request #68210 from ClickHouse/divanik/add_local_and_azure_iceberg_support
Support partial Iceberg reading in azure and local storages
2024-08-27 11:52:43 +00:00
Raúl Marín
c1a83f4734 Fix possible wrong result during anyHeavy state merge 2024-08-27 13:45:25 +02:00
Alexander Tokmakov
60a0ea5746
Merge pull request #68366 from ClickHouse/check_merge_entries
Check that merge entries are valid
2024-08-27 11:17:11 +00:00
Igor Nikonov
98562b0d15
Merge pull request #67700 from ClickHouse/asan-invalid-shared-context-access
Fix(asan): access destroyed shared context from handleCrash()
2024-08-27 10:55:56 +00:00
Raúl Marín
e3ef11e505
Merge pull request #67983 from Algunenano/flaky_win_view
Fix window view missing blocks due to slow flush to view
2024-08-27 10:35:09 +00:00
Kruglov Pavel
e13e537a06
Merge pull request #68128 from RodolpheDuge/odbc_http_retry_from_configuration
odbc: get http_max_tries  from server configuration
2024-08-27 10:32:40 +00:00
János Benjamin Antal
1523df6ec3 Ignore MODIFY_COLUMN commands without column type when parsing mutation commands 2024-08-27 10:31:11 +00:00
alesapin
df44c2a4ff
Merge pull request #68897 from ClickHouse/revert-59173-fix_prewhere_without_columns
Revert "Fix prewhere without columns and without adaptive index granularity (almost w/o anything)"
2024-08-27 10:15:35 +00:00
Tuan Pham Anh
69cf54192c 1) Add tests for the identifier quoting style setting. 2) Update uni-test for table overrides 2024-08-27 09:38:21 +00:00
jsc0218
6289c65e02
Merge pull request #62364 from cangyin/fix-projection-merge
Rebuild projection for merges that reduces rows
2024-08-27 00:59:42 +00:00
jsc0218
033b9cc28c
Merge pull request #68835 from jsc0218/FixFuncTypo
Fix Function Typo
2024-08-26 21:06:07 +00:00
Jordi
c43fcce77d Fix style check 2024-08-26 20:04:19 +02:00
Alexander Tokmakov
936bbe7d0d handle trash parts correctly 2024-08-26 20:02:03 +02:00
Kseniia Sumarokova
8b2db6276c
Merge pull request #68836 from ClickHouse/fix-delta-lake-bug-in-schema-parsing
Fix complex types metadata parsing in DeltaLake
2024-08-26 17:44:22 +00:00
Jordi
cf58ce217a Add system.projections table 2024-08-26 19:20:26 +02:00
Raúl Marín
e8d9fbdd1f Merge remote-tracking branch 'blessed/master' into flaky_win_view 2024-08-26 17:49:22 +02:00
Alexander Gololobov
c27513e540
Revert "Fix prewhere without columns and without adaptive index granularity (almost w/o anything)" 2024-08-26 17:38:07 +02:00
Tuan Pham Anh
8e6de7e767 1) Fix: move new setting to 24.9 key. 2) Fix: fource quoting dictionary attribute names 2024-08-26 15:26:21 +00:00
Tuan Pham Anh
32e995acbb Update settings change history version 2024-08-26 15:26:21 +00:00
Tuan Pham Anh
e1d66b9e26 Add output_format_always_quote_identifiers into the settings 2024-08-26 15:26:21 +00:00
Tuan Pham Anh
d6ca589ebe Treat PROJECTION, DICTIONARY, COLUMN, INDEX names as identifiers when formating 2024-08-26 15:26:21 +00:00
Tuan Pham Anh
5bad631d46 Add config for outout_format_identifers_quoting_style 2024-08-26 15:26:21 +00:00
Nikolai Kochetov
9d9ef69196 Fixing check. 2024-08-26 15:21:48 +00:00
Nikolai Kochetov
5f587af078 Review fix. 2024-08-26 15:15:16 +00:00
vdimir
e7d17573e1
Add assert src/Storages/StorageURL.cpp 2024-08-26 16:55:45 +02:00
Nikolai Kochetov
42e7cc476e Fixing typos. 2024-08-26 14:48:29 +00:00
Nikolai Kochetov
77061db955 Adding comments and checks. 2024-08-26 14:37:02 +00:00
Igor Nikonov
3bdad9baa5
Merge branch 'master' into asan-invalid-shared-context-access 2024-08-26 16:20:49 +02:00
jsc0218
b381c9dd84 Merge remote-tracking branch 'upstream/master' into fix-projection-merge 2024-08-26 13:06:58 +00:00
jsc0218
2a9d61efec Merge remote-tracking branch 'origin/master' into FixFuncTypo 2024-08-26 12:56:09 +00:00
Konstantin Bogdanov
1cdccd527f
Merge pull request #68639 from m7kss1/ripedmd-160
Add RIPEMD160 function
2024-08-26 12:06:18 +00:00
Kruglov Pavel
e361417ff6
Merge pull request #68298 from Avogar/fix-nullable-schema-inference
Fix using schema_inference_make_columns_nullable=0
2024-08-26 11:52:34 +00:00
Kruglov Pavel
76493b31b6
Merge pull request #68653 from ClickHouse/Avogar-patch-6
Increase connectTimeoutMs IMDS connection timeout to 50ms to avoid failures in CI
2024-08-26 11:50:41 +00:00
Kruglov Pavel
72c3b0212d
Merge pull request #68437 from bigo-sg/devirtualize_schema_reader
Try to devirtualize format reader in RowInputFormatWithNamesAndTypes
2024-08-26 11:43:54 +00:00
vdimir
50e08ed4f4
Merge branch 'master' into fix_full_text_with_multi_col 2024-08-26 11:52:59 +02:00
divanik
3581eb34e7 Merge branch 'master' of github.com:ClickHouse/ClickHouse into divanik/add_local_and_azure_iceberg_support 2024-08-26 09:04:13 +00:00
taiyang-li
53ace69ede fix failed performance tests 2024-08-26 16:47:47 +08:00
taiyang-li
6c0102e971 fix failed uts 2024-08-26 16:28:56 +08:00
taiyang-li
9bcafbc90f improve_upper_lower 2024-08-26 10:46:18 +08:00
Nikita Mikhaylov
674cddc969
Merge pull request #68848 from amosbird/fix-68618
Fix empty tuple in array
2024-08-25 20:23:43 +00:00
Nikita Mikhaylov
49f6112e4f
Merge pull request #68866 from ClickHouse/fix-ssl-handshake-error-process
Fix ssl handshake error processing
2024-08-25 20:23:24 +00:00
Nikita Mikhaylov
5c1cfeec4c
Merge pull request #68730 from ClickHouse/replxx-custom-descriptors
Bump Replxx to support custom descriptors
2024-08-25 17:09:36 +00:00
Nikita Mikhaylov
69bb1df642 Merge branch 'master' of github.com:ClickHouse/ClickHouse into fix-68618 2024-08-25 14:24:20 +02:00
Alexey Korepanov
312d32aaf9 Fix formatting 2024-08-25 12:14:18 +02:00
Alexey Korepanov
c42815a139
Merge branch 'master' into output-format-json-compact-with-progress 2024-08-25 11:43:06 +02:00
Alexey Korepanov
0e4f2b17cc Remove unnecessary check 2024-08-25 11:38:29 +02:00
Alexey Korepanov
af3f600b5c Fix commas in the statistics section 2024-08-25 11:35:35 +02:00
Alexey Korepanov
58aab9b8c7 Remove wrong bracket in the meta section 2024-08-25 11:29:07 +02:00
Alexey Korepanov
06f0267ed1 Do not show statistics if exception happens 2024-08-25 11:27:43 +02:00
flynn
e1e692a968 Fix and update docs 2024-08-25 08:00:16 +00:00
flynn
590cf84a83 Fix conflict 2024-08-25 07:54:11 +00:00
flynn
e4aceed36a Add virtual column _headers for url table engine 2024-08-25 07:49:30 +00:00
Yakov Olkhovskiy
f7cc3e9c59
postpone SSL handshake 2024-08-25 00:13:12 -04:00
Nikita Mikhaylov
78c175225b Done 2024-08-24 16:01:03 +02:00
Han Fei
b578d1af1c
Merge pull request #68820 from hanfei1991/hanfei/fix-logical-err-stats
fix logical err of modify statistics
2024-08-24 13:39:48 +00:00
Amos Bird
e2aa953e70
Fix empty tuple in array 2024-08-24 20:45:10 +08:00
Kruglov Pavel
a34191f3b1
Merge pull request #68681 from Avogar/fix-variant-permutation
Fix ColumnVariant permutation
2024-08-24 11:56:23 +00:00
Kruglov Pavel
d477bef82d
Merge pull request #68686 from Avogar/fix-structure-comparison-json
Fix structure comparison between 2 JSON columns
2024-08-24 11:56:12 +00:00
Kruglov Pavel
293821a186
Merge pull request #68802 from Avogar/consistent-dynamic-structure
Make dynamic structure selection more consistent
2024-08-24 11:53:17 +00:00
Kruglov Pavel
906b7aebc6
Merge pull request #68824 from Avogar/fix-dynamic-subcolumns-resolutuon
Fix resolving dynamic subcolumns from subqueries in analyzer
2024-08-24 11:51:09 +00:00
iceFireser
6afe3fc500
Merge branch 'ClickHouse:master' into master 2024-08-24 17:18:54 +08:00
Han Fei
0f265ce33d address comments 2024-08-23 23:13:53 +02:00
Anton Popov
7916490afa add more cases for test 2024-08-23 20:26:31 +00:00
Alexander Tokmakov
ed5114b94c Merge branch 'master' into check_merge_entries 2024-08-23 20:06:42 +02:00
Alexander Tokmakov
d3f3bc3565
Merge pull request #68629 from ClickHouse/revert-68515-fix-01079_bad_alters_zookeeper_long
Fix test `01079_bad_alters_zookeeper_long`
2024-08-23 18:05:03 +00:00
Yarik Briukhovetskyi
55116da80d
Merge pull request #68606 from yariks5s/remove_initial_underscores_hive
Prioritizing of virtual columns in hive partitioning
2024-08-23 16:32:13 +00:00
kssenii
eb94847ed9 Fix 2024-08-23 18:14:02 +02:00
Anton Popov
7517ef4cc9 fix async insert with alter modify column 2024-08-23 16:08:04 +00:00
jsc0218
3278287779 fix 2024-08-23 15:26:45 +00:00
avogar
7aabd7d2fd Fix resolving dynamic subcolumns from subqueries in analyzer 2024-08-23 15:11:51 +00:00
taiyang-li
ab6aed6c6a merge master 2024-08-23 23:08:28 +08:00
taiyang-li
9ad7cfc71f host fix lower upper performance issue 2024-08-23 23:04:51 +08:00
Han Fei
61fa4e7a47 fix logical err of modify statistics 2024-08-23 16:38:48 +02:00
avogar
5d6b861ff0 Fix index with limit=0 2024-08-23 13:49:36 +00:00
Kruglov Pavel
2b20b2d4de
Update src/Columns/ColumnDynamic.cpp
Co-authored-by: Dmitry Novik <mrnovikd@gmail.com>
2024-08-23 15:02:43 +02:00
Kruglov Pavel
6f5210644b
Update src/Columns/ColumnObject.cpp
Co-authored-by: Alexander Gololobov <davenger@clickhouse.com>
2024-08-23 14:43:09 +02:00
Vitaly Baranov
4d5ac30a87
Merge pull request #67748 from vitlibar/fix-role-cache-expiration
Fix expiration in RoleCache
2024-08-23 12:29:56 +00:00
Kruglov Pavel
ef7970d2c3
Fix typo 2024-08-23 14:19:42 +02:00
Kruglov Pavel
1a479b43fd
Merge pull request #68688 from ClickHouse/Avogar-patch-10
Fix Upgrade Check: move some settings to 24.9 section
2024-08-23 12:17:43 +00:00
avogar
1165ae756d Make dynamic structure selection more consistent 2024-08-23 12:16:16 +00:00
iceFireser
35db026e33
Merge branch 'ClickHouse:master' into master 2024-08-23 19:08:20 +08:00
avogar
b1e0469d2b Check setting in runtime 2024-08-23 10:58:43 +00:00
Miсhael Stetsyuk
a4ee666ec5
Merge pull request #68733 from ClickHouse/write-metadata-to-disk-and-zk-in-same-format
Write metadata to disk and keeper in the same format
2024-08-23 10:51:15 +00:00
Sema Checherinda
573d83ff97
Merge pull request #68728 from ClickHouse/chesema-around-logs
fix shutdown for PeriodicLog
2024-08-23 10:34:35 +00:00
Robert Schulze
6775e60331
Merge pull request #68731 from aiven-sal/aiven-sal/fhsip2
Fix regression in `sipHash(64/128)Keyed`
2024-08-23 09:02:03 +00:00
Robert Schulze
c40c8b7adb
Enable bf16 + f64 quantization, make bf16 the default 2024-08-23 07:32:34 +00:00
iceFireser
0966072951
Merge branch 'ClickHouse:master' into master 2024-08-23 10:01:58 +08:00
Anton Popov
1aaf9a08c4 fix async inserts with alter 2024-08-22 23:25:38 +00:00
Anton Popov
012cf0763f
Merge pull request #68672 from CurtizJ/return-back-virtual-column
Return back virtual columns to distributed tables
2024-08-22 23:17:59 +00:00
Nikolai Kochetov
0e136ded28 Fixing header. 2024-08-22 19:06:04 +00:00
Nikolai Kochetov
de2f1adf91 Fix mergine of aggregated data for grouping sets. 2024-08-22 18:02:03 +00:00
Konstantin Bogdanov
2a32207e9e
fix: wrap in conditional preprocessor directives 2024-08-22 19:08:05 +02:00
Anton Popov
ad60876777 support query paramters in async inserts 2024-08-22 16:46:41 +00:00
Sema Checherinda
e7b89537bf fix style 2024-08-22 18:02:42 +02:00
Nikolay Degterinsky
1547dd2bde
Merge pull request #68645 from zghong/fix-invalid-char-in-replica_name
Fix invalid characters in replica_name
2024-08-22 15:42:39 +00:00
Sema Checherinda
859d2bfe27 move stopFlushThread to SystemLogBase 2024-08-22 17:18:06 +02:00
Michael Stetsyuk
0b9c24f31d write metadata to disk and keeper in the same format 2024-08-22 15:13:42 +00:00
Salvatore Mesoraca
1ea0163dfe Fix issue with maps with arrays as keys 2024-08-22 16:42:14 +02:00
Sema Checherinda
a9e793532a fix shutdown for PeriodicLog 2024-08-22 16:34:14 +02:00
jsc0218
216f75cd0a Merge remote-tracking branch 'upstream/master' into fix-projection-merge 2024-08-22 13:44:12 +00:00
Anton Popov
91e65feaae fix virtual columns in Merge engine 2024-08-22 13:42:30 +00:00
János Benjamin Antal
00aa60ca03
Merge pull request #65987 from ClickHouse/fix-docs-for-merge-selecting-sleep
Fix docs
2024-08-22 12:42:31 +00:00
Yarik Briukhovetskyi
7bae85ff08
Merge pull request #68534 from yariks5s/fix_functionSQLJSON
Fix `Context has expired` while executing query
2024-08-22 12:15:21 +00:00
Yarik Briukhovetskyi
e979251859
Merge pull request #68057 from yariks5s/interval_type_conversion
Implement interval data type comparison
2024-08-22 12:15:10 +00:00
Vitaly Baranov
7ef5c366e8 Fix expiration in RoleCache. 2024-08-22 13:56:55 +02:00
Robert Schulze
a1b97d7334
Merge pull request #66933 from bigo-sg/func_overlay
Add functions `overlay[UTF8]`
2024-08-22 11:50:42 +00:00
avogar
e73e8e7a08 Merge branch 'master' of github.com:ClickHouse/ClickHouse into Avogar-patch-10 2024-08-22 10:43:23 +00:00
Robert Schulze
afab4c0e43
Merge pull request #68684 from rschu1ze/better-icu-correction
Un-flake 01278_random_string_utf8
2024-08-22 10:09:03 +00:00
Robert Schulze
76c93d35d8
Merge pull request #68477 from pinsvin00/add-clear-query-cache-tag
Drop query cache by tag
2024-08-22 09:39:22 +00:00
Kruglov Pavel
d608a8a991
Merge pull request #68582 from Avogar/fix-dynamic-subcolumns-enumerate
Fix enumerating dynamic subcolumns
2024-08-22 09:34:33 +00:00
vdimir
0ef5d46582
Merge branch 'master' into fix_full_text_with_multi_col 2024-08-22 11:21:38 +02:00
taiyang-li
3ff9522b69 change as request 2024-08-22 12:49:10 +08:00
taiyang-li
9d0b3e3937 change as request 2024-08-22 11:32:59 +08:00
李扬
9a35f0bf15
Merge branch 'ClickHouse:master' into devirtualize_schema_reader 2024-08-22 10:59:31 +08:00
Konstantin Bogdanov
54caf1f84e
fix: wrap in conditional preprocessor directives 2024-08-22 01:20:46 +02:00
Kruglov Pavel
8a89cd31a1
Fix Upgrade Check: move some settings to 24.9 section 2024-08-22 00:29:32 +02:00
Yarik Briukhovetskyi
2f6ad1271c
fix tests + exception 2024-08-22 00:27:02 +02:00
Robert Schulze
dbee1542b6
It --> If 2024-08-21 23:54:19 +02:00
avogar
ca880ccdee Fix structure comparison between 2 JSON columns 2024-08-21 20:47:48 +00:00
Robert Schulze
d350f7bc1a
Improve accuracy of ICU-correcting code by 12.6% 2024-08-21 20:27:45 +00:00
avogar
38f9ef6bc9 Fix ColumnVariant permutation 2024-08-21 19:08:07 +00:00
Dergousov
74d8971432 fix: use OpenSSL RIPEMD160 impl 2024-08-21 22:06:52 +03:00
Michael Kolupaev
2e21683bed
Merge pull request #68494 from baibaichen/patch_for_68131
Repeat field is also compound types, ignore it.
2024-08-21 18:59:20 +00:00
Yarik Briukhovetskyi
b8027e5566
Merge pull request #68105 from JackyWoo/fix_msan_caused_by_incorrect_datetime_str
Fix MSAN issue caused by incorrect date format.
2024-08-21 18:06:20 +00:00
Yarik Briukhovetskyi
d34fa71ede
Merge branch 'ClickHouse:master' into fix_functionSQLJSON 2024-08-21 19:48:51 +02:00
Yarik Briukhovetskyi
0441b1c425
Merge branch 'ClickHouse:master' into interval_type_conversion 2024-08-21 19:48:21 +02:00
Yarik Briukhovetskyi
a52eff299e
fix tests 2024-08-21 19:43:45 +02:00
yariks5s
2e58ac5611 build fix 2024-08-21 16:30:42 +00:00
Mikhail Filimonov
64d4ef002d fix style 2024-08-21 18:20:05 +02:00
Pablo Marcos
4965f3403b
Merge pull request #68615 from pamarcos/secure-name-collections-storage
Add storage encryption for named collections
2024-08-21 15:21:12 +00:00
Anton Popov
e87de3cfcd return back virtual columns to distributed tables 2024-08-21 15:19:29 +00:00
Mikhail Filimonov
a66bd99d2f make jobs queue in the ThreadPool stable (i.e. FIFO for the same priority), otherwise some jobs can stay in queue untaken for a long time 2024-08-21 16:50:58 +02:00
Yarik Briukhovetskyi
5965297d8b
add accidentally removed virtual column 2024-08-21 16:35:39 +02:00
Yarik Briukhovetskyi
1afd3a7c3a
give priority to parsed columns over storage columns 2024-08-21 16:24:43 +02:00
李扬
712c9855d2
Merge branch 'ClickHouse:master' into devirtualize_schema_reader 2024-08-21 22:20:04 +08:00
Kruglov Pavel
6db7b99543
Increase connectTimeoutMs IMDS connection timeout to 50ms to avoid failures in CI 2024-08-21 15:42:46 +02:00
Kruglov Pavel
a387807c84
Fix build 2024-08-21 15:14:51 +02:00
Kruglov Pavel
aa96fd3385
Merge pull request #63798 from Blargian/variant_inference
setting to use Variant data type during schema inference
2024-08-21 13:06:00 +00:00
Kruglov Pavel
f6f62bd36f
Merge pull request #68323 from shiyer7474/fix_datetime64_const_in_subquery_distributed
Fix small value DateTime64 constant folding in nested subquery for remote
2024-08-21 12:52:38 +00:00
Alexey Milovidov
6fefc900a6
Merge pull request #68630 from rschu1ze/aiven-sal-fhsip
Fix `LOGICAL_ERROR`s with functions `sipHash(64/128)Keyed`
2024-08-21 12:48:03 +00:00
JackyWoo
d71afba234 Fix tests 2024-08-21 18:58:34 +08:00
Robert Schulze
050af403a7
Merge remote-tracking branch 'ClickHouse/master' into add-clear-query-cache-tag 2024-08-21 09:58:42 +00:00
Mikhail Filimonov
d5aec83ce7 Mark LocalThread metrics obsolete due to https://github.com/ClickHouse/ClickHouse/pull/47880 2024-08-21 11:48:04 +02:00
siyuan
f12840eb5f Fix wrong row id when using full text index with multi column 2024-08-21 15:45:58 +08:00
Zhigao Hong
e01a448bcc Fix invalid characters in replica_name 2024-08-21 15:35:33 +08:00
JackyWoo
fc704020e9 Update tests 2024-08-21 13:29:42 +08:00
JackyWoo
6fb5051237 Fix conflicts 2024-08-21 12:47:12 +08:00
JackyWoo
2502ca766f Merge branch 'master' into add_statistics_minmax
# Conflicts:
#	src/Storages/Statistics/ConditionSelectivityEstimator.cpp
#	src/Storages/Statistics/Statistics.cpp
#	src/Storages/Statistics/Statistics.h
#	src/Storages/Statistics/StatisticsCountMinSketch.cpp
#	src/Storages/Statistics/StatisticsCountMinSketch.h
#	src/Storages/Statistics/StatisticsTDigest.cpp
#	src/Storages/Statistics/StatisticsTDigest.h
#	src/Storages/Statistics/StatisticsUniq.cpp
#	src/Storages/Statistics/StatisticsUniq.h
2024-08-21 10:56:23 +08:00
Dergousov
a0d29c812c fix: cosmetic 2024-08-21 02:47:23 +03:00
Dergousov
bb2b660096 fix: cosmetic 2024-08-21 02:11:08 +03:00
Dergousov
1626589bb3 feat: add ripeMD160 support 2024-08-21 00:48:23 +03:00
Kruglov Pavel
5d280053c2
Add comment in ISerialization.h 2024-08-20 21:55:10 +02:00
Kruglov Pavel
9fd9f649db
Add comment in IDataType.cpp 2024-08-20 21:53:42 +02:00
Kruglov Pavel
054b38d4eb
Merge pull request #68451 from Avogar/check-json-regexp
Check for invalid regexp in JSON SKIP REGEXP section
2024-08-20 19:48:36 +00:00
Mikhail Filimonov
843d869631 add one more metric 2024-08-20 21:22:25 +02:00
Mikhail Filimonov
1f2f3c69b9 New metrics for ThreadPool
- Introduced performance metrics for better monitoring and troubleshooting of ThreadPool.
2024-08-20 21:22:14 +02:00
Robert Schulze
4c6f30a70d
Cosmetics 2024-08-20 18:23:28 +00:00
Alexander Tokmakov
0b68517279 skip projections 2024-08-20 20:01:35 +02:00
Salvatore Mesoraca
027f913a13
Do not check i before it gets its final value 2024-08-20 18:01:23 +00:00
Salvatore Mesoraca
ef2912b0f7
Fix old and wrong assert 2024-08-20 18:01:20 +00:00
Salvatore Mesoraca
4d0fc70227
Fix keyed hash issue with empty array/map input 2024-08-20 18:01:18 +00:00
Alexander Tokmakov
fe637452ec
Revert "Fix test 01079_bad_alters_zookeeper_long" 2024-08-20 19:54:12 +02:00
Yarik Briukhovetskyi
0d416859b4
Merge branch 'ClickHouse:master' into interval_type_conversion 2024-08-20 19:13:12 +02:00
Yarik Briukhovetskyi
087912f4f0
Merge branch 'ClickHouse:master' into fix_functionSQLJSON 2024-08-20 19:12:59 +02:00
Pablo Marcos
0091f16af9 Fix build without SSL support 2024-08-20 16:13:16 +00:00
Alexander Tokmakov
aafa504bb5 Merge branch 'master' into check_merge_entries 2024-08-20 17:51:52 +02:00
János Benjamin Antal
e547875a9c Improve wording 2024-08-20 14:03:02 +00:00
János Benjamin Antal
d10e65291c Fix docs 2024-08-20 14:03:02 +00:00
Pablo Marcos
f5a0202474 Add integration test 2024-08-20 13:40:15 +00:00