Commit Graph

60512 Commits

Author SHA1 Message Date
joelynch
e8d831ce90
Fix more dictGet ACL bypasses. 2024-07-11 11:48:47 +02:00
vdimir
ada95a6eaa
Merge branch 'master' into vdimir/debug_02956_rocksdb_bulk_sink 2024-07-11 11:04:46 +02:00
Igor Nikonov
2d1f45bb98 Remove redundant code 2024-07-11 08:32:00 +00:00
Ilya Golshtein
3c52651b55 s3_off_fix: initial (proper ifdef for registerStorageAzureQueue) 2024-07-11 07:37:32 +00:00
pn
3ba0344b98
Merge branch 'ClickHouse:master' into fix_64487 2024-07-11 15:35:07 +08:00
Azat Khuzhin
a9a227ddc6 Fix "Sending a batch of X files to Y (0.00 rows, 0.00 B bytes)." in case of batch restoring
Previously it was always zeros.

Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2024-07-11 08:05:17 +02:00
Alexey Milovidov
344630e5c4 Merge branch 'master' into uninteresting-changes 2024-07-11 04:58:38 +02:00
Alexey Milovidov
3c93091bd8
Merge pull request #65687 from ClickHouse/checks_for_column_type
Introduce type contract checks in `IColumn`
2024-07-10 23:40:34 +00:00
Alexey Katsman
46630ca958
Merge pull request #65335 from korowa/in-part-elimination
support set transformation in partition pruning
2024-07-10 21:53:17 +00:00
serxa
be389aa5e0 Merge branch 'master' into fix-async-loader-dtor-race 2024-07-10 18:55:23 +00:00
Nikita Mikhaylov
2d11eb7e49
Merge pull request #66289 from ClickHouse/pr-failed-to-connect
Log message: Failed to connect to replica ...
2024-07-10 17:57:07 +00:00
Raúl Marín
71afe96e0f Less deps for SettingsEnums.h 2024-07-10 19:43:50 +02:00
Raúl Marín
b08be12252 Remove dependency on SettingsFields from FormatSettings 2024-07-10 19:19:10 +02:00
Sema Checherinda
be80f4e5d0
Merge pull request #66065 from ClickHouse/chesema-faster-drop
DatabaseCatalog drops tables faster
2024-07-10 17:04:41 +00:00
Raúl Marín
d2f89a044a Reduce dependencies on CoordinationSettings.h 2024-07-10 18:20:39 +02:00
Nikita Taranov
e7d5992966
Merge pull request #64553 from nickitat/concurrent_hash_join_cache_ht_sizes
Collect hash table sizes statistics in ConcurrentHashJoin
2024-07-10 16:11:27 +00:00
Raúl Marín
314174013b Reduce dependencies on ServerSettings.h 2024-07-10 18:10:19 +02:00
Nikolai Kochetov
04e83de877
Merge pull request #66261 from ClickHouse/not-ready-set-constraints
Fixing Not-ready set in constraint.
2024-07-10 15:47:39 +00:00
chloro
1846705497 fix the bug that LogicalExpressionOptimizerPass lost logical type of constant 2024-07-10 21:38:47 +08:00
jsc0218
b0580eb575
Merge pull request #66239 from azat/processors_profile_log-fixes
Reduce inaccuracy of input_wait_elapsed_us/input_wait_elapsed_us/elapsed_us
2024-07-10 13:37:53 +00:00
MikhailBurdukov
743fccbac4
Merge branch 'master' into ignore_on_cluster_named_collection 2024-07-10 15:48:18 +03:00
Kruglov Pavel
3c4e5df3a9
Merge branch 'master' into refactor-json-extract 2024-07-10 14:20:25 +02:00
Nikita Taranov
6ffac4034a
Enable checks in assert_cast under sanitizers 2024-07-10 14:20:12 +02:00
Sema Checherinda
bde1d2fe92 less noisy logs 2024-07-10 13:48:52 +02:00
Sema Checherinda
bd62fecd31 avoid lock-order-inversion 2024-07-10 13:47:58 +02:00
Sema Checherinda
eb59f1c66d Merge branch 'master' into chesema-faster-drop 2024-07-10 13:47:06 +02:00
Aleksei Filatov
678c472236 Close log files in watchdog 2024-07-10 14:42:13 +03:00
Antonio Andelic
65dc1c8515
Merge pull request #66124 from ClickHouse/keeper-correct-log-long-total
Correctly print long processing requests in Keeper
2024-07-10 11:34:28 +00:00
Sema Checherinda
63b9f28df9 Merge branch 'master' into chesema-faster-drop 2024-07-10 13:29:31 +02:00
Kruglov Pavel
6a9e2d9e82
Merge pull request #65980 from Avogar/add-missing-settings-in-schema-cache
Add missing settings in schema inference cache
2024-07-10 10:15:22 +00:00
avogar
dc7afe9af1 Merge branch 'master' of github.com:ClickHouse/ClickHouse into fix-dynamic-subcolumns-in-analyzer 2024-07-10 10:13:58 +00:00
avogar
a32795d116 Fix review comments 2024-07-10 10:07:02 +00:00
Dmitry Novik
60305e47dc
Merge pull request #66232 from ClickHouse/postgresql-configurable-settings
Add settings to control connection to PostgreSQL
2024-07-10 09:22:38 +00:00
Kruglov Pavel
52690b64c6
Merge pull request #65546 from Avogar/data-types-binary-encoding
Implement binary encoding for ClickHouse data types
2024-07-10 09:13:32 +00:00
Konstantin Morozov
b47fbbb81a Merge branch 'master' into add_system_detach_tables 2024-07-10 08:59:11 +00:00
Igor Nikonov
cc22153374 Merge remote-tracking branch 'origin/master' into pr-failed-to-connect 2024-07-10 08:57:28 +00:00
Nikita Mikhaylov
19ab113482
Merge pull request #66293 from ClickHouse/misc-changed-for-llvm-18
Miscellaneous changes for LLVM 18
2024-07-10 08:53:10 +00:00
MikhailBurdukov
9876fa607d
Merge branch 'master' into ignore_on_cluster_named_collection 2024-07-10 11:08:58 +03:00
MikhailBurdukov
bc02d8e66e Fix settings changelog 2024-07-10 08:01:36 +00:00
Nikita Taranov
d555a452dc
Merge pull request #65417 from ClickHouse/parallel_replicas_join_bug
Dodging reading from wrong table with parallel replicas
2024-07-10 03:21:16 +00:00
Alexander Tokmakov
27738747e0 save fatal logs to file 2024-07-10 00:28:26 +02:00
Vitaly Baranov
b53e58c501 Fix error reporting while copying to S3. 2024-07-09 22:50:21 +02:00
Alexander Tokmakov
9171092834 Merge branch 'master' into signal_handlers_in_client 2024-07-09 22:46:27 +02:00
Sema Checherinda
65bdf3bccc
Update src/Interpreters/DatabaseCatalog.cpp 2024-07-09 22:36:36 +02:00
Nikita Mikhaylov
8bb48fa902 Correct comment for std::countr_zero 2024-07-09 20:24:16 +00:00
Nikita Mikhaylov
ab70de1dc9 Delete unneeded changes
(cherry picked from commit e28e83673d975f00b6df4c0d2a61e8015b2d434b)
2024-07-09 20:17:01 +00:00
Nikita Mikhaylov
7ff447de68 Modify the code for build with new libcxx
(cherry picked from commit c896f0bf677bcc948d988cf83b2108e9f7cd761d)
2024-07-09 20:16:43 +00:00
vdimir
ffa7443c77
Merge pull request #65835 from ClickHouse/vdimir/join_on_null_fix
Better handling of join conditions involving IS NULL checks
2024-07-09 20:11:30 +00:00
Igor Nikonov
beca3b9834 Proper placing for DistributedConnectionFailTry
+ better logs
2024-07-09 19:31:33 +00:00
Konstantin Bogdanov
5356eca075
Merge pull request #66073 from ClickHouse/jwt-client-fixes
Minor JWT client fixes
2024-07-09 19:29:28 +00:00
Igor Nikonov
1e72335030 Failed to connect to replica log message 2024-07-09 17:53:34 +00:00
Raúl Marín
a339dd020f Reduce dependencies on MergeTreeSettings.h 2024-07-09 19:39:41 +02:00
MikhailBurdukov
9fc557ad65 Ignore ON CLUSTER clause in queries for management of replicated named collections 2024-07-09 17:36:09 +00:00
Kseniia Sumarokova
b4f59b96c2
Update IStorageDataLake.h 2024-07-09 19:30:15 +02:00
Alexander Tokmakov
44dc820751
Merge pull request #66019 from Gun9niR/dir-path-wildcard
Implicitly append wildcard if querying directory in file engine
2024-07-09 16:27:18 +00:00
Sema Checherinda
b539d999cd limit the logs about rescheduling 2024-07-09 17:12:55 +02:00
Kruglov Pavel
26dc841973
Merge branch 'master' into data-types-binary-encoding 2024-07-09 17:01:51 +02:00
kssenii
8a202d91ad Properly read schema and partition columns from checkpoint file 2024-07-09 16:30:39 +02:00
Konstantin Morozov
7bd6dfaf01 Merge branch 'master' into add_system_detach_tables 2024-07-09 13:56:19 +00:00
Alexander Tokmakov
9b41fd0cf0 Merge branch 'master' into tavplubix-patch-10 2024-07-09 15:35:34 +02:00
Anton Popov
597a72fd9a
Merge pull request #65840 from gabrielmcg44/fix-tie-handling-issue
[arrayAUC] Fix tie handling issue
2024-07-09 13:32:14 +00:00
János Benjamin Antal
61f827b569
Update src/Databases/DatabaseAtomic.cpp 2024-07-09 15:26:33 +02:00
Kruglov Pavel
6baa52d101
Fix null insertion into dynamic column 2024-07-09 14:01:28 +02:00
Nikolai Kochetov
0174a43d17 Fixing Not-ready set in constraint. 2024-07-09 11:54:21 +00:00
Alexander Tokmakov
6c817fdc17
Merge pull request #66218 from ClickHouse/fix_none_only_active
Don't throw TIMEOUT_EXCEEDED for none_only_active
2024-07-09 11:32:15 +00:00
Dmitry Novik
58eb57dffb Add settings to control connection to PostgreSQL 2024-07-09 13:15:50 +02:00
Nikita Taranov
c3c5778384
Merge branch 'master' into concurrent_hash_join_cache_ht_sizes 2024-07-09 13:14:39 +02:00
Vitaly Baranov
34516c1b3a
Merge pull request #54881 from amosbird/named-tuple
Extend function tuple to return named tuple and add function tupleNames
2024-07-09 11:10:21 +00:00
Sema Checherinda
751ee04e75 fix tidy build, canonize 01275_parallel_mv.reference 2024-07-09 13:10:04 +02:00
Nikolai Kochetov
ad798196e9
Merge pull request #65919 from kitaisreal/postgresql-source-cancel-query-comments
PostgreSQL source cancel query comments
2024-07-09 11:07:33 +00:00
vdimir
306cc02af6
Merge branch 'master' into vdimir/join_on_null_fix 2024-07-09 12:56:50 +02:00
vdimir
6a069e82d9
Merge branch 'master' into vdimir/debug_02956_rocksdb_bulk_sink 2024-07-09 10:47:07 +00:00
Sema Checherinda
186e690fa6
Merge pull request #66230 from ClickHouse/chesema-peak-threads-usage
fix peak_threads_usage
2024-07-09 10:32:30 +00:00
Kruglov Pavel
f3bfe8d881
Merge branch 'master' into data-types-binary-encoding 2024-07-09 12:27:06 +02:00
Robert Schulze
2fc4247d62
Merge remote-tracking branch 'ClickHouse/master' into change_date 2024-07-09 10:25:48 +00:00
Anton Popov
e29635da27
Merge pull request #64607 from CurtizJ/buffer-read-in-order
Use buffering while reading in order in queries with `WHERE`
2024-07-09 10:14:52 +00:00
Kruglov Pavel
9153e65456
Remove unneded include 2024-07-09 10:15:41 +02:00
Kruglov Pavel
aaf5412c71
Merge pull request #66025 from KevinyhZou/support_orc_reader_timezone
Support ORC file read by writer time zone
2024-07-09 08:00:20 +00:00
Kruglov Pavel
329f9b5d8e
Merge pull request #54649 from bakwc/materializedmysql_null_segfault
Fixed crash in MaterializedMySQL while using override + null field
2024-07-09 07:55:28 +00:00
gun9nir
08baf13f33 Merge branch 'master' of github.com:ClickHouse/ClickHouse into dir-path-wildcard 2024-07-08 19:47:20 -07:00
nauu
595a12ee88 to avoid ambiguity, replace FilesystemCacheFailToReserveSpaceBecauseOfLockContention with FilesystemCacheFailToReserveSpaceBecauseOfCacheResize.
to avoid ambiguity, replace FilesystemCacheFailToReserveSpaceBecauseOfLockContention with FilesystemCacheResize.
2024-07-09 10:07:20 +08:00
Anton Popov
a072cd28e4 Merge remote-tracking branch 'upstream/master' into HEAD 2024-07-08 23:26:19 +00:00
Alexander Tokmakov
be343c7ddd don't throw TIMEOUT_EXCEEDED for none_only_active 2024-07-09 00:31:31 +02:00
Nikita Taranov
2c3a8e21fe
Merge pull request #66138 from ClickHouse/fix_smt_sink
Finalize MergedBlockOutputStream in dtor
2024-07-08 22:26:16 +00:00
Nikita Taranov
a9546fe551
Merge pull request #66147 from ClickHouse/fix_mac_build
Playing minesweeper with build system
2024-07-08 22:05:17 +00:00
Robert Schulze
429eed31f1
Merge pull request #66185 from rschu1ze/faster_regexp
Speed up `replaceRegexp(All|One)` if the pattern is trivial
2024-07-08 21:15:01 +00:00
Vitaly Baranov
6d0bf97476
Merge pull request #66067 from vitlibar/move-http-handler-stuff-to-separate-files
Move some of HTTPHandler stuff to separate source files in order to reuse it in PrometheusRequestHandler
2024-07-08 21:03:22 +00:00
Robert Schulze
7f30508559
Merge remote-tracking branch 'ClickHouse/master' into docs_partitionID 2024-07-08 20:08:05 +00:00
Robert Schulze
db1817a633
Some minor fixups 2024-07-08 20:04:45 +00:00
Anton Popov
9c071fc0df slightly better 2024-07-08 19:28:17 +00:00
Sema Checherinda
898260c45c fix style 2024-07-08 21:16:05 +02:00
Sema Checherinda
5b9c74b4b8 fix tests, lesser logs 2024-07-08 21:13:30 +02:00
Robert Schulze
a6c1477ece
Merge remote-tracking branch 'ClickHouse/master' into change_date 2024-07-08 17:50:30 +00:00
Nikita Taranov
1e48831d76 better 2024-07-08 18:21:06 +01:00
Azat Khuzhin
8550e64352 Fix type of input_wait_elapsed_us/input_wait_elapsed_us/elapsed_us (was UInt32)
Even though type in the system.processors_profile_log is UInt64,
intermediate type was UInt32 (sigh).

Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2024-07-08 19:08:14 +02:00
Azat Khuzhin
bb4115b4e6 Reduce inaccuracy of input_wait_elapsed_us/input_wait_elapsed_us/elapsed_us
By collecting them with nanoseconds precision, and only store them in
system.processors_profile_log in microseconds.

