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
Vitaly Baranov
b53e58c501
Fix error reporting while copying to S3.
2024-07-09 22:50:21 +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
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
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
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
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
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
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
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
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
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