Commit Graph

971 Commits

Author SHA1 Message Date
alexey-milovidov
a17cefb9c6
Merge pull request #7465 from Felixoid/mark_cache_doc
Add user setting mark_cache_min_lifetime documentation
2019-10-28 16:17:28 +03:00
Mikhail f. Shiryaev
0cdd7ca6b9 Add user setting mark_cache_min_lifetime documentation 2019-10-25 23:10:04 +02:00
Azat Khuzhin
2d2e738085 Add CRC32IEEE()/CRC64() support
zlib's implementation uses CRC-32-IEEE 802.3 polynomial (0xedb88320) but
with starting value 0xffffffff, so introduce another crc32
implementation - CRC32IEEE that has starting value - 0

Also add CRC64 with ECMA polynomial.

v2: s/crc*_data./crc*_data./ to avoid conflicts with other crc32.h in contrib
v3: join with existing CRC32()
2019-10-25 15:52:41 +03:00
Mikhail f. Shiryaev
3d2eab7535 Add PARTITION ID to OPTIMIZE documentation 2019-10-24 09:49:58 +02:00
Alexander Kuzmenkov
5ac672bfdf
Merge pull request #7273 from azat/uniqCombined-fix-docs
[RFC] Drop note about "estimation error for large sets will be large"
2019-10-23 13:49:04 +03:00
alexey-milovidov
4b9e9cea56
Merge pull request #7389 from azat/count_distinct_implementation_uniqCombined64
docs: enumerate uniqCombined64 for count_distinct_implementation
2019-10-23 07:31:14 +03:00
Vitaly Baranov
f611fd4dfa
Merge pull request #7293 from Vdimir/feature/isvalidjson-5910
Add function isValidJSON
2019-10-21 21:24:18 +03:00
alexey-milovidov
5286d0afb2
Merge pull request #7375 from kopysov/patch-1
Fix docs on the tiered storage and add its translation into english
2019-10-20 19:26:21 +03:00
Aleksey Akulovich
a019e45093 fix typos in docs and comment (#7385) 2019-10-20 12:43:54 +08:00
VDimir
f1630b4e2e Merge branch 'master' into feature/isvalidjson-5910 2019-10-19 06:21:21 +00:00
Azat Khuzhin
5e299a46bb docs: enumerate uniqCombined64 for count_distinct_implementation 2019-10-18 23:07:20 +03:00
BayoNet
e1e82cb438
DOCS-8299: Added a link with metrics for system.metrics in RU docs (#7379)
* Typo fix.

* Links fix.

* Fixed links in docs.

* More fixes.

* Link fixes.

* DOCAPI-8299: Link update in RU docs.
2019-10-18 12:25:56 +03:00
Vladimir Kopysov
6c1f4176bb Fix documentation on the tiered storage
Only storage policies can be set upon table creation. While disks
must be defined in order to configure a storage policy, this logically
follows from the above paragraph and does not need to be explicitly
repeated.
2019-10-17 17:47:52 +03:00
Alexander Kuzmenkov
b62c9e729d
Merge pull request #7215 from ClickHouse/formats_improvements
Miscellaneous formats improvements
2019-10-17 17:37:38 +03:00
Vladimir Kopysov
055f932a8c Fix documentation on the tiered storage
The fix follows from the 'storage_configuration.xml' file of the
'test_multiple_disks' integration test. The correct behaviour was tested
on the local ClickHouse server version 19.15.3 revision 54426.
2019-10-17 17:29:24 +03:00
BayoNet
7601fafe63
DOCS-413: Links fixes. (#7362)
* Typo fix.

* Links fix.

* Fixed links in docs.

* More fixes.

* Link fixes.

* CLICKHOUSEDOCS-413: Links fixes.
2019-10-17 13:38:32 +03:00
tavplubix
c4b46e113e
Merge branch 'master' into formats_improvements 2019-10-16 23:00:17 +03:00
Nikolai Kochetov
dfe297b93f
Merge pull request #6570 from godfreyd/godfreyd-clickhouse-catboost
Docs(solutions): applying a CatBoost model in ClickHouse
2019-10-16 17:24:11 +03:00
Alexander Tokmakov
aa9d29d6ae Merge branch 'master' into formats_improvements 2019-10-16 17:15:13 +03:00
alexey-milovidov
1b8cb59e4b
Merge pull request #7286 from azat/docs-agg_functions-notes-fixes
Fix notes syntax in documentation
2019-10-14 20:12:53 +03:00
Sergei Bocharov
8b27fa975e Fixes 2019-10-14 16:13:26 +03:00
Sergei Bocharov
6920592143 Fix .data to data 2019-10-14 16:08:46 +03:00
Sergei Bocharov
bf90e0eef9 Fixes 2019-10-14 15:39:42 +03:00
Sergei Bocharov
fe63646cb4 Fixes Integrate CatBoost Topic 2019-10-14 13:34:27 +03:00
Sergei Bocharov
443299fdf5 Fixed step 3 — added info about libcatboostmodel 2019-10-14 13:34:27 +03:00
Sergei Bocharov
1838ddde0b Fix links 2019-10-14 13:34:27 +03:00
Sergei Bocharov
058217386a Fixes after review 2019-10-14 13:34:27 +03:00
Sergei Bocharov
d52edf15c9 Fixes 2019-10-14 13:34:27 +03:00
Sergei Bocharov
4b11a2e30b Added .yaspellerrc 2019-10-14 13:34:27 +03:00
Sergei Bocharov
1f394202e6 Fix typos 2019-10-14 13:34:27 +03:00
Sergei Bocharov
f0c38c82ca Fix typos 2019-10-14 13:34:27 +03:00
Sergei Bocharov
f5ebf2ccb7 Added Quick Start info 2019-10-14 13:34:27 +03:00
Sergei Bocharov
e2c3db4772 Fixes after review2 2019-10-14 13:34:27 +03:00
Sergei Bocharov
4331a1614f Fixes after review 2019-10-14 13:34:27 +03:00
Sergei Bocharov
61709ccb14 Fix typo 2019-10-14 13:34:27 +03:00
Sergei Bocharov
efccf28cfb docs(solutions): applying a CatBoost model in ClickHouse 2019-10-14 13:34:27 +03:00
Danila Kutenin
57f20ba17e All multi{Fuzzy}MatchAllIndices functions 2019-10-13 15:22:09 +02:00
VDimir
9a9a234410 Add doc for isValidJSON 2019-10-12 12:00:46 +00:00
Azat Khuzhin
b0e131a46f docs: fix notes syntax (triple !) 2019-10-11 23:21:59 +03:00
Azat Khuzhin
c2fa7ffcd3 Drop note about "estimation error for large sets will be large"
Since error is not that large, especially for uniqCombined64():

rows     error     uniqCombined64()/rows
- 1e7    0.00219   (1.0021969)
- 1e8    0.00096   (0.99903523)
- 2e8    0.50200   (1.005022735)
- 1e9    0.99944   (0.999435738)
- 1e10   0.01399   (0.9998568925)
- 1e11   0.09800   (1.00097891658)
- 1e12   0.29800   (0.997024870685)
- 1e13   0.62200   (1.0062169910992)
- 1e14   0.06200   (1.00062143604171)
2019-10-10 02:03:14 +03:00
alexey-milovidov
2a94198445
Update mysql.md 2019-10-09 21:28:22 +03:00
alexey-milovidov
689411abe0
Merge pull request #7222 from azat/uniqCombined64
[RFC] Introduce uniqCombined64() to get sane results for cardinality > UINT_MAX
2019-10-09 20:29:56 +03:00
alexey-milovidov
0555749096
Update reference.md 2019-10-09 20:29:12 +03:00
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
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
Vladimir Chebotarev
4ee50d3f66
Minor doc fixes. 2019-10-04 19:28:32 +03:00
Sergei Bocharov
da0e9a1106 Fixes 2019-10-04 10:24:41 +03:00