Commit Graph

63390 Commits

Author SHA1 Message Date
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
Robert Schulze
129d1e387e
Some fixups 2024-08-20 13:36:17 +00:00
Michal Tabaszewski
ad20d24c6e
Fixed binary-tidy complaint 2024-08-20 13:36:17 +00:00
Michal Tabaszewski
cd51535a67
Fixed style. 2024-08-20 13:36:17 +00:00
Michal Tabaszewski
4f799467ec
Added removing query cache by tag. 2024-08-20 13:36:17 +00:00
jsc0218
1c53a02e4c Merge remote-tracking branch 'upstream/master' into fix-projection-merge 2024-08-20 13:19:23 +00:00
Alexander Tokmakov
ef7c616f41
Merge pull request #68608 from ClickHouse/revert-60197-format-settings-parsing
Revert "Fix unexpected behavior with `FORMAT` and `SETTINGS` parsing"
2024-08-20 13:13:42 +00:00
Alexander Tokmakov
ee9080fba7
Revert "Fix unexpected behavior with FORMAT and SETTINGS parsing" 2024-08-20 15:11:06 +02:00
Han Fei
aa0e4beae6
Merge pull request #68321 from ClickHouse/sampling-key-race
Fix data race on SampleKey
2024-08-20 13:01:38 +00:00
Robert Schulze
c25ddba0b4
Merge pull request #68578 from rschu1ze/minor-logging-fixes
Minor logging fixes
2024-08-20 12:09:26 +00:00
Yarik Briukhovetskyi
24eeaffa7a
init 2024-08-20 14:02:09 +02:00
Robert Schulze
67344be073
Merge pull request #68523 from rschu1ze/improve_upper_lower-2
Improve compatibility of `upper/lowerUTF8` with Spark
2024-08-20 10:30:06 +00:00
avogar
a5a451efe2 Merge branch 'master' of github.com:ClickHouse/ClickHouse into dynamic-json-distinct-aggregate-functions 2024-08-20 09:57:46 +00:00
Nikolai Kochetov
696114ff1a
Merge pull request #68548 from ClickHouse/try-fix-pipeline-stuck-on-cancel
Avoid Pipeline stuck when query was cancelled by user.
2024-08-20 09:04:36 +00:00
PHO
4b05106cc4 Fix the upper bound of function fromModifiedJulianDay()
The upper bound was supposed to be 9999-12-31 but it was accidentally
set to 9999-01-01.
2024-08-20 17:49:26 +09:00
Pablo Marcos
c269e0f71c Add encrypted named collections for ZooKeeper
Consolidate the code so that Local and ZooKeeper storages
use the same logic which uses memory buffers to encrypt
and decrypt data.
2024-08-20 08:39:36 +00:00
Pablo Marcos
185038beb0 Add encrypted local named collections 2024-08-20 08:39:36 +00:00
Alexey Milovidov
af43ee8682
Merge pull request #67134 from azat/client/ignore_shell_suspend
Make C-z ignorance configurable (ignore_shell_suspend) in clickhouse-client
2024-08-20 02:31:54 +00:00
jsc0218
902e7b6f29 ignore broken proj 2024-08-19 23:58:48 +00:00
Nikolay Degterinsky
55855acfcd
Merge pull request #68577 from evillique/move-experimental-functions-application
Move enabling experimental settings to a separate file
2024-08-19 23:03:08 +00:00
avogar
bc9cac605a Fix enumerating dynamic subcolumns 2024-08-19 22:00:35 +00:00
Yarik Briukhovetskyi
9d46bb43bb
Merge branch 'ClickHouse:master' into fix_functionSQLJSON 2024-08-19 23:49:27 +02:00
Yarik Briukhovetskyi
7dc4ac915f
Merge branch 'ClickHouse:master' into interval_type_conversion 2024-08-19 23:48:46 +02:00
Han Fei
8356712a40
Merge pull request #68556 from hanfei1991/hanfei/mannwhitneyu-fix
fix bug in mann whitney u test
2024-08-19 20:32:49 +00:00
Kseniia Sumarokova
97cc2c365f
Merge pull request #68412 from ClickHouse/delete-old-named-collections-code-1
Delete old code of named collections
2024-08-19 18:36:24 +00:00
Kruglov Pavel
00a27669df
Fix builds 2024-08-19 20:22:14 +02:00
Nikolay Degterinsky
a1bec15eb7 Add style check for new allow_ settings 2024-08-19 17:59:40 +00:00
Kruglov Pavel
f49fe76532
Add missing error code 2024-08-19 19:36:00 +02:00
Kruglov Pavel
2f5fb44695
Better check and error code 2024-08-19 19:35:44 +02:00
Robert Schulze
b3c3ea45eb
Slightly better logging 2024-08-19 17:28:39 +00:00
Nikolay Degterinsky
3d567c5241 Move enabling experimental settings to a separate file 2024-08-19 17:08:46 +00:00
Yarik Briukhovetskyi
eaeebb4da1
Merge branch 'ClickHouse:master' into interval_type_conversion 2024-08-19 18:25:45 +02:00
Kruglov Pavel
64bce7afa1
Fix spaces 2024-08-19 17:22:17 +02:00
Han Fei
2c8fade3d7 fix bug in mann whitney u test 2024-08-19 17:06:24 +02:00
pufit
d4da9b8c8e
Merge pull request #66895 from MikhailBurdukov/hostresolver_opt
Allow filtering ip addresses by ip family in DNS resolver
2024-08-19 15:00:31 +00:00
Kruglov Pavel
0793585acd
Fix bad conflict resolution 2024-08-19 16:59:30 +02:00
Robert Schulze
e0f8633fbb
Merge pull request #68527 from rschu1ze/fix-build
Fix build with `-DENABLE_LIBRARIES=0`
2024-08-19 14:09:00 +00:00
Yarik Briukhovetskyi
7e2804fad5
remove const (review) 2024-08-19 15:48:27 +02:00
Yarik Briukhovetskyi
0d444e6708
review fixes 2024-08-19 15:39:24 +02:00
Nikolai Kochetov
52b156d1ba Avoid Pipeline stuck when query was cancelled by user. 2024-08-19 12:14:24 +00:00
Yarik Briukhovetskyi
c37fc005d3
init 2024-08-19 13:28:23 +02:00
Alexey Milovidov
eea07e9a7e
Merge pull request #65736 from danipozo/load-fs-metadata-asynchronously
Load filesystem cache metadata asynchronously
2024-08-19 12:54:26 +02:00
JackyWoo
38c196a834 Merge branch 'master' into fix_msan_caused_by_incorrect_datetime_str 2024-08-19 18:41:19 +08:00
Yarik Briukhovetskyi
0552a1acab
Merge branch 'ClickHouse:master' into interval_type_conversion 2024-08-19 12:35:50 +02:00
taiyang-li
29a0161cdf change as request 2024-08-19 18:25:01 +08:00
Robert Schulze
625b186b4d
Fix build with -DENABLE_LIBRARIES=0 2024-08-19 10:15:30 +00:00
Alexey Milovidov
732008f57d
Merge pull request #65362 from ClickHouse/revert-65361-revert-65164-ecs
Revert "Revert "Fix AWS ECS""
2024-08-19 11:27:26 +02:00
vdimir
e307b25664
Merge branch 'master' into vdimir/multiple_joins_with_storage_join 2024-08-19 11:06:06 +02:00
taiyang-li
845468b215
first commit 2024-08-19 07:12:44 +00:00
Azat Khuzhin
e623ad041f Make C-z ignorance configurable (ignore_shell_suspend) in clickhouse-client
C-z is extermelly useful for some users (like myself), so provide a way
to configure it in client and avoid it's ignorance in clickhouse-disks
(I hope it is OK since it is not that known utility and it does not have
it's own configuration, while cli option is useless, one should remeber
about it).

