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
Robert Schulze
3d91937a94
Merge remote-tracking branch 'ClickHouse/master' into add-serial-function
2024-05-24 10:32:20 +00:00
Max K
f1421c9e5c
style fix
2024-05-24 12:27:05 +02:00
Robert Schulze
0e758722c6
Enable 02494_query_cache_nested_query_bug for Analyzer
2024-05-24 10:19:01 +00:00
Robert Schulze
a725112c4c
Fix different hashes for reading/writing from/to query cache
2024-05-24 10:12:08 +00:00
Max K
22b441ed40
fix PR template
2024-05-24 12:00:24 +02:00
Max K
d4fb2d50e9
CI: Sync, Merge check, CI gh's statuses fixes
2024-05-24 12:00:16 +02:00
Max K
b6dd8446f5
Merge pull request #64340 from ClickHouse/ci_foldable_master_wf
...
CI: master workflow with folded jobs
2024-05-24 09:43:01 +00:00
Nikolai Kochetov
523634b1c7
Merge pull request #63993 from ClickHouse/experiment-do-not-add-identifiers-to-expr-map
...
Check what would be broken if do not add all the identifiers to functions map.
2024-05-24 09:29:40 +00:00
Robert Schulze
f924316b9d
Merge pull request #64300 from Blargian/docs_return_type_consistency
...
[Docs] More consistent formatting of function documentation
2024-05-24 09:03:24 +00:00
Max K
3e21ff92a3
CI: master workflow with folded jobs
2024-05-24 10:53:19 +02:00
Kseniia Sumarokova
c10fc6d80e
Merge branch 'master' into use-iobject-storage-for-table-engines-1
2024-05-24 10:46:45 +02:00
Robert Schulze
480f911c76
Fix spelling
2024-05-24 08:33:44 +00:00
Blargian
c638de90c2
Fix incorrectly placed :::note blocks
2024-05-24 10:01:06 +02:00
Han Fei
f21c7505a2
Merge pull request #64181 from ClickHouse/fix-test-deduplication_token
...
Fix: 02124_insert_deduplication_token_multiple_blocks_replica
2024-05-24 07:32:45 +00:00
Blargian
8783647703
Revert addressToLine to original formatting
2024-05-24 07:03:15 +02:00
Blargian
b19c5ad13a
Revert roundAge to original formatting
2024-05-24 07:01:15 +02:00