Commit Graph

1192 Commits

Author SHA1 Message Date
Olga Khvostikova
a6296b2eb0
Merge branch 'master' into yet-another-minor-changes-and-docs-for-hdfs 2019-09-23 18:16:01 +03:00
stavrolia
433e97f9e2 minor changes 2019-09-23 18:12:43 +03:00
stavrolia
fbe3270dfb need to mention... 2019-09-23 17:50:33 +03:00
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
70bc89557f Updates for #6969 2019-09-23 01:57:06 +03:00
alexey-milovidov
ef61e3e27d
Merge pull request #6969 from azat-archive/graphite-events-send-absolute-values
Add ability to send events with absolute values to graphite
2019-09-23 01:51:48 +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
alexey-milovidov
67e02b4ea0
Merge pull request #6957 from infinivision/add_bitmapSubsetLimit
added bitmapSubsetLimit
2019-09-22 04:58:44 +03:00
Zhichang Yu
ab7ecd84a1 fix bitmapMin and bitmapMax doc 2019-09-21 23:34:44 +08:00
Azat Khuzhin
59763cbb3a
Add ability to send events with absolute values to graphite
<events> sends only deltas for events, while sometimes it is more
convenient to get absolute values (for example to calculate rate).

This patch introduces another directive -- <events_absolute> that will handle
this.

