Commit Graph

143083 Commits

Author SHA1 Message Date
Nikolai Kochetov
7f9734d0cc Fix Logical error: Bad cast for Buffer table with prewhere. 2024-05-24 15:38:21 +00:00
Raúl Marín
049ca7c71e Reduce 01396_inactive_replica_cleanup_nodes_zookeeper! 2024-05-24 17:34:48 +02:00
Raúl Marín
24797a093a Remove 02344_insert_profile_events_stress from sanitizer run as it's too slow 2024-05-24 17:31:39 +02:00
Raúl Marín
b396e63ea5 Reduce sizes in 02735_parquet_encoder 2024-05-24 17:30:26 +02:00
Raúl Marín
bd415cc831 Reduce 02228_merge_tree_insert_memory_usage partitions 2024-05-24 17:27:47 +02:00
Raúl Marín
d5b763d03d Limit max time for 01442_merge_detach_attach_long 2024-05-24 17:21:50 +02:00
Francisco Javier Jurado Moreno
b884d827a5 Rebase and fix merge conflicts 2024-05-24 17:21:02 +02:00
Francisco Javier Jurado Moreno
a3f80626b9 Update dictionary ignore 2024-05-24 17:09:32 +02:00
Raúl Marín
b3f836fbb1 Run 03147_system_columns_access_checks only on release 2024-05-24 17:08:30 +02:00
Francisco Javier Jurado Moreno
0b7ef00161 Update docs 2024-05-24 17:08:29 +02:00
Max K
4982d7c85c fix for mark release ready 2024-05-24 16:59:47 +02:00
vdimir
ebaf19bf3f
Merge pull request #64298 from ClickHouse/vdimir/parallel_replicas_more_info
Print query in explain plan with parallel replicas
2024-05-24 14:59:09 +00:00
Max K
b254be6180 CI: add secrets to reusable build stage wf yml 2024-05-24 16:57:08 +02:00
vdimir
6d5805d260
Do not run tests with 'no-s3-storage-with-slow-build' with ASan 2024-05-24 14:54:39 +00:00
Francisco Javier Jurado Moreno
97f03ad242 Add stateless tests 2024-05-24 16:39:38 +02:00
Nikolai Kochetov
dff7a2f1f6 Cleanup. 2024-05-24 14:37:33 +00:00
Nikolai Kochetov
4fba9a5c3c Cleanup. 2024-05-24 14:35:45 +00:00
Francisco Javier Jurado Moreno
07a24a8769 Initial implementation 2024-05-24 16:25:33 +02:00
Max K
cb37b098ef CI: add secrets to reusable stage wf yml 2024-05-24 16:17:25 +02:00
Nikita Fomichev
4018298f73
Merge pull request #64360 from fm4v/update-settings-desc
Update description for settings `cross_join_min_rows_to_compress` and `cross_join_min_bytes_to_compress`
2024-05-24 14:13:49 +00:00
Nikolai Kochetov
f9348f9777
Merge pull request #64096 from ClickHouse/fix-analyzer-interpolate
Fix analyzer: only interpolate expression should be used for DAG
2024-05-24 14:01:08 +00:00
Max K
93741a9eda
Merge pull request #64348 from ClickHouse/ci_sync_mcheck_cirun_statuses_fixes
CI: Sync, Merge check, CI gh's statuses fixes
2024-05-24 13:49:04 +00:00
alesapin
bfe68fd3ca
Merge pull request #62481 from ClickHouse/keeper-bench-replay-zookeeper-log
Replay ZK logs using keeper-bench
2024-05-24 13:36:18 +00:00
Sema Checherinda
ae4d3f97ae
Merge pull request #64225 from ClickHouse/chesema-patch-aws-error-handler
tests for qps_limit_exceeded
2024-05-24 13:28:33 +00:00
avogar
09750cb83b Delete old tests 2024-05-24 13:14:02 +00:00
avogar
16fb2fc561 Split tests 03039_dynamic_all_merge_algorithms to avoid timeouts 2024-05-24 13:13:19 +00:00
Raúl Marín
9794a193cf Rename aggregate_function_group_array_has_limit_size 2024-05-24 15:05:49 +02:00
Nikolai Kochetov
634f7c35e8 Better. 2024-05-24 12:47:03 +00:00
Nikolai Kochetov
1e5872cb4e Update DistributedCreateLocalPlan.cpp 2024-05-24 12:45:53 +00:00
Nikolai Kochetov
a19472ddd5 Connect code. 2024-05-24 12:45:53 +00:00
Nikolai Kochetov
bee3c50ecd Try not to add alias to array join. 2024-05-24 12:45:53 +00:00
Nikolai Kochetov
317941f06a Add a test. 2024-05-24 12:45:53 +00:00
Nikolai Kochetov
b4581286f7 Properly resolve array join columns. 2024-05-24 12:45:52 +00:00
Nikolai Kochetov
7f450cfbdd Try add alias to array join. 2024-05-24 12:44:09 +00:00
Nikita Fomichev
2cc1b27fb5 Update docs for settings cross_join_min_rows_to_compress and cross_join_min_bytes_to_compress 2024-05-24 14:41:04 +02:00
TTPO100AJIEX
aada1de796 Rename function parameters, remove unnecessary virtual 2024-05-24 15:36:41 +03:00
Robert Schulze
3d20703958
Force-enable analyzer so that tests without Analyzer can no longer fail 2024-05-24 12:27:19 +00:00
Nikita Fomichev
a6e06b27d2 Update description for settings cross_join_min_rows_to_compress and cross_join_min_bytes_to_compress 2024-05-24 14:17:37 +02:00
Jiebin Sun
d40c5a07be Avoid UBSan warning while buf is nullptr 2024-05-24 19:35:07 +08:00
Jiebin Sun
d1d57caf0a Generate the seperate function firstPopulatedCell() and lastPopulatedCell() 2024-05-24 19:35:07 +08:00
Jiebin Sun
ca88da11e0 Update src/Common/HashTable/FixedHashTable.h
Revise the method name by Nikita.

