Commit Graph

496 Commits

Author SHA1 Message Date
alexey-milovidov
108ea4a330
Merge pull request #6995 from godfreyd/godfrey-javahash-hivehash
Docs(hash_functions): fix javaHash & hiveHash functions
2019-09-24 02:27:49 +03:00
alexey-milovidov
834fe73bad
Update hash_functions.md 2019-09-24 02:27:24 +03:00
alexey-milovidov
56bd02cf3a
Merge pull request #7016 from ClickHouse/yet-another-minor-changes-and-docs-for-hdfs
Cleanup hdfs docs (instead of #6876 for  #5371)
2019-09-24 02:23:59 +03:00
Alexey Milovidov
8579c26efb Changed repository URL 2019-09-23 19:18:19 +03:00
BayoNet
2d2bc052e1
DOCAPI-8530: Code blocks markup fix (#7060)
* Typo fix.

* Links fix.

* Fixed links in docs.

* More fixes.

* docs/en: cleaning some files

* docs/en: cleaning data_types

* docs/en: cleaning database_engines

* docs/en: cleaning development

* docs/en: cleaning getting_started

* docs/en: cleaning interfaces

* docs/en: cleaning operations

* docs/en: cleaning query_lamguage

* docs/en: cleaning en

* docs/ru: cleaning data_types

* docs/ru: cleaning index

* docs/ru: cleaning database_engines

* docs/ru: cleaning development

* docs/ru: cleaning general

* docs/ru: cleaning getting_started

* docs/ru: cleaning interfaces

* docs/ru: cleaning operations

* docs/ru: cleaning query_language

* docs: cleaning interfaces/http

* Update docs/en/data_types/array.md

decorated ```

Co-Authored-By: BayoNet <da-daos@yandex.ru>

* Update docs/en/getting_started/example_datasets/nyc_taxi.md

fixed typo

Co-Authored-By: BayoNet <da-daos@yandex.ru>

* Update docs/en/getting_started/example_datasets/ontime.md

fixed typo

Co-Authored-By: BayoNet <da-daos@yandex.ru>

* Update docs/en/interfaces/formats.md

fixed error

Co-Authored-By: BayoNet <da-daos@yandex.ru>

* Update docs/en/operations/table_engines/custom_partitioning_key.md

Co-Authored-By: BayoNet <da-daos@yandex.ru>

* Update docs/en/operations/utils/clickhouse-local.md

Co-Authored-By: BayoNet <da-daos@yandex.ru>

* Update docs/en/query_language/dicts/external_dicts_dict_sources.md

Co-Authored-By: BayoNet <da-daos@yandex.ru>

* Update docs/en/operations/utils/clickhouse-local.md

Co-Authored-By: BayoNet <da-daos@yandex.ru>

* Update docs/en/query_language/functions/json_functions.md

Co-Authored-By: BayoNet <da-daos@yandex.ru>

* Update docs/en/query_language/functions/json_functions.md

Co-Authored-By: BayoNet <da-daos@yandex.ru>

* Update docs/en/query_language/functions/other_functions.md

Co-Authored-By: BayoNet <da-daos@yandex.ru>

* Update docs/en/query_language/functions/other_functions.md

Co-Authored-By: BayoNet <da-daos@yandex.ru>

* Update docs/en/query_language/functions/date_time_functions.md

Co-Authored-By: BayoNet <da-daos@yandex.ru>

* Update docs/en/operations/table_engines/jdbc.md

Co-Authored-By: BayoNet <da-daos@yandex.ru>

* docs: fixed error

* docs: fixed error
2019-09-23 18:31:46 +03:00
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
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
stavrolia
7309e813bc cleanup hdfs docs 2019-09-20 14:26:00 +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