v0: use <events> as bool/string
v2: use <events_absolute>true</events_absolute> over <events>absolute</events>
2019-09-21 02:46:47 +03: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
stavrolia
7309e813bc cleanup hdfs docs 2019-09-20 14:26:00 +03:00
alexey-milovidov
9df10d8735
Update system_tables.md 2019-09-19 14:00:56 +03:00
alexey-milovidov
b1d581e85b
Update system_tables.md 2019-09-19 13:58:50 +03:00
Sergei Bocharov
dd1af8c2ff docs(system_tables): fixes after review 2019-09-19 13:46:14 +03:00
Sergei Bocharov
c7663d92c6 docs(system_tables): fixes 2019-09-19 13:44:12 +03:00
Sergei Bocharov
4be887a803 docs(system_tables): Added info about system.contributors 2019-09-19 12:16:10 +03:00
Zhichang Yu
0dc3866c36 added bitmapSubsetLimit 2019-09-19 10:15:36 +08:00
alexey-milovidov
9b61939b68
Merge pull request #6979 from sherold/max_threads_default
Updating max_threads default value in docs.
2019-09-19 02:02:35 +03:00
alexey-milovidov
24d1b9b8c2
Update settings.md 2019-09-19 02:02:25 +03:00
Stepan Herold
edb43371a0 Updating max_threads default value in docs. 2019-09-18 16:09:45 +02:00
CurtizJ
79a08ef8ea Merge remote-tracking branch 'upstream/master' into merging_redis 2019-09-18 12:58:22 +03:00
Zhichang Yu
460ccb04a2 added bitmapMin and bitmapMax 2019-09-18 16:56:12 +08:00
Fabian Stäber
0a97359f9e
fix typo arbitary -> arbitrary
I hereby agree to the terms of the CLA available at: I hereby agree to the terms of the CLA available at:
2019-09-17 20:00:17 +02:00
Vitaly Baranov
0fb234c63e
Merge branch 'master' into dict_allow_databases 2019-09-15 01:51:44 +03:00
Guillaume Tassery
fab3c43db5 Add documentation 2019-09-13 11:17:28 +02:00
Guillaume Tassery
214d089bb5 Cosmetic and remove documentation 2019-09-13 10:26:04 +02:00
Denis Zhuravlev
886efb1794 Doc change. Added description for disable_internal_dns_cache, dns_cache_update_period (#6926) 2019-09-12 19:58:19 +03: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
7989cfb36a
DOCAPI-7437: os_thread_priority docs (#6883)
* Typo fix.

* DOCAPI-7437: os_thread_priority docs

* Update docs/en/operations/settings/settings.md

Co-Authored-By: Ivan Blinkov <github@blinkov.ru>

* Update docs/en/operations/settings/settings.md

Co-Authored-By: Ivan Blinkov <github@blinkov.ru>

* Update docs/en/operations/settings/settings.md

Co-Authored-By: Ivan Blinkov <github@blinkov.ru>
2019-09-12 11:43:21 +03:00
Guillaume Tassery
d15d5827ef Add documentation 2019-09-11 13:24:44 +02:00
Ivan Blinkov
8d5a08743a
Add link to clickhouse-flamegraph (#6901) 2019-09-11 12:06:50 +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
ce47e707c1
Merge pull request #6849 from den-crane/patch-8
Doc change. TTL examples
2019-09-10 02:41:46 +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
alexey-milovidov
84eafda093
Merge pull request #6875 from den-crane/patch-10
Doc Change. Fixed rowbinary RU translation and added rowbinarywithnamesandtypes
2019-09-10 02:39:01 +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
Denis Zhuravlev
4004f17b09
Update formats.md
Added RowBinaryWithNamesAndTypes toc. Fixed list formatting.
2019-09-09 14:09:42 -03:00
CurtizJ
3b3657ff1e Merge branch 'add-ext-dict-redis' of https://github.com/comunodi/ClickHouse into merging_redis 2019-09-09 13:51:50 +03:00
Alexander Mezhov
e25b906c7f
Fix formatting error 2019-09-09 11:18:01 +05:00
alexey-milovidov
50928323eb
Merge pull request #6859 from Enmk/docs_minor_cleanup
Docs cleanup
2019-09-08 06:28:43 +03:00
alexey-milovidov
8389200229
Merge pull request #6832 from CurtizJ/merging_input_function
Merging #5450 (table function input).
2019-09-07 20:16:45 +03:00
Vasily Nemkov
6136662d56 Docs cleanup
Unified formatting of the tables in system database
Removed extra line from settings
2019-09-07 14:03:18 +03:00
alexey-milovidov
25de2e12a2
Merge pull request #6399 from Enmk/replica_recovery_interval
Improvements for failover of Distributed queries
2019-09-07 03:21:30 +03: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
BayoNet
206062dd5e DOCAPI-7905: Update of the configurations files description. (#6261) 2019-09-06 20:06:13 +03:00
Denis Zhuravlev
88ded215ce
Update mergetree.md
TTL examples / Requested change
2019-09-06 13:52:48 -03:00
Denis Zhuravlev
529cffeeab
Update mergetree.md
TTL examples
2019-09-06 12:28:33 -03:00
Denis Zhuravlev
908055bf1a
Update mergetree.md
TTL examples
2019-09-06 12:26:55 -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
Vasily Nemkov
c2fc71b5e5 Post-PR fixes
Renamed settings, updated docs.
2019-09-05 13:35:36 +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
stavrolia
9c87e39ca2 Merge branch 'globs-in-file-one-more-attempt' of https://github.com/yandex/ClickHouse into globs-in-file-one-more-attempt 2019-09-04 22:56:47 +03:00
stavrolia
5d6959173c Improvement 2019-09-04 22:55:56 +03:00
Olga Khvostikova
600de93532
Update docs/en/operations/table_engines/hdfs.md
Co-Authored-By: Ivan Blinkov <github@blinkov.ru>
2019-09-04 16:26:52 +03:00
Olga Khvostikova
f2857ac6f2
Update docs/en/operations/table_engines/hdfs.md
Co-Authored-By: Ivan Blinkov <github@blinkov.ru>
2019-09-04 16:26:03 +03:00
Olga Khvostikova
ec53b27473
Update docs/en/operations/table_engines/hdfs.md
Co-Authored-By: Ivan Blinkov <github@blinkov.ru>
2019-09-04 16:25:07 +03:00
Olga Khvostikova
282a1e1691
Update docs/en/operations/table_engines/hdfs.md
Co-Authored-By: Ivan Blinkov <github@blinkov.ru>
2019-09-04 16:24:41 +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
b2e80b0cd9
Merge branch 'master' into query_masking 2019-09-03 22:58:15 +03:00
alexey-milovidov
554a245078
Update settings.md 2019-09-03 22:51:04 +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
alexey-milovidov
ec02ade403
Merge pull request #6791 from yandex/blinkov-patch-8
fix note markdown
2019-09-03 14:31:32 +03:00
alexey-milovidov
ed308f9467
Merge pull request #6792 from yandex/blinkov-patch-9
title case fixes
2019-09-03 14:29:54 +03:00
Ivan Blinkov
d67203bcd7
Add link to new third-party jdbc driver 2019-09-03 12:14:23 +03:00
Ivan Blinkov
839d4111f8
title case fixes 2019-09-03 12:00:52 +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
alexey-milovidov
b831f2f636
Merge pull request #6786 from den-crane/patch-3
Doc change. Example of max_block_size impact on runningDifference.
2019-09-03 02:24:59 +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
Alexander Tokmakov
31372d5f6b explicitly specify en language 2019-09-02 22:48:13 +03:00
Alexander Tokmakov
9eb1a9bae6 fix links in docs 2019-09-02 21:53:16 +03:00
Denis Zhuravlev
14e16c7a41 Doc change. Example of another approach to collapsing (using negative numbers). (#6751)
* Update collapsingmergetree.md

Example of another approach to collapsing (using negative numbers).

* Update collapsingmergetree.md

Example of another approach to collapsing (using negative numbers).

* Update collapsingmergetree.md

Example of another approach to collapsing (using negative numbers).
2019-09-02 18:11:45 +03:00
Alexander Tokmakov
4cbf095a4a update docs 2019-08-30 21:21:54 +03:00
Alexander Tokmakov
03c83169bd Merge branch 'master' into merging_template_format 2019-08-29 16:34:25 +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