Sergei Bocharov
c051964fee
fixes after review
2019-09-23 13:48:21 +03:00
Sergei Bocharov
052c1a562d
Fixes
2019-09-23 13:10:59 +03:00
Sergei Bocharov
6a4a4b5674
Docs(hash_functions): fix javaHash & hiveHash functions
2019-09-23 13:10:59 +03:00
alexey-milovidov
0dc4b1793d
Merge pull request #7036 from infinivision/fix_bitmapMax_doc
...
fix bitmapMin and bitmapMax doc
2019-09-23 01:49:04 +03:00
alexey-milovidov
6fa234cea4
Merge pull request #6894 from azat-archive/hashed-dict-memory-usage-v2
...
[RFC] Add sparsehash support for hashed dictionary (to reduce memory usage)
2019-09-22 15:55:36 +03:00
Zhichang Yu
ab7ecd84a1
fix bitmapMin and bitmapMax doc
2019-09-21 23:34:44 +08:00
Azat Khuzhin
420089c301
Add new dictionary layout (sparse_hashed) that is more memory efficient
...
With this new layout, sparsehash will be used over default HashMap,
sparsehash is more memory efficient but it is also slower.
So in a nutshell:
- HashMap uses ~2x more memory then sparse_hash_map
- HashMap ~2-2.5x faster then sparse_hash_map
(tested on lots of input, and the most close to production was
dictionary with 600KK hashes and UInt16 as value)
TODO:
- fix allocated memory calculation
- getBufferSizeInBytes/getBufferSizeInCells interface
- benchmarks
v0: replace HashMap with google::sparse_hash_map
v2: use google::sparse_hash_map only when <sparse> isset to true
v3: replace attributes with different layout
v4: use ch hash over std::hash
2019-09-21 02:22:40 +03:00
Zhichang Yu
0dc3866c36
added bitmapSubsetLimit
2019-09-19 10:15:36 +08:00
Zhichang Yu
460ccb04a2
added bitmapMin and bitmapMax
2019-09-18 16:56:12 +08:00
BayoNet
2c3457dbfe
DOCAPI-7743: CREATE TABLE AS table_function() docs. ( #6887 )
...
* Typo fix.
* DOCAPI-7743: Update of docs around table functions.
* DOCAPI-7743: More changes
* DOCAPI-7743: more fixes.
* DOCAPI-7743: CREATE TABLE
* Update docs/en/query_language/table_functions/index.md
Co-Authored-By: Ivan Blinkov <github@blinkov.ru>
* DOCAPI-7743: Fixes.
2019-09-12 17:14:19 +03:00
BayoNet
36c0179f54
Fix of links in docs ( #6884 )
...
* Typo fix.
* Links fix.
2019-09-10 14:07:05 +03:00
BayoNet
1bd75b1e74
DOCAPI-7745: optimize_throw_if_noop docs. ( #6848 )
...
* Typo fix.
* DOCAPI-7745: The first version.
* DOCAPI-7745: More text
* DOCAPI-7745: More text.
* Update docs/en/operations/settings/settings.md
Co-Authored-By: Ivan Blinkov <github@blinkov.ru>
* Update docs/en/query_language/misc.md
Co-Authored-By: Ivan Blinkov <github@blinkov.ru>
* DOCAPI-7745: Fixes.
2019-09-10 11:06:22 +03:00
alexey-milovidov
892959033f
Merge pull request #6857 from den-crane/patch-9
...
Doc change. Added some system queries (1st attempt).
2019-09-10 02:41:11 +03:00
alexey-milovidov
87ec80089a
Update system.md
2019-09-10 02:40:41 +03:00
Denis Zhuravlev
8002b7d7a8
Update docs/en/query_language/system.md
...
Co-Authored-By: Ivan Blinkov <github@blinkov.ru>
2019-09-09 15:34:48 -03:00
Denis Zhuravlev
927a31f8e2
Update docs/en/query_language/system.md
...
Co-Authored-By: Ivan Blinkov <github@blinkov.ru>
2019-09-09 15:34:08 -03:00
Denis Zhuravlev
0c6d583a15
Doc change. less confusing description for pointInEllipses ( #6790 )
2019-09-09 20:51:58 +03:00
Alexander Mezhov
e25b906c7f
Fix formatting error
2019-09-09 11:18:01 +05:00
Denis Zhuravlev
34bc227d76
Update docs/en/query_language/system.md
...
Co-Authored-By: Ivan Blinkov <github@blinkov.ru>
2019-09-06 20:11:10 -03:00
Denis Zhuravlev
3178b50505
Update docs/en/query_language/system.md
...
Co-Authored-By: Ivan Blinkov <github@blinkov.ru>
2019-09-06 20:09:02 -03:00
Denis Zhuravlev
26572e19f9
Update docs/en/query_language/system.md
...
Co-Authored-By: Ivan Blinkov <github@blinkov.ru>
2019-09-06 20:08:42 -03:00
Denis Zhuravlev
b8f1ebfe62
Update docs/en/query_language/system.md
...
Co-Authored-By: Ivan Blinkov <github@blinkov.ru>
2019-09-06 20:08:29 -03:00
Denis Zhuravlev
edf101def0
Update system.md
...
Added some system queries (1st attempt).
2019-09-06 17:54:37 -03:00
Anton Popov
69da4f30b3
Merge branch 'master' into merging_input_function
2019-09-06 16:20:00 +03:00
BayoNet
76c84d1d63
DOCAPI-7695: Functions support for indexes ( #6784 )
2019-09-06 12:07:23 +03:00
Denis Zhuravlev
a2c95b3c49
Update array_functions.md
...
added note about ArrayElement index 0 case.
2019-09-05 19:37:42 -03:00
Denis Zhuravlev
037bd893fc
Update array_functions.md
...
added note about ArrayElement index 0 case.
2019-09-05 19:36:34 -03:00
Olga Khvostikova
4129d8cf60
Merge pull request #6092 from yandex/globs-in-file-one-more-attempt
...
Globs in storage file and HDFS
2019-09-05 23:05:37 +03:00
BayoNet
a0a0f1607c
DOCAPI-8259: toInt, toUint docs refactoring and update. ( #6797 )
...
* Typo fix.
* DOCAPI-8259: toInt, toUint refactoring and update.
* Update docs/en/query_language/functions/type_conversion_functions.md
Co-Authored-By: Ivan Blinkov <github@blinkov.ru>
* DOCAPI-8259: Fixes.
* DOCAPI-8259: Fixes.
2019-09-05 10:22:30 +03:00
CurtizJ
7accc09066
Merge branch 'palasonic-add-input-function' of https://github.com/palasonic1/ClickHouse into merging_input_function
2019-09-04 15:25:20 +03:00
stavrolia
32bf915610
More docs
2019-09-04 14:11:30 +03:00
alexey-milovidov
c5ccce3c71
Merge pull request #6789 from den-crane/patch-4
...
Doc change. FROM FINAL can be used not only with CollapsingMergeTree
2019-09-03 21:34:04 +03:00
stavrolia
97ac979645
Add docs for hdfs and fix some review comments
2019-09-03 17:23:51 +03:00
alexey-milovidov
bc37ede1e6
Merge pull request #6788 from den-crane/patch-3
...
Doc change. identity function + translation to russian for throwIf / modelEvaluate
2019-09-03 14:48:37 +03:00
Ivan Blinkov
e69340dfb5
more fixes
2019-09-03 11:56:16 +03:00
Ivan Blinkov
aec5c4531f
fix note markdown
2019-09-03 11:53:22 +03:00
Denis Zhuravlev
fb1b8cf778
Update select.md
...
FROM FINAL can be used not only with CollapsingMergeTree
2019-09-02 23:21:32 -03:00
Denis Zhuravlev
9e0b312fbb
Update other_functions.md
...
throwIf second parameter
2019-09-02 22:27:48 -03:00
Denis Zhuravlev
bd1aabd280
Update other_functions.md
...
added description for identity function
2019-09-02 21:18:44 -03:00
Denis Zhuravlev
797f556a3e
Update other_functions.md
...
Changed C comment to SQL comment
2019-09-02 20:58:06 -03:00
Denis Zhuravlev
d7763e132e
Update other_functions.md
...
Example of max_block_size impact on runningDifference.
2019-09-02 17:15:40 -03:00
alexey-milovidov
9a5488fbd1
Merge pull request #6660 from den-crane/patch-1
...
Documentation change. range_hashed dict arbitrary type description.
2019-08-27 23:13:07 +03:00
BayoNet
b076933009
DOCAPI-7400: Gorilla codecs. EN review. RU translation. ( #6598 )
...
* Update create.md
* DOCAPI-7400: RU translation.
* DOCAPI-7400: Fixes.
* Update docs/ru/query_language/create.md
Co-Authored-By: Ivan Blinkov <github@blinkov.ru>
* Update docs/ru/query_language/create.md
Co-Authored-By: Ivan Blinkov <github@blinkov.ru>
* DOCAPI-7400: Clarifications.
* DOCAPI-7400: Link fix.
2019-08-27 16:49:56 +03:00
BayoNet
cbc78ffc43
DOCAPI-7443: Virtual columns docs update. EN review. RU translation. ( #6640 )
...
* Update index.md (#35 )
* DOCAPI-7443: RU translation.
* Link fix.
* DOCAPI-7443: Fixes.
* DOCAPI-7443: Fixes.
2019-08-27 14:04:52 +03:00
BayoNet
305f3ba479
DOCAPI-7428: domain function docs. EN review, RU translation. ( #6624 )
...
* Update url_functions.md
* DOCAPI-7428: RU translation
* DOCAPI-7428: Fix.
* Update docs/en/query_language/functions/url_functions.md
Co-Authored-By: Ivan Blinkov <github@blinkov.ru>
* Update docs/en/query_language/functions/url_functions.md
Co-Authored-By: Ivan Blinkov <github@blinkov.ru>
* Update docs/ru/query_language/functions/url_functions.md
Co-Authored-By: Ivan Blinkov <github@blinkov.ru>
* Update docs/ru/query_language/functions/url_functions.md
Co-Authored-By: Ivan Blinkov <github@blinkov.ru>
* Update docs/ru/query_language/functions/url_functions.md
Co-Authored-By: Ivan Blinkov <github@blinkov.ru>
* DOCAPI-7428: Fixes.
2019-08-26 19:09:30 +03:00
Denis Zhuravlev
0a4364370a
Described arbitrary datatype for range_hashed
2019-08-25 22:44:13 -03:00
Alexey Milovidov
a6997aa83f
Modifications after merging constraints support
2019-08-24 16:00:04 +03:00
Alexey Milovidov
4366791b63
Merge branch 'table-constraints' of https://github.com/NanoBjorn/ClickHouse into NanoBjorn-table-constraints
2019-08-23 07:49:10 +03:00
alexey-milovidov
7012a421c6
Merge branch 'master' into alter_table_drop_detached_part
2019-08-23 05:22:07 +03:00
Alexey Milovidov
cff8ec43f9
Rename neighbour -> neighbor
2019-08-23 04:31:04 +03:00