vdimir
a8eeb899e3
Merge pull request #58278 from liuneng1994/optimize-all-join
...
Lazy build join output to improve performance of ALL join
2024-03-05 16:35:27 +01:00
lgbo-ustc
aca219773b
Merge remote-tracking branch 'origin/master' into hash_join_bug_59625
2024-03-04 10:51:26 +08:00
liuneng
c1df83a27f
refactor code
2024-02-27 14:04:54 +08:00
Alexey Milovidov
0b90076a36
Revert "Revert "Check stack size in Parser""
2024-02-27 01:34:50 +03:00
liuneng
757b2f3369
fix style
2024-02-26 16:49:15 +08:00
liuneng
a0f108ec3f
fix bug
2024-02-26 16:22:47 +08:00
liuneng
94f78ac44b
use template class
2024-02-26 15:34:56 +08:00
liuneng
2279885c3e
fix clangtidy error
2024-02-26 09:51:21 +08:00
liuneng
22a33884c3
fix bug
2024-02-26 09:51:21 +08:00
liuneng
ce3f95f717
fix style
2024-02-26 09:51:21 +08:00
liuneng
b0943ab3e8
add lazyAddedColumns
2024-02-26 09:51:21 +08:00
liuneng
3a2c9a8793
update
2024-02-26 09:51:21 +08:00
liuneng
5c42f2c041
optimize default value
2024-02-26 09:51:21 +08:00
liuneng
18eb75f4d2
lazy build join output
2024-02-26 09:51:21 +08:00
lgbo-ustc
501e05fda1
fixed: improber filter setting
2024-02-22 09:22:28 +08:00
Antonio Andelic
fee1565780
Revert "Check stack size in Parser"
2024-02-21 11:33:08 +01:00
Alexey Milovidov
6fd563df52
Miscellaneous
2024-02-19 02:58:51 +01:00
Maksim Kita
2a327107b6
Updated implementation
2024-01-25 14:31:49 +03:00
vdimir
61f2ab3ec5
Update HashJoin::getNonJoinedBlocks
2024-01-15 11:37:33 +00:00
vdimir
6a1b005d7f
Fix build
2024-01-15 11:32:23 +00:00
vdimir
4adeb249d3
Analyzer: Fix assertion in HashJoin with duplicate columns
2024-01-15 11:32:22 +00:00
vdimir
631e16d8c3
Fix off-by-one error for max_joined_block_rows
2024-01-08 11:02:17 +00:00
vdimir
0f2588334f
Disable max_joined_block_rows in ConcurrentHashJoin
2024-01-08 10:20:39 +00:00
Alexey Milovidov
8d984df135
Merge pull request #58237 from azat/build/fwd-decl-exception
...
Some code refactoring (was an attempt to improve build time, but failed)
2023-12-28 00:21:09 +01:00
Azat Khuzhin
b9233f6d4f
Move Allocator code into module part
...
This should reduce amount of code that should be recompiled on
Exception.h changes (and everything else that had been included there).
This will actually not help a lot, because it is also included into
PODArray.h and ThreadPool.h at least... Sigh.
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2023-12-27 15:42:08 +01:00
vdimir
9b137059a3
Better logging in hash join
2023-12-22 15:52:47 +00:00
vdimir
4309d45730
Reserve memory in AddedColums
2023-12-22 15:52:47 +00:00
vdimir
8429162038
HashJoin respects max_joined_block_size_rows
2023-12-22 15:52:41 +00:00
vdimir
eb350ffa7e
Fix assertion in HashJoin
2023-12-14 15:52:35 +00:00
vdimir
eaf2c34761
better lowcard handling in hash join
2023-12-11 18:35:38 +00:00
vdimir
ea09080c73
fix
2023-12-11 15:50:27 +00:00
vdimir
af45e138ad
fix
2023-12-11 12:33:11 +00:00
vdimir
cdfe99c380
Remove unused template parameter from fillColumnsFromMap
2023-12-11 11:34:54 +00:00
vdimir
8ebd5a2d6c
Fix type correction in HashJoin for nested low cardinality
2023-12-08 15:50:33 +00:00
vdimir
f29386de0b
Materialize block in HashJoin for Type::EMPTY
2023-12-06 11:17:29 +00:00
vdimir
404ea84dc5
Handle case when clone resized block comsumes more memory, try to fix it for ColumnVector
2023-09-15 10:30:06 +00:00
vdimir
01ee24eefa
fix
2023-09-15 09:03:09 +00:00
vdimir
40d42f4123
hash join use memory tracker delta to decide on shrink to fit
2023-09-15 09:03:08 +00:00
vdimir
ac3c12e8b2
Shrink blocks in HashJoin on consuming half of maximum memory
2023-09-15 09:03:07 +00:00
yur3k
f6c4fba890
Made shrinkToFit interface mutable. Improved shrinkToFit implementation.
2023-09-15 09:03:07 +00:00
yur3k
e2ce8ed9aa
Added shrinkToFit methods to IColumn and Block. shrinkToFit now used unconditionally in HashJoin.
2023-09-15 09:03:06 +00:00
vdimir
df281fa41d
Fix typos
2023-08-31 15:22:27 +00:00
vdimir
bb6b939d2b
Support 'is not distinct from' in join on section
2023-08-28 11:41:36 +00:00
lgbo
344bc05156
wip: reserve hash table size ( #50875 )
2023-07-10 10:44:01 +02:00
Igor Nikonov
83af43b8ba
Merge pull request #51852 from ClickHouse/fix-misleading-naming-in-joins
...
Change misleading name in joins: addJoinedBlock -> addBlockToJoin
2023-07-06 17:27:26 +02:00
Igor Nikonov
bf190381f5
addJoinedBlock -> addBlockToJoin
2023-07-05 17:03:18 +00:00
vdimir
4581526af7
Remove has_null_map template parameter from hash join
2023-06-29 13:24:55 +00:00
vdimir
c43acc6f90
better fix
2023-06-29 13:19:04 +00:00
vdimir
f1d6954637
Fix logical error in ANTI join with NULL
2023-06-29 13:09:55 +00:00
Nikolai Kochetov
e0277b071b
Merge pull request #50699 from ClickHouse/vdimir/revert_grace_join_changed
...
Revert recent grace hash join changes
2023-06-09 17:56:52 +02:00