This should fix 02210_processors_profile_log test failures like this one [1]:

    ExpressionTransform	999989	1	1	1	1

When the total elapsed_us is less then 1 second.

  [1]: https://s3.amazonaws.com/clickhouse-test-reports/65920/ce417c78be566d8a616df3544e2801b845277f44/stateless_tests__release__old_analyzer__s3__databasereplicated__[1_4].html

Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2024-07-08 19:08:07 +02:00
Sema Checherinda
b4e9e410e3 fix peak_threads_usage 2024-07-08 19:02:22 +02:00
Sema Checherinda
f371daa7a7 Merge branch 'master' into revert-66134-revert-61601-chesema-dedup-matview 2024-07-08 18:56:36 +02:00
Nikita Taranov
b3993532a9 compareAt 2024-07-08 17:17:39 +01:00
Nikita Taranov
1b45ac30a2 insertFrom 2024-07-08 17:14:25 +01:00
Mikhail Filimonov
7cf38826af Fix detection of number of CPUs in containers
In the case when the 'parent' cgroup was used (i.e. name of cgroup was empty, which is common for containers)
ClickHouse was ignoring the CPU limits set for the container.
2024-07-08 18:12:34 +02:00
Sema Checherinda
8035582169 adjust test 01275_parallel_mv 2024-07-08 18:09:30 +02:00
Nikita Taranov
3be0ab5c4b insertManyFrom 2024-07-08 17:05:55 +01:00
Amos Bird
3c0ccb0e29
Use a better placeholder name 2024-07-09 00:04:45 +08:00
Nikita Taranov
24dc3b4020 insertRangeFrom 2024-07-08 16:57:00 +01:00
Azat Khuzhin
9ba10ca604 Remove mysqlxx::Pool::Entry assignment operator
v2: fix tidy 86789491be/binary_tidy/build_log.log
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2024-07-08 17:46:41 +02:00
Konstantin Bogdanov
d320f0f3f2
Typo 2024-07-08 17:29:38 +02:00
Yakov Olkhovskiy
55ccad507b
Merge pull request #65573 from ClickHouse/fix-projection-not-found-col
Fix: NOT_FOUND_COLUMN_IN_BLOCK for deduplicate merge of projection
2024-07-08 15:01:25 +00:00
Nikita Taranov
7dc3ae381f better 2024-07-08 15:51:13 +01:00
Nikita Taranov
55f363d5f0 better 2024-07-08 15:51:13 +01:00
Nikita Taranov
f972e80589 fix 2024-07-08 15:51:13 +01:00
Nikita Taranov
286f2abca2 try fix 2024-07-08 15:51:13 +01:00
Nikita Taranov
2302fcf9ac fix build 2024-07-08 15:51:13 +01:00
Nikita Taranov
dd1b85e63d add type check 2024-07-08 15:51:13 +01:00
Nikita Taranov
93d0f7a485 refactor 2024-07-08 15:51:12 +01:00
avogar
6b446ad31b Merge branch 'master' of github.com:ClickHouse/ClickHouse into fix-dynamic-subcolumns-in-analyzer 2024-07-08 14:36:07 +00:00
vdimir
811cba0557
Merge branch 'master' into vdimir/join_on_null_fix 2024-07-08 16:12:37 +02:00
Kruglov Pavel
822918a30f
Merge pull request #65640 from ClickHouse/ms
Fix 02834_apache_arrow_abort flakiness with MSAN
2024-07-08 13:46:55 +00:00
Sema Checherinda
c5eebf3b9e fix getTablesToDrop 2024-07-08 15:23:52 +02:00
Sema Checherinda
8781dea33f Merge branch 'master' into chesema-faster-drop 2024-07-08 15:17:23 +02:00
Sema Checherinda
da5bde7f3a fix peak_threads_usage 2024-07-08 15:00:23 +02:00
Nikita Taranov
f0bee6584f
Merge branch 'master' into parallel_replicas_join_bug 2024-07-08 14:29:53 +02:00
Blargian
c3b72386a2 remove partitionID function, update tests and remove from documentation 2024-07-08 14:14:13 +02:00
Antonio Andelic
b944dfff83
Merge pull request #65453 from ClickHouse/merge-tree-parallel-replicas-custom-key
Support for `cluster_for_parallel_replicas` when using custom key parallel replicas
2024-07-08 11:34:37 +00:00
Nikita Taranov
fd3b809436
Merge branch 'master' into concurrent_hash_join_cache_ht_sizes 2024-07-08 13:34:23 +02:00
Raúl Marín
a3d53dc627
Merge pull request #66146 from Algunenano/SumIfToCountIfAgainYaySoHappy
Fix issue in SumIfToCountIfVisitor and signed integers
2024-07-08 11:15:30 +00:00
Raúl Marín
dfcefab9ab
Merge pull request #66030 from Algunenano/exp_settings
Move experimental settings to the experimental block
2024-07-08 11:13:23 +00:00
Vitaly Baranov
5ac5a4b2fe Add check that user name is not empty to authenticateUserByHTTP(). 2024-07-08 13:05:34 +02:00
Sema Checherinda
db53c2c5f7 remove iterator from queue after removing table 2024-07-08 12:39:58 +02:00
vdimir
6d71f015c3
Merge branch 'master' into vdimir/debug_02956_rocksdb_bulk_sink 2024-07-08 12:36:54 +02:00
Anton Popov
1921a2d4ee Merge remote-tracking branch 'upstream/master' into HEAD 2024-07-08 10:00:53 +00:00
Han Fei
c8e9c7f3c7
Merge pull request #66206 from rschu1ze/fix-typo
Fix typo `KeeperOutstandingRequets` --> `KeeperOutstandingRequests`
2024-07-08 09:36:34 +00:00
kssenii
9b1003527d Fix the order 2024-07-08 11:34:39 +02:00
Daniil Ivanik
d00b12d0a9
Merge pull request #64446 from divanik/divanik/fix_clickhouse_disks_2
Interactive client for clickhouse-disks
2024-07-08 09:00:15 +00:00
Antonio Andelic
b04f210dec Merge branch 'master' into keeper-correct-log-long-total 2024-07-08 10:05:09 +02:00
vdimir
27d6b34877
Merge branch 'master' into fix_unexpected_cte_projection_name 2024-07-08 09:53:43 +02:00
Eduard Karacharov
b2306fc67a process sets and scalars by same functions 2024-07-08 10:48:45 +03:00
Eduard Karacharov
e0d3213481 support set transformation in partition pruning 2024-07-08 10:48:45 +03:00
Anton Popov
b5a3beffbb
Merge pull request #66088 from CurtizJ/fix-has-map-subcolumn
Fix function `has` with `LowCardinality` and `FixedString`
2024-07-08 07:46:37 +00:00
Robert Schulze
3fa1fd321f
Fix typo 2024-07-08 07:38:07 +00:00
Antonio Andelic
e0fd83be4f Merge branch 'master' into merge-tree-parallel-replicas-custom-key 2024-07-08 08:51:59 +02:00
gun9nir
e16cb83ca3 style 2024-07-07 19:24:29 -07:00
Nikita Mikhaylov
7b712918ed
Merge pull request #66126 from ClickHouse/disable-merge-filters-by-default
Disable merge filters optimization by default.
2024-07-07 21:39:01 +00:00
pufit
f22f71a09d
Merge pull request #64889 from ClickHouse/pufit/startup-scripts
Startup scripts
2024-07-07 20:34:38 +00:00
Amos Bird
7e20f26735
Extend tuple() and add tupleNames() 2024-07-08 01:29:58 +08:00
Nikita Taranov
8a7dfa7f70
Merge branch 'master' into fix_smt_sink 2024-07-07 17:13:15 +02:00
Alexey Milovidov
29affadfb6
Merge pull request #66178 from Avogar/variant-dynamic-null-subcolumn
Support null map subcolumn for Variant and Dynamic typed subcolumns
2024-07-07 15:10:23 +00:00
Nikita Taranov
0c13289ea3
Merge branch 'master' into fix_mac_build 2024-07-07 16:31:49 +02:00
Robert Schulze
948565f554
Speed up replaceRegexp(All|One) if the pattern is trivial 2024-07-07 11:09:01 +00:00
Alexey Milovidov
ac2d5261d7 Merge branch 'master' into uninteresting-changes 2024-07-07 12:51:56 +02:00
zhongyuankai
17e089c490 Refactor OptimizeIfWithConstantConditionVisitor using InDepthNodeVisitor 2024-07-07 18:29:22 +08:00
Robert Schulze
82e1d82cb3
Cosmetics 2024-07-07 10:14:20 +00:00
Sema Checherinda
e3c036e2d9 remove debug logs 2024-07-07 00:21:22 +02:00
Kruglov Pavel
def7408b48
Fix typo 2024-07-06 22:57:41 +02:00
avogar
84f876f098 Support null map subcolumn for Variant and Dynamic subcolumns 2024-07-06 20:35:43 +00:00
Nikita Mikhaylov
d685c062a3 Merge branch 'master' of github.com:ClickHouse/ClickHouse into disable-merge-filters-by-default 2024-07-06 21:30:02 +02:00
vdimir
c195537a18
fix SimpleSquashingChunksTransform 2024-07-06 16:41:18 +00:00
vdimir
06734b351e
Revert "fix SimpleSquashingChunksTransform"
This reverts commit f1f5dfc83a.
2024-07-06 16:35:54 +00:00
vdimir
f1f5dfc83a
fix SimpleSquashingChunksTransform 2024-07-06 16:02:01 +00:00
vdimir
9dc52217f4
Fix SimpleSquashingTransform 2024-07-06 15:31:38 +00:00
avogar
d821dfe903 Fix tests 2024-07-06 15:03:13 +00:00
Alexey Milovidov
1d37952a95
Merge pull request #66168 from ClickHouse/cachemeifyoucan
Fix crash when adding empty tuple to query cache
2024-07-06 14:38:36 +00:00
Sema Checherinda
3a87479926 fix a crash 2024-07-06 16:06:36 +02:00
Sema Checherinda
376472c8ce add test when chunk with 0 columns has to be produced in squashing 2024-07-06 15:34:30 +02:00
Kruglov Pavel
8108d51ee5
Merge pull request #62774 from Avogar/variant-new-serialization
Add compact mode in Variant discriminators binary serialization
2024-07-06 13:27:23 +00:00
Michael Kolupaev
d4a4e4ec2d Fix crash when adding empty tuple to query cache 2024-07-05 22:43:33 +00:00
avogar
b246327221 Merge commit 'c9601cc2839822f72515911e67923e85cbeecd09' of github.com:ClickHouse/ClickHouse into fix-dynamic-subcolumns-in-analyzer 2024-07-05 20:06:04 +00:00
Vitaly Baranov
c42b5eddd4 Fix error messages in authenticateUserByHTTP() when multiple authentication methods are used simultaneously. 2024-07-05 21:36:13 +02:00
Yarik Briukhovetskyi
4f510c588a
quick workaround 2024-07-05 20:49:47 +02:00
Vitaly Baranov
e572dfd2dc Use Common/Base64.h 2024-07-05 20:15:19 +02:00
Nikita Taranov
a502933f5e
Fix clang-tidy error in BufferWithOwnMemory.h 2024-07-05 20:09:08 +02:00
pufit
4195ce2183
Merge branch 'master' into pufit/startup-scripts 2024-07-05 13:52:58 -04:00
Anton Popov
5697efa191 fix for const arrays 2024-07-05 17:09:17 +00:00
Nikita Taranov
6e8edf008f try fix 2024-07-05 18:36:50 +02:00
Nikita Taranov
76119a4567
Merge pull request #66106 from ClickHouse/fix_unbin
Fix buffer overflow in `unbin`
2024-07-05 15:59:16 +00:00
Raúl Marín
1b1922a2e0 Fix issue in SumIfToCountIfVisitor and signed integers 2024-07-05 17:44:44 +02:00
serxa
d2d72794a1 proper destruction order of AsyncLoader::Pool fields 2024-07-05 15:06:50 +00:00
Sema Checherinda
5e4a244faf
Revert "Revert "insertion deduplication on retries for materialised views"" 2024-07-05 16:52:51 +02:00
Yakov Olkhovskiy
8fded210bc revert to one join 2024-07-05 14:49:19 +00:00
Anton Popov
c9601cc283
Merge pull request #66099 from CurtizJ/better-index-calc
Slightly better calculation of primary index
2024-07-05 14:47:02 +00:00
Alexander Tokmakov
922095d7e6
Merge pull request #66134 from ClickHouse/revert-61601-chesema-dedup-matview
Revert "insertion deduplication on retries for materialised views"
2024-07-05 14:18:04 +00:00
Antonio Andelic
75d3ffd8df
Fix style 2024-07-05 15:13:11 +01:00
Alexander Tokmakov
05a027822b
Update ZooKeeperImpl.cpp 2024-07-05 15:57:17 +02:00
Vitaly Baranov
532eb28a7d
Merge pull request #62747 from bigo-sg/percent_rank
New window function `percent_rank`
2024-07-05 13:53:37 +00:00
Antonio Andelic
8d79663e3b
Merge branch 'master' into merge-tree-parallel-replicas-custom-key 2024-07-05 14:48:40 +01:00
Nikita Taranov
dfef400e15 impl 2024-07-05 14:39:45 +01:00
Antonio Andelic
bf0b782960 Correctly print long processing requests in Keeper 2024-07-05 15:16:08 +02:00
Sema Checherinda
77e60543fd
Revert "insertion deduplication on retries for materialised views" 2024-07-05 14:58:17 +02:00
Antonio Andelic
1258ec38c4
Merge pull request #65701 from ClickHouse/gwp-asan-disable-stacktrace-by-default
Disable stacktrace collection in GWPAsan by default
2024-07-05 11:56:35 +00:00
avogar
a75c260ef5 Merge branch 'master' of gitt pushhub.com:ClickHouse/ClickHouse into refactor-json-extract 2024-07-05 11:24:29 +00:00
Kruglov Pavel
6239f7d62f
Merge branch 'master' into data-types-binary-encoding 2024-07-05 13:20:31 +02:00
Konstantin Morozov
64ef36dab3 fix deadlock 2024-07-05 11:19:06 +00:00
Nikolai Kochetov
73ece96954
Merge branch 'master' into disable-merge-filters-by-default 2024-07-05 13:19:03 +02:00
Nikolai Kochetov
23f3f36207 update settings history. 2024-07-05 11:18:10 +00:00
Vitaly Baranov
f315b36323
Merge pull request #66069 from vitlibar/add-prometheus-protocols-protobufs
Add protobufs for Prometheus remote-write/remote-read protocols
2024-07-05 10:41:04 +00:00
Nikolai Kochetov
fddbe52227 Disable merge filters optimization by default. 2024-07-05 10:32:53 +00:00
alesapin
8de9141012
Merge pull request #59173 from ClickHouse/fix_prewhere_without_columns
Fix prewhere without columns and without adaptive index granularity (almost w/o anything)
2024-07-05 10:29:58 +00:00
Kseniia Sumarokova
baa6e60cfd
Merge pull request #66009 from ClickHouse/fix-s3queue-flaky-tests
Fix flaky test_storage_s3_queue tests
2024-07-05 09:59:52 +00:00
Raúl Marín
8076e3ae60
Merge branch 'master' into exp_settings 2024-07-05 11:18:27 +02:00
Robert Schulze
4dca031e9d
Merge pull request #66100 from rschu1ze/bump-azure
Bump Azure to 1.12
2024-07-05 09:11:00 +00:00
Antonio Andelic
d777a7a941
Reduce one more time 2024-07-05 08:38:09 +01:00
Pablo Marcos
6848c2e0ac
Merge pull request #65838 from pamarcos/bitshift-throw-error-for-negative-shift-positions
Throw an error in `bitShift*` if the shift position is out-of-bounds
2024-07-05 07:05:25 +00:00
kevinyhzou
a92d6b0761 Merge branch 'master' into support_orc_reader_timezone 2024-07-05 10:27:39 +08:00
Anton Popov
7fbe5a7915
Merge pull request #63636 from CurtizJ/azure-refactoring
Refactoring near azure blob storage
2024-07-05 00:27:14 +00:00
Nikita Taranov
6a40628bff
Merge pull request #65470 from ClickHouse/cgroup_mem_observer
Fix CgroupsMemoryUsageObserver
2024-07-04 23:10:20 +00:00
Nikolay Degterinsky
59607413a0
Merge pull request #65801 from ClickHouse/evillique-patch-1
Update StorageMaterializedView.cpp
2024-07-04 22:22:52 +00:00
Vitaly Baranov
e428542b2e Add prometheus protobufs. 2024-07-04 23:06:14 +02:00
avogar
04f20f6a68 Merge branch 'master' of github.com:ClickHouse/ClickHouse into fix-dynamic-subcolumns-in-analyzer 2024-07-04 21:02:04 +00:00
pufit
0a5ee12f0b
Merge pull request #62103 from ClickHouse/pufit/fuzz-query
FuzzQuery table function
2024-07-04 20:46:47 +00:00
Nikita Mikhaylov
3a7c98399f
Merge pull request #65777 from ClickHouse/make_analyzer_important
Make `allow_experimental_analyzer` be controlled by the initiator for distributed queries
2024-07-04 20:38:40 +00:00
Antonio Andelic
ec6739120c
Merge pull request #66041 from ClickHouse/try-disabling-jemalloc-background-threads
Try disabling jemalloc background threads
2024-07-04 20:30:39 +00:00
Michael Kolupaev
d394278b1b Merge remote-tracking branch 'origin/master' into ms 2024-07-04 18:44:18 +00:00
Michael Kolupaev
f40f46e244 Merge remote-tracking branch 'origin/ms' into ms 2024-07-04 18:44:11 +00:00
Michael Kolupaev
b98c123f3a Remove logging, if this happens again we'll have to guess again 2024-07-04 18:41:20 +00:00
vdimir
6184515817
Merge branch 'master' into vdimir/debug_02956_rocksdb_bulk_sink 2024-07-04 20:33:24 +02:00
Kruglov Pavel
eaf8475781
Merge pull request #66066 from Avogar/fix-memory-engine-dynamic
Fix reading dynamic subcolumns from altered Memory table
2024-07-04 18:32:35 +00:00
vdimir
20f1256a2f
Debuging 02956_rocksdb_bulk_sink 2024-07-04 18:29:09 +00:00
avogar
f556f2cd95 Try to fix special build 2024-07-04 18:28:22 +00:00
Nikita Taranov
ad23d211b9 impl 2024-07-04 18:56:26 +01:00
Anton Popov
e7c0ff54c9 fix tests 2024-07-04 17:19:35 +00:00
Yarik Briukhovetskyi
accb994dbe
init 2024-07-04 18:43:45 +02:00
Nikolai Kochetov
4271b2b6e3 Add noreturn/ 2024-07-04 16:29:32 +00:00
Anton Popov
86a2fbf3f1 Merge remote-tracking branch 'upstream/master' into HEAD 2024-07-04 16:18:30 +00:00
Anton Popov
7f2bfc5f14 Merge remote-tracking branch 'upstream/master' into HEAD 2024-07-04 16:13:30 +00:00
Anton Popov
14f54cb6e9 slightly better calculation of primary index 2024-07-04 15:44:16 +00:00
Robert Schulze
2c94218120
Random header fixes for libcxx 16 2024-07-04 15:39:50 +00:00
Pablo Marcos
13f4d0d7cf Merge branch 'master' into bitshift-throw-error-for-negative-shift-positions 2024-07-04 14:54:18 +00:00
Pablo Marcos
e7e2b0953c Prevent another possible buffer overflow 2024-07-04 14:50:51 +00:00
Anton Popov
f8ea14da5d fix function 'has' with LowCardinality and FixedString 2024-07-04 14:50:00 +00:00
Vitaly Baranov
6bf1320870
Merge pull request #66061 from vitlibar/fix-shutdown-in-grpc-server
Fix shutdown in GRPCServer
2024-07-04 14:33:59 +00:00
divanik
4815f0d6ff Resolve conflicts 2024-07-04 14:09:43 +00:00
jsc0218
6e181ab383
Merge pull request #65594 from jsc0218/DropProjInLWD
Add options in lightweight delete on table with projections
2024-07-04 14:03:29 +00:00
Sema Checherinda
19816401c4
Merge pull request #61601 from ClickHouse/chesema-dedup-matview
insertion deduplication on retries for materialised views
2024-07-04 13:52:52 +00:00
Nikolai Kochetov
3776fafc88 Print stacktrace in case of about after logical error. 2024-07-04 13:44:44 +00:00
Sema Checherinda
7be481decf init 2024-07-04 15:44:06 +02:00
alesapin
9d10647544 Merge remote-tracking branch 'origin/master' into fix_prewhere_without_columns 2024-07-04 15:37:33 +02:00
Antonio Andelic
975e8ee14a
Merge pull request #65910 from ClickHouse/keeper-remove-standalone-build
Remove standalone Keeper build
2024-07-04 12:14:42 +00:00
Konstantin Morozov
cc3e166dec apply comment 2024-07-04 12:11:15 +00:00
Antonio Andelic
613ed1ebbf Merge branch 'master' into try-disabling-jemalloc-background-threads 2024-07-04 13:58:26 +02:00
Antonio Andelic
c93d8cbb66 Fixes 2024-07-04 13:57:47 +02:00
Konstantin Morozov
87f7490226 Merge branch 'master' into add_system_detach_tables 2024-07-04 11:47:30 +00:00
Nikita Mikhaylov
fe6a875c74 Make the setting back IMPORTANT + fix build 2024-07-04 11:12:27 +00:00
Nikita Mikhaylov
fcabefa8f3 Automatically disabling 2024-07-04 11:12:27 +00:00
Nikita Mikhaylov
d57375181d Better 2024-07-04 11:12:27 +00:00
Nikita Mikhaylov
dd3eb538f6 Better 2024-07-04 11:12:27 +00:00
Nikita Mikhaylov
6ea4c10121 Done 2024-07-04 11:12:26 +00:00
Kseniia Sumarokova
fc73c068ac
Merge pull request #66034 from azat/config-merge-from_env-replace-fix
Fix config merging for from_env with replace overrides
2024-07-04 10:01:07 +00:00
kssenii
7ae85fda3f Restore previous order 2024-07-04 11:46:17 +02:00
kssenii
4cf0625f70 Merge remote-tracking branch 'origin/master' into fix-s3queue-flaky-tests 2024-07-04 11:44:52 +02:00
kssenii
bfc755c000 Fix shutdown 2024-07-04 11:44:24 +02:00
Robert Schulze
9b98abac42
Merge pull request #66050 from ClickHouse/regex-cache-profile-events
Add profile events for regex cache
2024-07-04 08:48:26 +00:00
vdimir
e68c8b6587
Merge branch 'master' into vdimir/join_on_null_fix 2024-07-04 10:41:01 +02:00
lgbo-ustc
87978327d6 fixed 2024-07-04 15:44:11 +08:00
lgbo-ustc
b6782d4b2d update 2024-07-04 15:44:11 +08:00
lgbo-ustc
297b65dbbe fixed 2024-07-04 15:44:11 +08:00
lgbo-ustc
e52828abf9 fixed typos 2024-07-04 15:44:11 +08:00
lgbo-ustc
7f706dd9d1 fixed 2024-07-04 15:44:10 +08:00
lgbo-ustc
04e7b11a64 fixed style 2024-07-04 15:44:10 +08:00
lgbo-ustc
13d5b336ad check window frame 2024-07-04 15:44:10 +08:00
lgbo-ustc
6e231eedcf fixed style 2024-07-04 15:44:10 +08:00
lgbo-ustc
e38e105e20 add window function percent_rank 2024-07-04 15:44:10 +08:00
Antonio Andelic
fe42d2ffe4
Lower sampling rate 2024-07-04 08:10:40 +01:00
Yakov Olkhovskiy
dd662ed4ad Merge remote-tracking branch 'upstream/master' into patch-5 2024-07-04 03:22:37 +00:00
kevinyhzou
99015189a4 Merge branch 'master' into support_orc_reader_timezone 2024-07-04 10:39:14 +08:00
kevinyhzou
45a73dc3b5 fast test 2024-07-04 10:37:55 +08:00
Yakov Olkhovskiy
e11b48c7b5 fix 2024-07-03 23:04:13 +00:00
Kruglov Pavel
41b9216dd1
Fix build 2024-07-04 00:22:41 +02:00
Nikolay Degterinsky
615d5501d0
Merge pull request #66038 from ClickHouse/evillique-patch-2
Fix lock-order-inversion in DatabaseCatalog
2024-07-03 21:15:20 +00:00
Anton Popov
e56507a73e
Merge pull request #58661 from CurtizJ/enable-optimize_functions_to_subcolumns
Enable `optimize_functions_to_subcolumns` by default
2024-07-03 20:44:19 +00:00
Robert Schulze
9f1b3e2979
Merge pull request #65983 from arenadata/ADQM-1971
Fix support of non-const scale arguments in rounding functions
2024-07-03 20:22:49 +00:00
Nikita Taranov
1b6ef06a91 review fixes 2024-07-03 21:14:28 +01:00
Nikita Taranov
39cf64bec1 Merge branch 'master' into cgroup_mem_observer 2024-07-03 20:54:01 +01:00
Nikita Taranov
37851686ad better variable name 2024-07-03 20:47:07 +01:00
Nikita Taranov
fc36a449c6
Merge branch 'master' into concurrent_hash_join_cache_ht_sizes 2024-07-03 21:29:10 +02:00
Nikita Taranov
8cb7936838 dedicated setting for joins 2024-07-03 20:28:01 +01:00
Vitaly Baranov
ecfe6fddcf Move function HTTPHandler::formatExceptionForClient() to a separate header in order to reuse it. 2024-07-03 21:23:09 +02:00
Vitaly Baranov
49b982747a Move function authenticateUserByHTTP() to a separate header in order to reuse it. 2024-07-03 21:23:09 +02:00
Vitaly Baranov
25dc96aaca Simplify initialization of settings in HTTPHandler. 2024-07-03 21:23:09 +02:00
Vitaly Baranov
bf56ad69dd Make Context::setCurrentRoles() check that new current roles are granted in order to make HTTPHandler's implementation easier. 2024-07-03 21:23:09 +02:00
Vitaly Baranov
29ed1c9bf8 Move function exceptionCodeToHTTPStatus() from HTTPHandler.cpp to a separate header in order to reuse it. 2024-07-03 21:23:09 +02:00
avogar
877445c88d Fix reading dynamic subcolumns from altered Memory table 2024-07-03 19:21:12 +00:00
Nikita Taranov
bbbf6cd6f9 remove todo 2024-07-03 19:41:05 +01:00
Nikita Taranov
b243e4d0fb Merge branch 'master' into concurrent_hash_join_cache_ht_sizes 2024-07-03 19:35:48 +01:00
jsc0218
b8e355f9d8
Merge branch 'master' into DropProjInLWD 2024-07-03 14:23:49 -04:00
Kruglov Pavel
a5adf31b9e
Fix special build 2024-07-03 19:30:36 +02:00
Robert Schulze
9d79bd9625
Merge pull request #65792 from rschu1ze/stats-refactoring
Refactor statistics interface
2024-07-03 17:26:09 +00:00
Robert Schulze
77aec8a301
Merge pull request #65985 from rschu1ze/fix-error-messages
More aesthetic error messages
2024-07-03 17:22:57 +00:00
Antonio Andelic
d688d4114c
Rename events 2024-07-03 18:16:45 +01:00
Raúl Marín
bfd91d1e72 Merge remote-tracking branch 'blessed/master' into exp_settings 2024-07-03 18:55:48 +02:00
Antonio Andelic
045cb0a581 Increase special allocation sampling 2024-07-03 18:50:33 +02:00
Antonio Andelic
5875694669 Fix includes 2024-07-03 18:48:32 +02:00
Vitaly Baranov
e8701dc4e4 Fix shutdown in GRPCServer. 2024-07-03 18:18:23 +02:00
Alexander Tokmakov
3a4d05f54a
Merge pull request #63963 from ClickHouse/vdimir/replicateddb_forbid_populate
Forbid POPULATE with Replicated databases
2024-07-03 15:43:43 +00:00
Robert Schulze
790b66d921
Merge pull request #66059 from rschu1ze/remove-comment
Remove obsolete comment
2024-07-03 15:42:20 +00:00
Robert Schulze
ee3c530817
Remove obsolete comment 2024-07-03 15:41:24 +00:00
jsc0218
73c440b38d Merge remote-tracking branch 'origin/master' into DropProjInLWD 2024-07-03 15:37:10 +00:00
avogar
6530ae104d Fix tests 2024-07-03 15:23:01 +00:00
pufit
9a023744a5 fix build 2024-07-03 11:13:39 -04:00
Antonio Andelic
07f51e02ed Reuse some checks 2024-07-03 16:54:09 +02:00
Robert Schulze
8319d25797
Minor updates 2024-07-03 14:43:47 +00:00