Commit Graph

239 Commits

Author SHA1 Message Date
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
vdimir
15b6651df6
Revert "Merge pull request #49816 from bigo-sg/grace_hash_reserve_hash_table"
This reverts commit 3f892ceb12, reversing
changes made to 32ffa2ae0b.
2023-06-08 09:40:11 +00:00
vdimir
a268250aff Fixes for LowCardinality Nullable in HashJoin 2023-06-07 20:16:36 +02:00
vdimir
f3b5a87a66 Fixing crash in anti/semi join 2023-06-07 20:16:36 +02:00
vdimir
bdb192cf27
Test right join in 02725_any_join_single_row, style code changes 2023-06-01 15:43:37 +00:00
vdimir
62f950ddaf
Keep blocks with nulls for right and full join 2023-06-01 12:03:10 +00:00
vdimir
68d46c81b9
Do not store blocks in hash join if nothing is inseted 2023-06-01 12:03:09 +00:00
lgbo-ustc
f33f1e4840 roll back 2023-05-22 17:45:18 +08:00
lgbo-ustc
02b04fd9bf reuse previous hash table's space directly 2023-05-22 17:43:45 +08:00
lgbo-ustc
8bc4a3b2c0 try to reserve hash table size 2023-05-22 17:42:38 +08:00
vdimir
ca005ecea1 Update comment about filtering nulls in asof join 2023-05-16 16:23:53 +02:00
vdimir
a7bb8f412f Allow ASOF JOIN over nullable right column 2023-05-16 16:23:53 +02:00
lgbo-ustc
a07359fbe8 enable used flags's reinit only when the hash talbe rehash 2023-05-11 11:06:13 +08:00
Raúl Marín
2b70e08f23 Don't count unreserved bytes in Arenas as read_bytes 2023-04-13 12:43:24 +02:00
Alexey Milovidov
0ec04cca5e Make the code in Join less disgusting 2023-03-19 07:32:29 +01:00
Alexey Milovidov
8fdbc5409c Make the code in Join less disgusting 2023-03-19 07:31:18 +01:00
Alexey Milovidov
100089a76c Make the code in Join less disgusting 2023-03-19 07:17:59 +01:00
Joris Giovannangeli
6c8fc4cd11
fix hashjoin debug code condition 2023-03-16 14:06:37 +01:00
Alexander Tokmakov
31e16c4b4d fix 2023-01-24 15:29:19 +01:00
Vladimir C
0403f801a8
Merge pull request #44238 from ClickHouse/vdimir/grace_join_mem 2023-01-24 13:02:11 +01:00
Alexander Tokmakov
70d1adfe4b
Better formatting for exception messages (#45449)
* save format string for NetException

* format exceptions

* format exceptions 2

* format exceptions 3

* format exceptions 4

* format exceptions 5

* format exceptions 6

* fix

* format exceptions 7

* format exceptions 8

* Update MergeTreeIndexGin.cpp

* Update AggregateFunctionMap.cpp

* Update AggregateFunctionMap.cpp

* fix
2023-01-24 00:13:58 +03:00
vdimir
5be2b31e67
Review fixes 2023-01-23 18:09:26 +00:00
vdimir
dac86d48d2
fixing join data was released 2023-01-23 12:34:36 +00:00
vdimir
e30ab0874b
Review fixes 2023-01-20 16:30:34 +00:00
vdimir
e0e60bb460
wip 2023-01-17 12:21:55 +00:00
vdimir
4aecb836a9
Fix JoinMask 2023-01-17 12:21:55 +00:00
vdimir
18d751aed4
wip 2023-01-17 12:21:54 +00:00
vdimir
beb8ba7e62
wip 2023-01-17 12:21:54 +00:00
vdimir
57a35cae33
wip 2023-01-17 12:21:53 +00:00
vdimir
efcfcca545
Fix HashJoin::getTotalByteCount caclulation 2023-01-17 12:21:53 +00:00
vdimir
3e9d142066
Fix wrong column nullability in StoreageJoin 2023-01-11 16:17:21 +00:00