Honestly I've never seen any interactive client that forbids C-z, so
ignoring it my default looks strange to me.

Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2024-08-19 08:33:53 +02:00
Alexey Milovidov
5a6d765fa2
Merge pull request #60197 from ClickHouse/format-settings-parsing
Fix unexpected behavior with `FORMAT` and `SETTINGS` parsing
2024-08-19 05:55:25 +00:00
taiyang-li
8eb922036e change as request 2024-08-19 12:45:15 +08:00
Alexey Milovidov
285f99f719
Merge pull request #68492 from ClickHouse/pretty-print-tuples-in-create-table-statements
Pretty print tuples in CREATE TABLE statements
2024-08-19 02:26:03 +00:00
Alexey Milovidov
2863b3f519
Merge pull request #68515 from ClickHouse/fix-01079_bad_alters_zookeeper_long
Fix test `01079_bad_alters_zookeeper_long`
2024-08-19 01:54:01 +00:00
Alexey Milovidov
66ef0d8866
Merge pull request #68513 from ClickHouse/fix-race-condition-restarting-thread
Fix race condition in MergeTreeRestartingThread
2024-08-19 01:53:49 +00:00
Alexey Milovidov
fd8c99241b Merge branch 'master' into revert-65361-revert-65164-ecs 2024-08-19 01:58:04 +02:00
Alexey Milovidov
9f290927e5
Merge pull request #68476 from ClickHouse/parallel_replicas_read_task_size_overflow_bug
Add check for `min_number_of_marks = 0` in parallel replicas requests
2024-08-18 23:55:16 +00:00
Alexey Milovidov
20ebbc3b26 Merge branch 'master' into format-settings-parsing 2024-08-19 01:48:16 +02:00
Yakov Olkhovskiy
55cc858a03
Merge pull request #68378 from jetgm/view_refresh_progress
Fix Progress column value of system.view_refreshes greater than 1 #68377
2024-08-18 23:35:43 +00:00
Alexander Tokmakov
1049e36653
Update MergeList.cpp 2024-08-18 23:35:20 +02:00
Alexey Milovidov
b7f1beafe8
Merge pull request #68482 from ClickHouse/cast-proper-parsing
Proper parsing of the PostgreSQL-style CAST operator
2024-08-18 20:48:36 +00:00
Alexey Milovidov
8f2c20806a Fix test 01079_bad_alters_zookeeper_long 2024-08-18 22:45:13 +02:00
Kruglov Pavel
59664d2762
Merge pull request #68459 from ClickHouse/Avogar-patch-6
Minor update in Dynamic/JSON serializations
2024-08-18 20:38:58 +00:00
avogar
9d183b8905 Add check for loo large array size 2024-08-18 20:35:30 +00:00
Alexey Milovidov
0d40059e5c Merge branch 'master' into pretty-print-tuples-in-create-table-statements 2024-08-18 22:22:27 +02:00
Alexey Milovidov
72b7ed8fba
Merge pull request #68507 from ClickHouse/misc-66999
Miscellanous changes from #66999
2024-08-18 20:21:21 +00:00
Alexey Milovidov
a258b4fb3d Fix race condition in MergeTree restarting thread 2024-08-18 22:18:31 +02:00
Nikita Taranov
3883627aad fix 2024-08-18 20:51:40 +01:00
Nikita Taranov
683b84e6b6 fix 2024-08-18 19:37:52 +01:00
Nikita Taranov
4552be8f02 Merge branch 'master' into parallel_replicas_read_task_size_overflow_bug 2024-08-18 19:13:18 +01:00
Yakov Olkhovskiy
0c14ac782e
Merge pull request #68456 from aalexfvk/use_http_1_1_for_external_http_auth
Use HTTP/1.1 for external HTTP authentication
2024-08-18 14:36:48 +00:00
Robert Schulze
f5308635d1
Revert "Improve compatibility of upper/lowerUTF8 with Spark" 2024-08-18 15:25:07 +02:00
Robert Schulze
6cf5a7f7f8
Merge pull request #65761 from bigo-sg/improve_upper_lower
Improve compatibility of `upper/lowerUTF8` with Spark
2024-08-18 12:14:43 +00:00
Chang Chen
858f8b5020 add test and update codes per commit 2024-08-18 19:11:30 +08:00
Chang Chen
d6e170f777 repeat field is also compound types, ignore it. 2024-08-18 18:49:24 +08:00
Alexey Milovidov
3c40c17349 Merge branch 'master' of github.com:ClickHouse/ClickHouse into format-settings-parsing 2024-08-18 11:15:49 +02:00
Alexey Milovidov
ec8554c85a Fix build 2024-08-18 09:41:29 +02:00
Alexey Milovidov
2a48aaad56 Fix build 2024-08-18 09:12:49 +02:00
Alexey Milovidov
7071942858 Miscellanous changes from #66999 2024-08-18 09:05:45 +02:00
Alexey Milovidov
4e91c663a6 Fix error 2024-08-18 08:28:16 +02:00
Alexey Milovidov
03ab872f5c Fix error 2024-08-18 07:34:44 +02:00
Alexey Milovidov
487c6a097e Merge branch 'master' into revert-65361-revert-65164-ecs 2024-08-18 06:19:27 +02:00
Alexey Milovidov
db863caeb1 Merge branch 'master' into cast-proper-parsing 2024-08-18 03:12:24 +02:00
Alexey Milovidov
a36688b073 Fix error 2024-08-18 03:02:20 +02:00
Alexey Milovidov
25fe87dfc4 Merge branch 'master' into pretty-print-tuples-in-create-table-statements 2024-08-18 02:42:33 +02:00
Alexey Milovidov
526a28e9ff Merge branch 'master' of github.com:ClickHouse/ClickHouse into format-settings-parsing 2024-08-17 23:38:53 +02:00
Alexey Milovidov
5d851d718a Merge branch 'master' into misc-databases 2024-08-17 23:21:22 +02:00
Alexey Milovidov
51a6035088
Merge pull request #68490 from ClickHouse/part-of-66999-2
Miscellaneous changes from #66999 (2)
2024-08-17 20:51:48 +00:00
Denis Hananein
a8a31ed137 Add unused 2024-08-17 21:14:25 +02:00
Shaun Struwig
ae389d14ee
Fix stylecheck 2024-08-17 20:42:00 +02:00
Shaun Struwig
4a7fe42001
Merge branch 'master' into variant_inference 2024-08-17 20:20:37 +02:00
Alexey Milovidov
b9e8b15e46
Merge pull request #68486 from ClickHouse/database-overlay-more-ops
Pass-through RENAME and UUID-related operations in Overlay database to underlying databases
2024-08-17 14:31:29 +00:00
Denis Hananein
3adfea8653 Fix #68239 SAMPLE n 2024-08-17 06:06:04 +02:00
Alexey Milovidov
7a5df67b3b Fix style 2024-08-17 05:08:58 +02:00
Alexey Milovidov
02ec4e2f92 Fix build 2024-08-17 04:00:31 +02:00
Alexey Milovidov
3065b386a4 Update documentation 2024-08-17 03:49:45 +02:00
Alexey Milovidov
4b68ba23c0 Pretty print tuples in CREATE TABLE statements 2024-08-17 03:44:18 +02:00
jsc0218
3388557306
Merge branch 'master' into fix-projection-merge 2024-08-16 21:02:51 -04:00
Alexey Milovidov
e2769d4b05 Merge branch 'master' into format-settings-parsing 2024-08-17 01:45:10 +02:00
Alexey Milovidov
83608cb7bf Miscellaneous changes from #66999 (2) 2024-08-17 01:40:07 +02:00
Alexey Milovidov
142d7b1582 Miscellaneous changes in BaseDaemon 2024-08-17 01:35:49 +02:00