Commit Graph

1262 Commits

Author SHA1 Message Date
Azat Khuzhin
f46c5a47c0 Introduce uniqCombined64() to get sane results for cardinality > UINT_MAX
By default uniqCombined() uses 32-bit hash for all types except String,
so this means that you cannot use uniqCombined() with i.e UInt64 and
cardinality > UINT_MAX, although you can use uniqCombined(toString())
and this will lead to 64-bit hash, but will not have good performance.

So uniqCombined64() had been introduced to fix this.

Requires: #7213
2019-10-08 21:59:35 +03:00
Denis Zhuravlev
6f51d92031 Doc change. Added links to other doc articles (distributed.md) (#7144) 2019-10-08 16:56:48 +03:00
Vasilyev Nikita
94fd716e32 fix 2019-10-08 11:33:21 +03:00
Vasilyev Nikita
a8b1ba93ff docs 2019-10-08 11:31:12 +03:00
Alexander Tokmakov
1c5ee018df update docs 2019-10-07 21:55:12 +03:00
Ivan Blinkov
15deedb420
[docs] fix some title case 2019-10-07 20:00:21 +03:00
alexey-milovidov
aa15bfbd33
Update client_libraries.md 2019-10-07 17:08:34 +03:00
alexey-milovidov
c743a9f9ff
Merge pull request #7190 from godfreyd/godfreyd-currentUser
docs(currentUser): fix description
2019-10-05 21:55:10 +03:00
Alexander Tokmakov
a90d126b93 support defaults_for_omitted_fields in TSV 2019-10-04 22:44:48 +03:00
Alexander Tokmakov
d936cee836 support null_as_default in most text formats 2019-10-04 22:42:35 +03:00
Sergei Bocharov
da0e9a1106 Fixes 2019-10-04 10:24:41 +03:00
Elena Baskakova
9d2f9c3d7f docs(currentUser): fix description 2019-10-04 10:20:17 +03:00
Alexander Tokmakov
565c273eaa Merge branch 'master' into merging_values_with_expressions 2019-10-02 20:51:44 +03:00
Alexander Tokmakov
80e5976d10 fixes after review 2019-10-02 20:51:00 +03:00
Ivan
381947509a
Fix build for Darwin (#7149)
* Disable some contribs for cross-compilation
* Fix clang-8-darwin build
* Also fix docs
* Add diagnostics
* Check cross-compilation in each file individually.
* Disable warning for clang < 9
2019-10-02 17:35:07 +03:00
Denis Zhuravlev
b8a1164d05
Update array_functions.md
Fix array functions descriptions.
2019-09-30 20:03:09 -03:00
Denis Zhuravlev
c224ae0afd
Update array_functions.md
Fix array functions descriptions.
2019-09-30 19:26:30 -03:00
Alexander Tokmakov
979f235e38 Merge branch 'master' into merging_values_with_expressions 2019-09-30 18:06:58 +03:00
alexey-milovidov
e50a874537
Merge pull request #7118 from ClickHouse/improve_template_format
Minor improvements of Template format
2019-09-30 15:00:27 +03:00
alexey-milovidov
cbd2f1d8cd
Merge pull request #7112 from godfreyd/godfreyd-startswith
Docs(startsWith): Fix startsWith function
2019-09-30 14:59:39 +03:00
alexey-milovidov
42c9ea9aa3
Merge pull request #7092 from PerformanceVision/acl_file_storage
Let the choice to write credential for HTTP source on external dictionaries
2019-09-30 13:20:33 +03:00
Sergei Bocharov
b641c7e163 Fix replicate function description 2019-09-30 12:18:43 +03:00
Sergei Bocharov
8a579ee3a6 Fixes after review 2019-09-30 10:24:02 +03:00
BayoNet
34b61e8dff
DOCAPI-7442: EN review, RU translation for updated system.parts docs (#7041)
* Typo fix.

* Update system_tables.md (#40)

* DOCAPI-7442: RU translation.

* DOCAPI-7442: Fix.
2019-09-28 17:58:10 +03:00
BayoNet
fa31743ace
DOCAPI-8259: EN review, RU translation. toInt, toUint docs refactoring and update (#7043)
* Typo fix.

* Update type_conversion_functions.md (#48)

* DOCAPI-8259: RU translation

* DOCAPI-8259: EN. Numeric conversion issues.

* DOCAPI-8259: Clarification.
2019-09-28 17:55:50 +03:00
alexey-milovidov
ad687cd2e5
Merge pull request #7138 from den-crane/patch-14
Doc change. fix arrayDistinct description
2019-09-27 22:46:14 +03:00
alexey-milovidov
2cd1bde2f2
Merge pull request #7129 from DIGILANT/doc
Added Redash as third-parti GUI tool.
2019-09-27 22:21:56 +03:00
Denis Zhuravlev
e97571d521
Update array_functions.md
fix arrayDistinct description
2019-09-27 15:05:11 -03:00
BayoNet
a04756d0dd
DOCAPI-8799: Updated SHOW TABLE dscr. Restructured TOC (#7128)
* Typo fix.

* Links fix.

* Fixed links in docs.

* More fixes.

* Link fixes.

* DOCAPI-8799: Updated SHOW TABLES. Restructured TOC.

* DOCAPI-8799: Fix.

* DOCAPI-8799: Links fix.
2019-09-27 18:44:36 +03:00
Darío
f7bf293cbf
Update gui.md 2019-09-27 14:28:00 +02:00
Dario
88b9672108 Added Redash to the GUI documentation 2019-09-27 14:23:12 +02:00
Zhichang Yu
8945714c27 added groupBitmapAnd, groupBitmapOr, groupBitmapXor 2019-09-27 10:21:07 +08:00
BayoNet
38f95e9fbc DOCAPI-8299: Added a link with metrics for system.metrics (#7110)
* Typo fix.

* Links fix.

* Fixed links in docs.

* More fixes.

* Link fixes.

* DOCAPI-8299: Reference to source code.
2019-09-26 21:24:47 +03:00
tavplubix
c3ed1f38a6
Merge branch 'master' into improve_template_format 2019-09-26 19:19:11 +03:00
Alexander Tokmakov
3e07e144a4 update docs 2019-09-26 19:10:22 +03:00
Sergei Bocharov
a0e11264ee Fix startsWith function 2019-09-26 14:39:39 +03:00
BayoNet
df8cb4b619
DOCAPI-7413: EN revew, RU translation. T64 codec docs (#7021)
* Update create.md (#32)

* DOCAPI-7413: Fixes.

* DOCAPI-7413: Fixes.

* DOCAPI-7413: RU translation.
2019-09-26 11:51:48 +03:00
BayoNet
1fdc2b5675
DOCAPI-6422: EN docs for adaptive index granularity and some settings (#7012)
* Typo fix.

* Links fix.

* Fixed links in docs.

* More fixes.

* DOCAPI-6422: Adaptive granularity

* DOCAPI-6422: fix.

* Update settings.md

* Update settings.md

* DOCAPI-6422: Clarifications and fixes.

* DOCAPI-6422: Fix.

* DOCAPI-6422: Link fix.
2019-09-26 11:45:08 +03:00
Guillaume Tassery
53b10d5b60 docs 2019-09-26 05:42:45 +02:00
Guillaume Tassery
6ac5054f81 Merge branch 'acl_file_storage' of github.com:PerformanceVision/ClickHouse into acl_file_storage 2019-09-26 05:36:06 +02:00
Guillaume Tassery
647568a6f6 cosmetic 2019-09-26 05:34:22 +02:00
Alexander Tokmakov
64b2fddcfd update docs 2019-09-26 01:15:47 +03:00
BayoNet
4a60e8187b
Fixing links in docs (#7098)
* Typo fix.

* Links fix.

* Fixed links in docs.

* More fixes.

* Link fixes.
2019-09-25 19:43:10 +03:00
Guillaume Tassery
f9660bbe47
Update external_dicts_dict_sources.md 2019-09-25 13:37:13 +02:00
Guillaume Tassery
367a0dcdb4 cosmetic 2019-09-25 11:46:48 +02:00
Guillaume Tassery
0267c65e27 Add documentation 2019-09-25 11:42:17 +02:00
Alexey Milovidov
ff07ffbbae Merge branch 'merging_redis' of https://github.com/CurtizJ/ClickHouse into CurtizJ-merging_redis 2019-09-25 02:27:05 +03:00
BayoNet
f5ba279a6d DOCAPI-8163: Update for EN docs for sequenceMatch and sequenceCount (#6952)
* Typo fix.

* Links fix.

* Fixed links in docs.

* More fixes.

* DOCAPI-8163: Docs for sequenceMatch and sequenceCount.
2019-09-25 02:19:14 +03:00
Denis Zhuravlev
30136fa4ad Doc change. Added description for interserver_http_credentials (#6927)
* Update settings.md

Added description for interserver_http_credentials

* Update settings.md

Added description for interserver_http_credentials

* Update settings.md

* Update settings.md

* Update settings.md

* Update settings.md
2019-09-25 02:14:23 +03:00
BayoNet
c3c3f3829e DOCAPI-7719: Columns matcher docs (#6831)
* Typo fix.

* DOCAPI-7719: Docs

* DOCAPI-7719: Text.

* DOCAPI-7719: Text.

* DOCAPI-7719: Update.

* DOCAPI-7719: Update.
2019-09-25 02:07:52 +03:00
Ivan Lezhankin
7285bad1e7 Merge remote-tracking branch 'upstream/master' into issue-6459 2019-09-24 17:52:50 +03:00
Ivan Lezhankin
dac5889bc4 Add build instruction 2019-09-24 17:43:07 +03:00
Sergei Bocharov
4761436a52 Docs(hash_functions): fix xxHash32, xxHash64 (#6992)
* docs(hash_functions): fix xxHash32, xxHash64

* Fixes after review

* Fixes after review

* Update hash_functions.md

* Update hash_functions.md
2019-09-24 03:50:58 +03:00
BayoNet
f26fdc63a0 DOCAPI-7415: EN review, RU translation. Docs for the -Resample aggregate function combinator. (#7017)
* Update combinators.md (#39)

* DOCAPI-7415: RU translation

* DOCAPI-7415: fix.
2019-09-24 03:04:52 +03:00
BayoNet
6db4cb8117 DOCAPI-7430: EN review, RU translation. MergeTree INDEX bloom filter docs. (#7025)
* Update mergetree.md (#38)

* DOCAPI-7430: RU translation.
2019-09-24 03:02:36 +03:00
BayoNet
5b38a7f441 DOCAPI-7438: EN review, RU translation. Update of quantileTiming docs (#7033)
* Typo fix.

* Update reference.md (#45)

* DOCAPI-7438: RU translation
2019-09-24 03:01:19 +03:00
BayoNet
3d20675529 DOCAPI-7460: EN review. RU translation. Histogram function description (#7034)
* Typo fix.

* Update parametric_functions.md (#42)

* DOCAPI-7460: RU translation.

* Update parametric_functions.md
2019-09-24 02:59:49 +03:00
BayoNet
317e57bbc0 DOCAPI-7984: EN review, RU translation. ASOF JOIN ON docs (#7035)
* Typo fix.

* Update select.md (#41)

* DOCAPI-7984: RU translation
2019-09-24 02:57:32 +03:00
BayoNet
1143eefda6 DOCAPI-7991: EN review, RU translation for the update of Log engines docs (#7040)
* Typo fix.

* Update log_family.md (#43)

* Update tinylog.md (#44)

* DOCAPI-7991: RU translation.
2019-09-24 02:55:50 +03:00
BayoNet
779648f7cc DOCAPI-7695: EN review, RU translation. Functions support for indexes (#7045)
* Typo fix.

* DOCAPI-7695: Typo fixed

* Update mergetree.md (#49)

* DOCAPI-7695: RU translation

* Update mergetree.md
2019-09-24 02:50:26 +03:00
BayoNet
2f580c2bbb DOCAPI-7745: EN review, RU translation for optimize_throw_if_noop docs (#7051)
* Typo fix.

* Update settings.md (#50)

* Update misc.md (#51)

* DOCAPI-7745: RU translation.

* DOCAPI-7745: Fixes.
2019-09-24 02:45:47 +03:00
dasmfm
ff9682cc32 Doc fix for SELECT ... FINAL (#6157)
* Update select.md

* Update select.md
2019-09-24 02:42:52 +03:00
BayoNet
b46e31d198 DOCAPI-7743: EN review, RU translation for CREATE TABLE AS table_function() docs (#7056)
* Typo fix.

* Links fix.

* Fixed links in docs.

* More fixes.

* Update index.md (#57)

* DOCAPI-7743: RU translation.

* Update select.md

* Update index.md
2019-09-24 02:32:02 +03:00
BayoNet
37481d8019 DOCAPI-7437: EN review, RU translation for os_thread_priority docs (#7055)
* Typo fix.

* Links fix.

* Fixed links in docs.

* More fixes.

* Update settings.md (#55)

* DOCAPI-7437: RU translation

* DOCAPI-7437: Fix.
2019-09-24 02:28:53 +03:00
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
d8b8c779d2 Changed repository URL, part 2 2019-09-23 19:21:18 +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
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