proller
153fcd6c9f
Fix double free in LibraryDictionarySource ( #2028 )
...
* Fix double free in LibraryDictionarySource
* Fix {}
* wip
* wip
* Better Exception
* Fix possible leak
2018-03-14 02:13:39 +03:00
proller
82134e44cb
Split ComplexKeyCacheDictionary to faster compile (part2)
2017-10-24 00:26:42 +03:00
Marek Vavruša
2ac5a743cc
dbms: fix build with OS X built-in clang
...
The built-in clang doesn’t support value() for
`std::experimental::optional`. It however supports
dereference operator, which is basically the
same thing:
```
/clickhouse/dbms/src/DataStreams/NullableAdapterBlockInputStream.cpp:83:67: error: call to unavailable member function 'value':
res.insert({elem.column, elem.type, rename[i].value()});
~~~~~~~~~~^~~~~
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/experimental/optional:547:17: note: candidate function has been explicitly made unavailable
value_type& value()
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/experimental/optional:539:33: note: candidate function has been explicitly made unavailable
constexpr value_type const& value() const
```
2017-10-13 18:12:29 -07:00
Alexey Milovidov
cfd4120f4a
Fixed build with increased inline-depth in clang [#CLICKHOUSE-2].
2017-09-15 14:08:39 +03:00
Alexey Milovidov
cd540c2674
Replaced Mersenne Twister to PCG-Random [#CLICKHOUSE-2].
2017-09-10 02:17:38 +03:00
proller
3dbde50daa
Split ComplexKeyCacheDictionary to use less then 1.5G ram when compile ( #1034 )
...
* Split FunctionsArithmetic.cpp to generated functions
* Use ccache if found
* Do not use ccache if ccache defined in CMAKE_CXX_COMPILER_LAUNCHER
* check_include.sh: print memory usage
* Try split CacheDictionary source
* Split ok
* wip
* wip
* wip
* wip
* wip
* wip
2017-07-27 22:05:55 +03:00
proller
8ef51bf19b
Fixing PerformanceTest: table_exists condition, move getMemoryAmount function to file. Add more debug helpers ( #905 )
...
* Fix missing includes
* ComplexKeyCacheDictionary: Move includes to .cpp
* Fixing PerformanceTest: table_exists condition, move getMemoryAmount function to file. Add more debug helpers
* Multiplatform memory size getter
* Requested changes
* Requested changes
* Requested changes
* fix
* Requested changes
2017-06-22 18:57:37 +03:00
Nikolai Kochetov
221c05402f
fixed bytes_allocated counter for cache dictionaries
2017-06-15 20:31:48 +03:00
Nikolai Kochetov
2f7f9a328e
changed ComplexKeyCacheDictionary key serialization
2017-06-08 20:51:46 +03:00
Nikolai Kochetov
bff77d1bae
merged with master
2017-06-08 15:00:11 +03:00
Alexey Milovidov
9c5ddce06d
Get rid of .hpp files [#CLICKHOUSE-2].
2017-06-06 20:18:32 +03:00
Nikolai Kochetov
7c736b12ef
added raw serialization functions for IColumn; changed key serialization in ComplexKeyCacheDictionary; style fixes
2017-05-29 20:26:45 +03:00
Nikolai Kochetov
787bf12572
merged with master
2017-05-29 20:23:14 +03:00
Nikolai Kochetov
5fb5397941
added max_block_size for DictionaryBlockImputStreamBase
2017-05-26 19:08:56 +03:00
Alexey Milovidov
f448c9690c
Little better [#CLICKHOUSE-3039].
2017-05-25 23:09:48 +03:00
Alexey Milovidov
e05547f4f8
Little better [#CLICKHOUSE-3039].
2017-05-25 22:52:05 +03:00
Nikolai Kochetov
1604ce138a
changed key storage format for complex key dictionaries
2017-05-04 21:14:23 +03:00
Alexey Milovidov
a0b9bf5e97
Moved code to cpp [#CLICKHOUSE-2].
2017-04-08 04:32:05 +03:00
Alexey Milovidov
310736cd7e
Moved headers and sources to same place [#CLICKHOUSE-3].
2017-04-01 12:22:42 +03:00
Alexey Milovidov
137ad95929
Changed tabs to spaces in code [#CLICKHOUSE-3].
2017-04-01 11:35:09 +03:00
proller
7df722d731
Speedup of CacheDictionary (part2: complex) [#CLICKHOUSE-2176] ( #502 )
...
* Auto version update to [54146]
* Fixing dictionaries [#CLICKHOUSE-2176]
* fix
* Auto version update to [54194]
* Revert "Auto version update to [54194]"
This reverts commit 3367678a04
.
* wip
* wip
* clean
* const
* fix
* wip
* wip
* wip
* wip
* wip
* wip
* clean
* Fixing dictionaries [#CLICKHOUSE-2176]
* style
* style
* style
* wip
* wip
* struct
* clean
* clean
* clean
* wip
* wip broken
* wip
* wip
* wip
* wip
* wip
* wip
* clean
* clean
* space
* tester
* wip
* fix
* clean
* style
2017-02-18 00:37:03 +04:00
proller
7b397b89cd
Add missing counters [#CLICKHOUSE-2197] ( #439 )
...
* Add missing counters [#CLICKHOUSE-2197]
* ../../tests/external_dictionaries/generate_and_test.py : allow not break tests when one type fail
2017-02-02 22:11:00 +04:00
proller
f04dffc05c
External dictionary profiling [#CLICKHOUSE-2197] ( #381 )
...
* Profiling external cached dictonaries [#CLICKHOUSE-2197]
* style
2017-01-25 22:40:44 +04:00
Alexey Milovidov
ca37f28b5f
Renamed methods Block::rows and Block::rowsInFirstColumn [#METR-2944].
2017-01-02 23:45:27 +03:00
Alexey Milovidov
2b4f3b5d34
Renamed method (less confusion) [#METR-2944].
2017-01-02 23:12:12 +03:00
Vladimir Smirnov
d36f52502e
Make it compilable on OS X
...
It's still hackish and dirty, but server and client compies.
Server starts, but throwes meaningless exception on any query.
Client seems to be working fine.
Linux compilation might (but shouldn't) be broken (not tested).
2016-11-01 17:59:21 +01:00
Alexey Milovidov
6c861fe798
Style [#METR-2807].
2016-08-07 12:09:18 +03:00
Alexey Milovidov
11d6962797
Fixed error [#MOBMET-3953].
2016-08-07 11:30:29 +03:00
Alexey Milovidov
6d614f2f96
Fixed error [#MOBMET-3953].
2016-08-07 11:23:44 +03:00
Alexey Milovidov
0ae29e867b
Less wrong [#MOBMET-3953].
2016-08-07 11:12:58 +03:00
Alexey Milovidov
7dfcdbfb86
Fixed error in ComplexKeyCacheDictionary [#MOBMET-3953].
2016-08-07 09:10:15 +03:00
Alexey Milovidov
6f4fc79cde
Better [#METR-2944].
2016-07-31 06:53:16 +03:00
Alexey Milovidov
3ecfca51ba
Splitted dictionaries to separate translation units [#METR-21527].
2016-06-08 00:07:44 +03:00