Commit Graph

554 Commits

Author SHA1 Message Date
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
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
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
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
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
alexey-milovidov
49aa9384af
Merge pull request #5925 from alex-krash/function_next_prev_in_block
Implement neighbour() function
2019-08-23 04:28:36 +03:00
Alexander Tokmakov
81022bb3e9 Merge branch 'master' into alter_table_drop_detached_part 2019-08-22 23:38:58 +03:00
BayoNet
4648472f1b
Merge pull request #6449 from BayoNet/en-docs/DOCAPI-7442-system.parts-new-colunms
DOCAPI-7442: system.parts new columns
2019-08-21 13:52:55 +03:00
BayoNet
f29c941429
Merge pull request #6396 from BayoNet/en-docs/DOCAPI-7984-asof-join-on
DOCAPI-7984: ASOF JOIN ON docs
2019-08-21 13:46:47 +03:00
BayoNet
bfbed4100e
Update docs/en/query_language/select.md
Co-Authored-By: Ivan Blinkov <github@blinkov.ru>
2019-08-21 12:05:23 +03:00
BayoNet
52728493d5
Update docs/en/query_language/select.md
Co-Authored-By: Ivan Blinkov <github@blinkov.ru>
2019-08-21 12:04:33 +03:00
BayoNet
fde0a2f51e
Update docs/en/query_language/select.md
Co-Authored-By: Ivan Blinkov <github@blinkov.ru>
2019-08-21 12:04:15 +03:00
BayoNet
8c5833964d
Update docs/en/query_language/select.md
Co-Authored-By: Ivan Blinkov <github@blinkov.ru>
2019-08-21 12:02:28 +03:00
BayoNet
1536d42556
Merge pull request #6235 from BayoNet/en-docs/DOCAPI-7460
DOCAPI-7460: histogram function description
2019-08-21 11:11:39 +03:00
BayoNet
9a245f7930
DOCAPI-7438: Update of quantileTiming docs. (#6455)
* Link fix.

* DOCAPI-7438: Update of quantileTiming functions docs.

* Update docs/en/query_language/agg_functions/reference.md

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

* Update docs/en/query_language/agg_functions/reference.md

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

* Update docs/en/query_language/agg_functions/reference.md

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

* DOCAPI-7438: Clarifications.

* DOCAPI-7438: Links fix.
2019-08-21 10:52:51 +03:00
alexey-milovidov
308baa182e
Merge branch 'master' into table-constraints 2019-08-21 06:33:08 +03:00
BayoNet
c43f9030da DOCAPI-7460: Clarifications. 2019-08-20 18:36:08 +03:00
Gleb Novikov
86fecc7501 Merge branch 'master' into table-constraints 2019-08-20 12:17:56 +03:00
BayoNet
87e13c494e
DOCAPI-7414: groupArrayMovingSum, groupArrayMovingAvg docs. EN review, RU translation. (#6463)
* Update reference.md

* DOCAPI-7414: RU translation

* DOCAPI-7414: Fix.

* Update docs/ru/query_language/agg_functions/reference.md

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

* Update docs/ru/query_language/agg_functions/reference.md

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

* Update docs/ru/query_language/agg_functions/reference.md

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

* Update docs/ru/query_language/agg_functions/reference.md

Co-Authored-By: Ivan Blinkov <github@blinkov.ru>
2019-08-20 10:46:31 +03:00
BayoNet
07dc167289
Typo fix in the assumeNotNull description. (#6542) 2019-08-19 12:57:53 +03:00
Nikita Vasilev
d67c0f5aa0 Merge branch 'nikvas0/index_mutate' of github.com:nikvas0/ClickHouse into nikvas0/index_mutate 2019-08-15 20:48:24 +03:00
Nikita Vasilev
00a5fe7836 Merge remote-tracking branch 'upstream/master' into nikvas0/index_mutate 2019-08-15 19:48:57 +03:00
BayoNet
c4df1d948b DOCAPI-7415: Docs for the -Resample aggregate function combinator. (#5972) 2019-08-15 13:09:36 +03:00
alexey-milovidov
7a439e269f
Merge pull request #6470 from alex-krash/function_user
Function currentUser()
2019-08-14 20:09:54 +03:00
BayoNet
5a9f31ede4
DOCAPI-7062: MySQL database engine and MergeTree TTL docs. EN review, RU translation (#6407)
* Update create.md

* Update mergetree.md

* Update index.md

* Update mysql.md

* DOCAPI-7062: RU translation.

* DOCAPI-7062: Fixes

* Update docs/ru/database_engines/index.md

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

* Update docs/ru/database_engines/mysql.md

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

* Update docs/ru/database_engines/mysql.md

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

* Update docs/ru/database_engines/mysql.md

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

* Update docs/ru/operations/table_engines/mergetree.md

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

* Update docs/ru/operations/table_engines/mergetree.md

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

* Update docs/ru/operations/table_engines/mergetree.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-7062: Clarifications and fixes.

* DOCAPI-7062: Clarifications.

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

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

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

Co-Authored-By: Ivan Blinkov <github@blinkov.ru>
2019-08-14 19:42:09 +03:00
Alexandr Krasheninnikov
d9234a64c4 Make function return initial user 2019-08-14 15:18:11 +03:00
BayoNet
6472768c07
DOCAPI-7090: SYSTEM DISTRIBUTED docs. EN review. RU translation. (#6262) 2019-08-14 10:58:30 +03:00
Alexandr Krasheninnikov
4d145cb72b Documentation added 2019-08-13 19:08:12 +03:00
Alexandr Krasheninnikov
ea9cf3a62f Done 2019-08-13 16:11:24 +03:00
Nikita Vasilev
cf2dda0419
Update docs/en/query_language/alter.md
Co-Authored-By: Ivan Blinkov <github@blinkov.ru>
2019-08-12 22:34:53 +03:00
Nikita Vasilev
5afa7b5148
Update docs/en/query_language/alter.md
Co-Authored-By: Ivan Blinkov <github@blinkov.ru>
2019-08-12 22:34:40 +03:00
Nikita Vasilev
fc913b6c4f
Update docs/en/query_language/alter.md
Co-Authored-By: Ivan Blinkov <github@blinkov.ru>
2019-08-12 22:34:27 +03:00
BayoNet
16bab88226 DOCAPI-7442: 7442 2019-08-12 13:27:28 +03:00
Gleb Novikov
381ea6cb6e Merge branch 'master' into table-constraints 2019-08-11 12:38:34 +03:00
Nikita Vasilev
75e381bde4 Merge remote-tracking branch 'upstream/master' into nikvas0/index_mutate 2019-08-10 23:07:50 +03:00
Nikita Vasilev
82fc0f6b15 docs 2019-08-10 16:52:01 +03:00
Alexander Tokmakov
ae6efb23b4 Merge branch 'master' into alter_table_drop_detached_part 2019-08-08 22:31:31 +03:00
Alexander Tokmakov
d1ebfaacd6 update docs 2019-08-08 22:28:25 +03:00
BayoNet
c5a778934e DOCAPI-7984: ASOF JOIN ... ON syntax 2019-08-08 11:37:08 +03:00
alexey-milovidov
99fad0904b
Merge pull request #6314 from infinivision/add_bitmapRange
added bitmapRange function
2019-08-08 04:51:48 +03:00
BayoNet
7a0baefac0
DOCAPI-7783: Update of the SET query documentation (#6165)
* DOCAPI-7783: Update of the SET query documentation.
2019-08-07 21:12:36 +03:00
BayoNet
c5b25b23e3
DOCAPI-8016: Adam weights mention in docs
* DOCAPI-8016: Added mention about Adam method of updating weights in regressions.
* DOCAPI-8016: RU translation.
2019-08-07 20:06:56 +03:00
BayoNet
da6ca3f8c7
DOCAPI-7413: T64 codec docs (#6347) 2019-08-07 19:02:56 +03:00
Vasily Nemkov
fcb0482830 Implement geohashesInBox function. #6127 2019-08-06 17:53:06 +03:00
Zhichang Yu
e1f3ef2115 renamed bitmapRange to bitmapSubsetInRange 2019-08-05 10:27:12 +08:00
Zhichang Yu
4f146eaa7e added bitmapRange function 2019-08-03 23:07:46 +08:00