Commit Graph

585 Commits

Author SHA1 Message Date
alexey-milovidov
7d2a16ee39
Merge pull request #7486 from sundy-li/char_function
functions: add char function
2019-11-05 01:40:18 +03:00
alexey-milovidov
d08bfbd3e1
Merge pull request #7328 from Joeywzr/arrayCompact
implement arrayCompact
2019-11-03 01:07:19 +03:00
alexey-milovidov
fa0274e223
Merge pull request #7380 from hczhcz/patch-1018
Add function arrayFill and arrayReverseFill
2019-11-03 01:06:41 +03:00
alexey-milovidov
b8404a7779
Merge pull request #7568 from andrei-karpliuk/doc_ru_en_system_stop_start_merges
Added brief description for queries system stop|start merges
2019-11-02 00:56:04 +03:00
andrei-karpliuk
9fae5b60a0 asterisk removed from note 2019-11-01 17:31:06 +03:00
BayoNet
6d2c5d61a1 DOCS-8799: EN review, RU translation. SHOW TABLES update and toc restructurization. (#7367) 2019-11-01 17:20:28 +03:00
andrei-karpliuk
c655e939c4 separated stop and start commands 2019-11-01 17:17:49 +03:00
andrei-karpliuk
8203569fdf
Update docs/en/query_language/system.md
Co-Authored-By: Ivan Blinkov <github@blinkov.ru>
2019-11-01 16:27:26 +03:00
andrei-karpliuk
3b0f41f71b clarified 2019-11-01 13:28:39 +03:00
andrei-karpliuk
7409002ce0 added brief description for queries system stop|start merges 2019-11-01 11:45:09 +03:00
alexey-milovidov
331aaa161c
Merge pull request #7490 from godfreyd/godfreyd-fixes
Fixes agg functions usage
2019-10-31 00:17:52 +03:00
alexey-milovidov
c3645595ee
Merge pull request #7521 from godfreyd/godfreyd-CLICKHOUSEDOCS-43
Docs(repeat): Added repeat function description
2019-10-31 00:11:49 +03:00
BayoNet
a06c8a1dec CLICKHOUSEDOCS-443: fixes. 2019-10-30 19:47:53 +03:00
BayoNet
e2bceb4b01 CLICKHOUSEDOCS-443: Fixes in translation and markup. 2019-10-30 15:46:22 +03:00
liu-bov
7b3e34a79a docs(repeat): Added repeat function description 2019-10-29 12:39:29 +03:00
memo
3449e8d107 fix 2019-10-29 10:27:54 +08:00
Alexander Kuzmenkov
6e2af3db41
Merge pull request #7480 from azat/crc-v3
Add CRC32IEEE()/CRC64() support
2019-10-28 16:16:37 +03:00
sundy-li
538b77c123 functions: add char function as mysql behavior 2019-10-28 10:44:56 +08:00
hcz
01d384e6bd Add docs 2019-10-26 21:38:05 +08:00
Sergei Bocharov
7db76a50f1 Fixes 2019-10-25 17:15:35 +03: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
filimonov
cbecfd2432
Fixing 'note' markdown 2019-10-25 13:04:07 +02:00
filimonov
3e9e258693
remove some obsolete notes about mutations 2019-10-25 11:37:22 +02:00
Mikhail f. Shiryaev
3d2eab7535 Add PARTITION ID to OPTIMIZE documentation 2019-10-24 09:49:58 +02:00
BayoNet
04a6c6ac4d
Docs links fix (#7448)
* Typo fix.

* Links fix.

* Fixed links in docs.

* More fixes.

* Link fixes.

* Fixed links.
2019-10-23 13:51:06 +03: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
memo
645bcdacae add docs and simplify the code 2019-10-22 10:23:07 +08:00
Vitaly Baranov
f611fd4dfa
Merge pull request #7293 from Vdimir/feature/isvalidjson-5910
Add function isValidJSON
2019-10-21 21:24:18 +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
hcz
502672c973 Add aggregate function combinators: -OrNull & -OrDefault (#7331) 2019-10-18 12:25:39 +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
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
4331a1614f Fixes after review 2019-10-14 13:34:27 +03:00
Danila Kutenin
61a97add8d Some docs 2019-10-13 15:35:43 +02:00
Danila Kutenin
57f20ba17e All multi{Fuzzy}MatchAllIndices functions 2019-10-13 15:22:09 +02:00
alexey-milovidov
4dffc67434
Merge pull request #7291 from sundy-li/FQDN
Function FQDN, fullHostName
2019-10-12 20:02:22 +03:00
VDimir
9a9a234410 Add doc for isValidJSON 2019-10-12 12:00:46 +00:00
sundy-li
4e48992397 fullHostName by function getFQDNOrHostName 2019-10-12 17:21:30 +08:00
sundy-li
59d2989826 Function FQDN,fullHostName 2019-10-12 15:17:30 +08:00
Zhichang Yu
679db35ed3 Fixed #7109 groupBitmapOr(31) segfault 2019-10-12 10:36:52 +08: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
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
6d31c3e730
Update reference.md 2019-10-09 20:28:15 +03:00
alexey-milovidov
4c1f0177b6
Merge pull request #7109 from infinivision/aggBitmapAnd
added groupBitmapAnd, groupBitmapOr, groupBitmapXor
2019-10-08 22:51:46 +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
Ivan Blinkov
15deedb420
[docs] fix some title case 2019-10-07 20:00:21 +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