Maksim Kita
06b047235a
Fixed style issues
2020-12-13 14:35:52 +03:00
Maksim Kita
547f452ba9
HashTable erase added tests
2020-12-13 13:30:25 +03:00
alexey-milovidov
c74011851a
Update HashTable.h
2020-12-12 04:58:07 +03:00
alexey-milovidov
d94d9aa8d7
Update HashTable.h
2020-12-12 04:17:32 +03:00
alexey-milovidov
9e48b9b656
Update HashTable.h
2020-12-12 03:47:43 +03:00
alexey-milovidov
eba1299845
Update HashTable.h
2020-12-12 03:38:55 +03:00
alexey-milovidov
245dea6f2e
Update HashTable.h
2020-12-12 03:33:57 +03:00
alexey-milovidov
7e2bc1e7a6
Update HashTable.h
2020-12-12 03:30:12 +03:00
alexey-milovidov
6e7366f921
Update HashTable.h
2020-12-12 03:28:41 +03:00
Maksim Kita
b70b98c415
Fix style issues
2020-12-11 16:54:08 +03:00
Maksim Kita
4ae5619714
Optimized erase in HashTable
2020-12-11 16:54:08 +03:00
Maksim Kita
bf5d75853c
Added erase into HashTable
2020-12-11 16:54:08 +03:00
Azat Khuzhin
89cb2185a8
Fix StringHashTable move constructor
2020-12-09 21:08:30 +03:00
Azat Khuzhin
8a0487b1af
Add StringHashSet
2020-12-09 21:08:30 +03:00
Alexey Milovidov
67daa37a7f
Add strange C++ code that actually does not change anything
2020-11-02 13:42:47 +03:00
Amos Bird
ccf59c6412
Fix definitely wrong bug
2020-10-22 22:56:45 +08:00
Nikolai Kochetov
963ce315b2
Merge pull request #15454 from azat/dict-prealloc
...
Speedup hashed/sparse_hashed dictionary loading by preallocating the hash table
2020-10-15 15:03:53 +03:00
Alexey Milovidov
a2ef0f6cba
Minor changes in BigInt hash
2020-10-10 18:46:41 +03:00
Azat Khuzhin
f4f79aa84a
Add HashTable::reserve() (for preallocated hashed/sparse_hashed dictionaries)
2020-10-09 21:53:57 +03:00
Artem Zuikov
51ba12c2c3
Try speedup build ( #14809 )
2020-09-15 12:55:57 +03:00
Artem Zuikov
7c20aa2c62
Another 256-bit integers (strict 32 bytes) ( #14229 )
2020-09-04 16:33:02 +03:00
Artem Zuikov
d304d522cc
Refactoring: rename types to allow change bigint library ( #14219 )
2020-09-01 12:54:50 +03:00
Artem Zuikov
becc186c91
Add support for extended precision integers and decimals ( #13097 )
2020-08-19 14:52:17 +03:00
Alexey Milovidov
edd89a8610
Fix half of typos
2020-08-08 03:47:03 +03:00
alexey-milovidov
3015503dc6
Merge pull request #13254 from ClickHouse/fix-hash-table-nan-key
...
Fix hash table with NaN keys
2020-08-03 19:37:17 +03:00
alexey-milovidov
79ba0a5be9
Update HashTable.h
2020-08-03 04:46:47 +03:00
Alexey Milovidov
23c268e5ef
Continue
2020-08-03 03:01:23 +03:00
Alexey Milovidov
32c263aa9f
Fix hash table with NaN keys
2020-08-03 01:20:35 +03:00
Alexey Milovidov
460bda7759
Use stored size for UInt16 case
2020-08-02 01:11:00 +03:00
Alexey Milovidov
8496c984c5
Revert "Less indirection in FixedHashTable"
...
This reverts commit 743aee9940
.
2020-08-02 01:11:00 +03:00
Alexey Milovidov
1088bfffb1
Special case for aggregation by 8bit field
2020-08-02 01:11:00 +03:00
Alexey Milovidov
542ec9f777
Less indirection in FixedHashTable
2020-08-02 01:11:00 +03:00
alexey-milovidov
7d8eec5652
Update FixedHashTable.h
2020-08-02 01:11:00 +03:00
Alexey Milovidov
f1363403b7
Avoid increment of size in the inner loop of aggregation by UInt8/UInt16
2020-08-02 01:11:00 +03:00
Alexey Milovidov
490a8ba3d4
Slightly improve inner loop of aggregation by UInt8/UInt16 keys
2020-07-29 04:50:12 +03:00
Alexey Milovidov
7b81640e9b
Add support for function if with Array(UUID) arguments #11066
2020-07-22 00:15:19 +03:00
Alexander Kuzmenkov
bf941755f2
fixup
2020-05-26 09:00:51 +03:00
Alexander Kuzmenkov
7142e68d7a
fixup
2020-05-26 08:54:04 +03:00
Alexander Kuzmenkov
8d5bbed2de
Merge remote-tracking branch 'origin/master' into HEAD
2020-05-25 06:44:11 +03:00
Alexey Milovidov
3e87b5fe72
Remove old TODO
2020-05-23 14:50:21 +03:00
Alexander Kuzmenkov
50df893dc6
Assert that allocator & container are consistent wrt. inline memory
...
There are lots of places where HashTable is used with
AllocatorWithStackMemory, but the size of allocator inline memory is set
incorrectly, and it's less than the initial HashTable buffer size.
Because of this, HashTable is always allocated on the heap, and the
inline memory becomes a useless dead weight.
For PODArray, we have previously added a helper template that makes sure
these values are in sync, so there was only one such discrepancy left,
in the unit test.
2020-05-20 22:37:13 +03:00
Azat Khuzhin
e102ad373a
Fix SIGSEGV in StringHashTable if such key is not exists
2020-05-13 03:40:05 +03:00
Alexey Milovidov
8f7374c6de
Fix another UBSan warning
2020-05-03 21:39:52 +03:00
Alexey Milovidov
9a344e681f
Fix UBSan report in FixedHashTable
2020-05-03 21:24:11 +03:00
Alexey Milovidov
626b9a3ae9
Fix UBSan report in HashTable
2020-05-03 21:21:18 +03:00
Maxim Serebryakov
a99a340b0b
fix reading HashTable and HashSet
2020-04-20 23:19:03 +03:00
Ivan Lezhankin
8a5a73e76d
Merge branch 'master' into dbms2src
2020-04-03 18:20:05 +03:00
Ivan Lezhankin
06446b4f08
dbms/ → src/
2020-04-03 18:14:31 +03:00