Marek Vavruša
45bd332460
AggregateFunctionTopK: fix memory usage, performance
...
* allow separate table key / hash key, and use
std::string / StringRef for generic variant as
it has built-in storage and StringRef is supported
by the hash table, this avoids infinitely
growing arena with serialised keys
* use power-of-2 size for alpha vector for faster
binning without using modulo
* use custom grower and allocator for SpaceSaving
to start with smaller tables
* store computed hash in counter for faster
reinsertion of smallest element
2017-05-11 18:52:49 +04:00
Marek Vavruša
bc878f9785
Common/HashTable: allow cell reinsertion
...
* fixes missing setHash on reinsert
* reuses hash when emplacing value
2017-05-11 18:52:49 +04:00
Dmitry Luhtionov
caf69fd4b3
Update documentations
2017-05-11 18:40:28 +04:00
Vitaliy Lyudvichenko
0f1627691e
Don't forget to ATTACH MATERIALIZED columns. [#CLICKHOUSE-1993]
2017-05-11 18:39:12 +04:00
Dmitry Luhtionov
a21a6caf4e
Доюавленф функции FunctionMACNumToString и FunctionMACStringToNum
2017-05-10 08:16:06 -04:00
Alexey Milovidov
66436db836
Added test [#CLICKHOUSE-2].
2017-05-10 04:46:07 -04:00
Alexey Milovidov
2a57cfdbc2
Aggregate function groupArrayInsertAt: development [#CLICKHOUSE-2].
2017-05-10 04:42:15 -04:00
Alexey Milovidov
21c5ee0f1d
Aggregate function groupArrayInsertAt: development [#CLICKHOUSE-2].
2017-05-10 04:41:25 -04:00
Alexey Milovidov
19d0d47c8a
Aggregate function groupArrayInsertAt: development [#CLICKHOUSE-2].
2017-05-10 04:40:14 -04:00
Alexey Milovidov
e5e8667bc9
Addition to prev. revision [#CLICKHOUSE-2].
2017-05-10 04:10:50 -04:00
Alexey Milovidov
a7b9a12759
Returned back Increment and CounterInFile, because they are still needed [#CLICKHOUSE-2].
2017-05-10 04:08:32 -04:00
Alexey Milovidov
bb41d47096
Removed Increment and CounterInFile [#CLICKHOUSE-2].
2017-05-10 02:50:37 -04:00
Alexey Milovidov
5ca7650c86
Removed Increment and CounterInFile [#CLICKHOUSE-2].
2017-05-10 02:49:19 -04:00
Alexey Milovidov
acfe3d5028
Improved performance of inserting into StorageDistributed with very high number of shards (not tested) [#CLICKHOUSE-2].
2017-05-10 02:39:37 -04:00
Alexey Milovidov
e2f8ec8f2d
Addition to prev. revision [#CLICKHOUSE-2].
2017-05-10 02:36:15 -04:00
Alexey Milovidov
21af887758
Added aggregate function 'groupArrayInsertAt' (for Graphite) [#CLICKHOUSE-2].
2017-05-10 01:46:23 -04:00
Alexey Milovidov
b9a7917a8d
Tiny modifications [#CLICKHOUSE-2].
2017-05-10 01:43:27 -04:00
Alexey Milovidov
542eba7e17
Fixed translation errors [#CLICKHOUSE-3].
2017-05-10 00:30:33 -04:00
Alexey Milovidov
27a324b469
Tiny modifications [#CLICKHOUSE-2].
2017-05-10 00:29:36 -04:00
Alexey Milovidov
7bf7242ad3
Fixed translation errors; miscellaneous changes [#CLICKHOUSE-3].
2017-05-10 00:00:19 -04:00
Alexey Milovidov
ff02af9804
Addition to prev. revision [#CLICKHOUSE-2].
2017-05-09 22:45:21 -04:00
Alexey Milovidov
7fc3d90035
Renamed .inl file to .inl.h to avoid confusion [#CLICKHOUSE-2].
2017-05-09 22:41:26 -04:00
Alexey Milovidov
8e5f92f025
Fixed translation errors, part 1 [#CLICKHOUSE-3].
2017-05-09 15:07:35 -04:00
f1yegor
46db454562
translate comments
2017-05-09 13:03:35 -04:00
Andrey Dudin
4a24d4f3ad
Fixed some ERRORS and WARNINGS during RU docs build. ( #772 )
...
* Initial commit if EN docs
* Part of EN documentation
* Full queries section
* External data
* Table engines
* System tables
* Table functions
* Formats
* Data types
* Operators
* Functions
* Dictionaries
* Settings
* Configuration files
* Access rights
* Quotas
* Fixed few formatting errors
* Fixed few formatting errors
* Fixed few formatting errors
* FIX: "WARNING: Title underline too short." during build RU docs.
* FIX: "WARNING: Title underline too short." during build RU docs.
2017-05-08 01:06:04 -04:00
Vitaliy Lyudvichenko
36b42cb35b
Merge pull request #771 from luc1ph3r/Fix-lz4-library
...
Add missing liblz4 header file
2017-05-07 00:37:15 +03:00
ivanzhukov
f33494ffe2
Add missing liblz4 header file
2017-05-07 00:10:25 +03:00
kmeaw
6b9fbd2095
Update lz4 library to the latest stable version (1.7.5, 2016-11-28)
2017-05-06 10:48:30 -04:00
Dmitry Bilunov
11ec4c627d
IO/CompressedWriteBuffer: support new LZ4 library
2017-05-06 10:48:30 -04:00
Dmitry Bilunov
0c72259c3c
mongodb: Avoid compiling DB::authenticate() function unless it is needed
2017-05-05 17:02:34 -07:00
proller
fac00792f9
Move most AggregateFunctions to separate lib, use AggregateFunctionFactory as singletone, rename lib storages_system->clickhouse_storages_system
2017-05-05 16:59:18 -07:00
Alexey Milovidov
d3e6321967
AggregateFunctionTopK: minor modifications [#CLICKHOUSE-2].
2017-05-05 16:36:02 -07:00
Alexey Milovidov
32a75147f5
Merge branch 'master' of github.com:yandex/ClickHouse
2017-05-05 16:35:08 -07:00
Alexey Milovidov
aa629d0f7e
Minor modification [#CLICKHOUSE-2].
2017-05-05 14:25:53 -07:00
Alexey Milovidov
9d4c814b12
Aggregate function topK: style modifications [#CLICKHOUSE-2].
2017-05-05 14:17:04 -07:00
proller
b1f1096f27
tests: correct Connection refused detection ( #766 )
2017-05-05 17:50:05 +03:00
proller
9bcece79f9
tests: dont stop on errors by default
2017-05-05 07:19:00 -07:00
BayoNet
e480557d00
Descriptions of source/source_type/where
and structure/attribute/expression
are added.
2017-05-05 14:49:02 +03:00
BayoNet
edffa02b49
Description of <allow_databes> was improved.
...
Description of distributed_product_mode was improved.
Some decorative edits was made.
2017-05-05 11:15:30 +03:00
proller
6c34f27e3b
Another freebsd fix, update freebsd build doc
2017-05-05 03:23:32 +03:00
proller
1474de179c
CastTypeBlockInputStream: hotfix: sometimes columns in sample blocks and stream blocks does not match
2017-05-04 22:41:55 +03:00
proller
9a937591e5
Try fix freebsd 11-STABLE OCbuild
2017-05-04 18:25:34 +03:00
Marek Vavruša
5f1e65b252
AggregateFunctions: implemented topK(n)
...
This implements a new function for approximate
computation of the most frequent entries using
Filtered Space Saving with a merge step adapted
from Parallel Space Saving paper.
It works better for cases where GROUP BY x
is impractical due to high cardinality of x,
such as top IP addresses or top search queries.
2017-05-03 23:09:52 -07:00
Marek Vavruša
d2d7aaac69
contrib/libpoco: update Crypto to last stable
...
the last stable version 1.7.8 fixes build with
newer OpenSSL that’s in most of the distribution
2017-05-03 23:09:52 -07:00
proller
cb890e26b9
Add small .sh for easier report while investigating problem ( #741 )
...
* Add small .sh for easier report while investigating problem
* renamed: clickhouse_report.sh -> report/clickhouse_report.sh
* fix new path
2017-05-03 21:09:33 -07:00
proller
0787bd66ff
Merge: fail if cant convert columns ( #753 )
...
* Merge: fail if cant convert columns
* Merge: convert all different types, more tests
* clean
* clean
* clean
2017-05-03 21:08:59 -07:00
Igor Hatarist
bb257eec01
Add input_format_allow_errors options to the reference
2017-05-03 21:05:46 -07:00
Vitaliy Lyudvichenko
d504c5454a
Resolves #750 . Allow to load more than 16 external dictionaries. [#CLICKHOUSE-3]
2017-05-03 21:04:58 -07:00
alexey-milovidov
99c360b6c7
Update Server.cpp
2017-05-03 21:02:55 -07:00
alexey-milovidov
85e59ae3ff
Update Server.cpp
2017-05-03 21:02:55 -07:00