Co-authored-by: Nikita Taranov <nickita.taranov@gmail.com>
2024-05-24 19:35:07 +08:00
Jiebin Sun
4e6f5fba83 Update src/Common/HashTable/FixedHashTable.h
Add comment by Nikita.

Co-authored-by: Nikita Taranov <nickita.taranov@gmail.com>
2024-05-24 19:35:07 +08:00
Jiebin Sun
7f960e4e8a Add the use_emplace_to_insert_data flag. emplace() is the only interface
to update min/max. If the FixedHashTable.emplace() is not used to revise
the hashtable value, then we should not continue the min/max optimization.
2024-05-24 19:35:07 +08:00
Jiebin Sun
60420f2a8e Fix a bug if data will be inserted not by emplace(). 2024-05-24 19:35:07 +08:00
Jiebin Sun
69960a5735 Fix a bug if the container is empty 2024-05-24 19:35:07 +08:00
Jiebin Sun
d48fba5b2b Limit the array index of FixedHashTable by min/max
If the type of key is 8 bits or 16 bits in aggregation, ClickHouse will use array
of 256 or 65536 length to store the key and boost the mergeSingleLevel, rather than
key comparison. However, if the key has occupied only small range of the total 65536
cells, most of the cycles are wasted on the `isZero()` to find the next cell which
is not zero in iterator++.
The solution is to use min/max and update min/max when emplace. Then we can set the
upper searching limit to max in iterator++. And just set min as the value of `begin()`,
rather than searching the first cell that not equals to 0.
We have tested the patch on 2x80 vCPUs server, Query 7 of ClickBench has gained 2.1x
performance improvement.

Signed-off-by: Jiebin Sun <jiebin.sun@intel.com>
2024-05-24 19:35:07 +08:00
Raúl Marín
534f996be3 Change input_format_parquet_use_native_reader to 24.6 2024-05-24 13:07:37 +02:00
Raúl Marín
54cb4f2ac7 Rename allow_deprecated_functions to allow_deprecated_error_prone_window_functions 2024-05-24 12:54:06 +02:00
Max K
7ccb776ed9 mcheck fix 2024-05-24 12:39:35 +02:00
Robert Schulze
1f1c2c21b1
Fix spelling 2024-05-24 10:32:42 +00:00