Commit Graph

585 Commits

Author SHA1 Message Date
vdimir
ada4a2ba00
Upd doc for isIPAddressInRange 2021-03-29 13:43:21 +03:00
Alexey
e91002eda6 simple example (tags and inserted whitespaces) 2021-03-28 19:55:26 +00:00
Alexey
55b40011d9 extractTextFromHTML syntax added 2021-03-28 18:42:04 +00:00
Tatiana Kirillova
8d3f6be370 minor fixes 2021-03-28 21:26:51 +03:00
Tatiana Kirillova
e4bf63f470 Link for see also 2021-03-26 12:25:33 +03:00
Tatiana Kirillova
25052fc3f2 Reads file as a String 2021-03-26 11:47:41 +03:00
Tatiana Kirillova
9f6ad165c8 Updated description 2021-03-26 11:22:43 +03:00
Tatiana Kirillova
db505553a4 Reads file as String - description of the new function. 2021-03-26 10:09:51 +03:00
PHO
26dc629366 Add a function isIPAddressContainedIn()
This function takes an IP address and a CIDR network prefix, and determines if the address is contained in the network. It supports both IPv4 and IPv6 addresses, and expects arguments to be strings.

ClickHouse doesn't support union types. We cannot use the native IPv4 and IPv6 types for this reason.
2021-03-26 12:11:35 +09:00
AnaUvarova
17c9e7de10
Update docs/en/sql-reference/functions/string-search-functions.md
Co-authored-by: Anna <42538400+adevyatova@users.noreply.github.com>
2021-03-23 19:10:48 +03:00
ana-uvarova
9fd0d09ba2 subheaders clarification and short descr 2021-03-23 09:38:47 +03:00
AnaUvarova
1fd7a2a90f
Update docs/en/sql-reference/functions/string-search-functions.md
Co-authored-by: Anna <42538400+adevyatova@users.noreply.github.com>
2021-03-23 09:28:37 +03:00
AnaUvarova
70b44373cb
Update docs/en/sql-reference/functions/string-search-functions.md
Co-authored-by: Anna <42538400+adevyatova@users.noreply.github.com>
2021-03-23 09:27:12 +03:00
AnaUvarova
0bb6275dfe
Update docs/en/sql-reference/functions/string-search-functions.md
Co-authored-by: Anna <42538400+adevyatova@users.noreply.github.com>
2021-03-23 09:26:48 +03:00
AnaUvarova
a5d8741060
Update docs/en/sql-reference/functions/string-search-functions.md
Co-authored-by: Anna <42538400+adevyatova@users.noreply.github.com>
2021-03-23 09:26:35 +03:00
AnaUvarova
e58a8dd033
Update docs/en/sql-reference/functions/string-search-functions.md
Co-authored-by: Anna <42538400+adevyatova@users.noreply.github.com>
2021-03-23 09:26:23 +03:00
AnaUvarova
b15b35ca75
Update docs/en/sql-reference/functions/string-search-functions.md
Co-authored-by: Anna <42538400+adevyatova@users.noreply.github.com>
2021-03-23 09:25:38 +03:00
ana-uvarova
a93a321db8 ++ 2021-03-22 19:49:14 +03:00
ana-uvarova
9461c4e877 finish 2021-03-22 19:34:57 +03:00
ana-uvarova
2ded2dd249 Merge branch 'ana-uvarova-DOCSUP-5932-Updt-descrptn-pstn-fnctn' of https://github.com/AnaUvarova/ClickHouse into ana-uvarova-DOCSUP-5932-Updt-descrptn-pstn-fnctn
# Conflicts:
#	docs/en/sql-reference/functions/string-search-functions.md
2021-03-22 19:32:18 +03:00
ana-uvarova
c1da5dc37a new examples 2021-03-22 19:30:28 +03:00
AnaUvarova
ebe3a304af
Merge branch 'master' into ana-uvarova-DOCSUP-5932-Updt-descrptn-pstn-fnctn 2021-03-22 19:12:32 +03:00
ana-uvarova
52c7ea3366 comments edits 2021-03-22 17:22:27 +03:00
tavplubix
ee1ffb23de
Merge pull request #21722 from olgarev/revolg-DOCSUP-6542-Edit_and_translate
DOCSUP-6542: Edit and translate
2021-03-21 12:50:25 +03:00
lehasm
64539452d9
Merge branch 'master' into alexey-sm-DOCSUP-7099-translate-runningConcurrency 2021-03-16 22:02:11 +03:00
Ali Demirci
27b8d10bd8
docs(fix): typo 2021-03-16 13:30:05 +03:00
Vladimir
b1f22e893e
Merge branch 'master' into sevirov-DOCSUP-7098-edit_translate_russian_docs_templates 2021-03-15 15:57:54 +03:00
Vladimir
67a24de661
Apply suggestions from code review 2021-03-15 15:54:51 +03:00
Olga Revyakina
6ccc923aa8 Space fixed 2021-03-15 03:21:10 +03:00
lehasm
0b98737daf Fixed link in runningDifferenceStartingWithFirstValue 2021-03-14 21:03:56 +03:00
lehasm
069f4ab5c4 Fixed link in runningDifferenceStartingWithFirstValue 2021-03-14 21:01:59 +03:00
lehasm
0e2637b22a Warning moved close to function description
Order changed inside warning block
2021-03-14 20:33:12 +03:00
lehasm
08863a0252 Function description placed before syntax.
In in.md created header max_parallel_replica-subqueries with empty text. It is link target from runningConcurrency
2021-03-14 19:27:58 +03:00
Alexey Milovidov
8c9bd09e6c Remove broken "Original article" 2021-03-14 15:19:04 +03:00
Dmitriy
9baaea9789 Merge remote-tracking branch 'remotes/clickhouse/master' into sevirov-DOCSUP-7098-edit_translate_russian_docs_templates 2021-03-13 21:37:13 +03:00
ana-uvarova
8a6872e978 ++ 2021-03-13 21:25:06 +03:00
Dmitriy
aad98b368e Edit and translate to Russian
Поправил шаблоны в английской и русской версиях.
2021-03-13 21:18:45 +03:00
Nikita Mikhaylov
a14110a9a5
Merge pull request #21497 from olgarev/DOCSUP-6545_edit_and_translate
DOSCUP-6545: Edit and translate
2021-03-12 16:04:31 +03:00
olgarev
183868dfcb
Apply suggestions from code review
Co-authored-by: Nikita Mikhaylov <mikhaylovnikitka@gmail.com>
2021-03-12 05:12:28 +03:00
lehasm
d901d00830 Fixes after review applied 2021-03-10 23:46:29 +03:00
Dmitriy
8f56ae3691 Update date-time-functions.md
Поправил пример.
2021-03-10 20:24:16 +03:00
Dmitriy
cf51574d82 Edit and translate to Russian
Исправил английскую версию и перевел на русский язык.
2021-03-09 23:31:48 +03:00
lehasm
c0630e2c90 en text improved. 2021-03-09 22:45:29 +03:00
lehasm
b538b2255b runningConcurrency() english description changed. 2021-03-08 22:44:45 +03:00
ana-uvarova
20dd448cd7 polishing 2021-03-08 15:16:01 +03:00
Olga Revyakina
1d0b63b652 Fixed back 2021-03-06 23:51:42 +03:00
Olga Revyakina
40c439f96f Fixes 2021-03-06 23:38:18 +03:00
Olga Revyakina
406f3f9a06 First commit 2021-03-06 14:13:14 +03:00
tavplubix
ec1d0c8e86
Merge pull request #21382 from sevirov/sevirov-DOCSUP-7043-edit_translate_russian_system_part_log_table
DOCSUP-7043: Edit and translate to Russian
2021-03-06 12:54:44 +03:00
gyuton
627cde7c64
DOCSUP-6387: Updated the toIPv6 and IPv6StringToNum functions (#20577)
Co-authored-by: olgarev <56617294+olgarev@users.noreply.github.com>
Co-authored-by: George <gyuton@yandex-team.ru>
2021-03-05 17:50:43 +03:00
Alexander Kuzmenkov
81dc94bca7
Merge pull request #19836 from sevirov/sevirov-DOCSUP-4707-edit_translate_russian_date_time
DOCSUP-4707: Edit and translate to Russian
2021-03-05 05:11:26 +03:00
ana-uvarova
7434022b89 still draft needs check 2021-03-03 22:33:01 +03:00
Dmitriy
fec0cf5f09 Edit and translate to Russian
Поправил английскую версию и выполнил перевод на русский язык.
2021-03-02 20:59:33 +03:00
Nikita Mikhaylov
cb2a26308f
Merge pull request #20347 from gyuton/gyuton-DOCSUP-6549-Edit_and_translate
DOCSUP-6549: Edited and translated to Russian
2021-03-01 16:49:06 +03:00
Vladimir
6aa72bcd43
Merge pull request #19591 from ka1bi4/romanzhukov-DOCSUP-5266-PR-translate 2021-02-28 20:40:04 +03:00
Dmitriy
187eb837db Add the links
Добавил ссылки.
2021-02-28 20:10:44 +03:00
Alexey Milovidov
01ef06a42c Fix broken links 2021-02-28 02:31:47 +03:00
Nikita Mikhaylov
ad72a83711
Merge pull request #20325 from gyuton/gyuton-DOCSUP-6073-Document_mapContains_mapKeys_mapValues_functions
DOCSUP-6073: Documented mapContains, mapKeys, mapValues functions
2021-02-27 23:16:45 +03:00
Maksim Kita
e83f360ada
Merge pull request #21195 from johnhummelAltinity/patch-1
Update encryption-functions.md
2021-02-26 23:47:52 +03:00
Vladimir
0c5e48df9c
Merge pull request #20556 from gyuton/gyuton-DOCSUP-6234-Add_aliases_to_functions 2021-02-26 15:01:15 +03:00
John Hummel
64327eafc8
Update encryption-functions.md
Updated Optinal to Optional line 136.
2021-02-25 10:50:22 -05:00
Roman Bug
168e6c63ea
Merge branch 'master' into romanzhukov-DOCSUP-5822-update-accurateCastOrNull 2021-02-25 14:40:49 +03:00
Maksim Kita
56ce7dfa4c
Merge pull request #20294 from sevirov/sevirov-DOCSUP-6294-document_parseDateTimeBestEffortUSOrZero_parseDateTimeBestEffortUSOrNull_functions
DOCSUP-6294: Document the parseDateTimeBestEffortUSOrZero and parseDateTimeBestEffortUSOrNull functions
2021-02-24 21:52:50 +03:00
ana-uvarova
7fa72f238a draft 2021-02-22 12:49:49 +03:00
gyuton
743b705952
Merge branch 'master' into gyuton-DOCSUP-6234-Add_aliases_to_functions 2021-02-21 15:31:29 +03:00
gyuton
0a58fd2eb2
Merge branch 'master' into gyuton-DOCSUP-6549-Edit_and_translate 2021-02-21 15:28:06 +03:00
George
bff08e32bf updates 2021-02-21 15:22:48 +03:00
George
159c619407 Merge branch 'master' of https://github.com/ClickHouse/ClickHouse into gyuton-DOCSUP-6073-Document_mapContains_mapKeys_mapValues_functions 2021-02-21 15:16:11 +03:00
George
cfb0dbb9e5 updated and added links 2021-02-21 15:01:10 +03:00
Anton Popov
6ca51c2b8d
Merge pull request #20450 from lehasm/alexey-sm-DOCSUP-5974-document-decodeXMLComponent
DOCSUP-5974: documented decodeXMLComponent function
2021-02-20 03:03:18 +03:00
Maksim Kita
71c65b5d82
Merge pull request #20611 from kitaisreal/rename-untyped-function-reinterpret-as
Rename untyped function reinterpretAs into reinterpret
2021-02-19 14:35:00 +03:00
Maksim Kita
5bbd6f7480 Fixed documentation 2021-02-19 12:37:00 +03:00
Dmitriy
03640221a8 Add the zero date
Добавил нулевую дату.
2021-02-18 21:33:30 +03:00
Maksim Kita
4278098f9a Reinterpret function added Decimal, DateTim64 support 2021-02-18 13:09:01 +03:00
Dmitriy
b4c7c3702d Merge remote-tracking branch 'remotes/clickhouse/master' into sevirov-DOCSUP-6294-document_parseDateTimeBestEffortUSOrZero_parseDateTimeBestEffortUSOrNull_functions 2021-02-17 21:56:05 +03:00
Maksim Kita
e52cc1ac1f Updated documentation 2021-02-17 11:31:20 +03:00
Vladimir
2c560d8e3b
Merge pull request #20544 from adevyatova/annadevyatova-DOCSUP-6762-templates 2021-02-17 10:17:01 +03:00
Dmitriy
e93e1911ee Translate to Russian
Выполнил перевод на русский язык.
2021-02-16 21:01:36 +03:00
Dmitriy
a154ad914d Merge remote-tracking branch 'remotes/clickhouse/master' into sevirov-DOCSUP-6294-document_parseDateTimeBestEffortUSOrZero_parseDateTimeBestEffortUSOrNull_functions 2021-02-16 19:10:49 +03:00
George
243ca5fe58 Added aliases for type conversion functions 2021-02-16 14:48:28 +03:00
George
4315cd8d26 fixed a typo 2021-02-16 14:34:24 +03:00
George
8a7d59f0fe Added aliases for string function 2021-02-16 14:31:24 +03:00
Vladimir
dc32d1fa41
Make Arguments bold in doc 2021-02-16 14:21:23 +03:00
George
3603fbd46a added aliases for ip-address functions 2021-02-16 14:13:17 +03:00
George
1bd1a97716 added aliases for string functions 2021-02-16 14:13:01 +03:00
George
33e12f7b4a added aliases for encoding functions 2021-02-16 14:12:44 +03:00
George
bc6fdc7d4b added aliases for date-time functions 2021-02-16 14:12:12 +03:00
gyuton
0b0b481825
DOCSUP-5602: Edited and translated to russian (#20302)
* Edited and added translation

* Minor fixes

* Fix typo

Co-authored-by: George <gyuton@yandex-team.ru>
Co-authored-by: Ivan <5627721+abyss7@users.noreply.github.com>
2021-02-16 14:02:33 +03:00
George
a632280011 added alias for nulls 2021-02-16 13:53:44 +03:00
Dmitriy
21f80a9367 Add examples
Добавил примеры.
2021-02-16 00:42:16 +03:00
Anna
ce1f10904e Global replacement Parameters to Arguments 2021-02-16 00:22:10 +03:00
Dmitriy
c9a6b21fc8 Fix the English version
Поправил английскую версию согласно комментариям в PR.
2021-02-15 23:47:12 +03:00
sevirov
f6cbad65e8
Update docs/en/sql-reference/functions/type-conversion-functions.md
Co-authored-by: olgarev <56617294+olgarev@users.noreply.github.com>
2021-02-15 23:33:35 +03:00
sevirov
a09c9be48b
Update docs/en/sql-reference/functions/type-conversion-functions.md
Co-authored-by: olgarev <56617294+olgarev@users.noreply.github.com>
2021-02-15 23:30:39 +03:00
sevirov
5eda616990
Update docs/en/sql-reference/functions/type-conversion-functions.md
Co-authored-by: olgarev <56617294+olgarev@users.noreply.github.com>
2021-02-15 23:14:01 +03:00
sevirov
e7bbb6cb23
Update docs/en/sql-reference/functions/type-conversion-functions.md
Co-authored-by: olgarev <56617294+olgarev@users.noreply.github.com>
2021-02-15 23:09:06 +03:00
lehasm
6734df2a01 Unnecessary new lines removed 2021-02-15 21:25:32 +03:00
Vitaly Baranov
b9a460709d
Merge pull request #19592 from olgarev/revolg-DOCSUP-5823-Add_new_data_type_Map(key,value)
DOCSUP-5823: Documented Map(key,value) type and map() function.
2021-02-15 16:23:21 +03:00
Nikita Mikhaylov
92e13d76d3
Merge pull request #18508 from depressed-pho/runningConcurrency
Add function runningConcurrency()
2021-02-15 14:39:38 +03:00
Roman Bug
c24221b04f
Update docs/en/sql-reference/functions/type-conversion-functions.md
Co-authored-by: olgarev <56617294+olgarev@users.noreply.github.com>
2021-02-15 01:53:44 +03:00
Vladimir
3f7128d8e7
Merge pull request #20085 from gyuton/gyuton-DOCSUP-6295-Update_isIPv4String-andisIPv6String-functions 2021-02-13 17:10:39 +03:00
lehasm
eff5bdf332 Documented decodeXMLComponent function 2021-02-12 22:28:03 +03:00
Vladimir
c925e34e73
Bit more complicated example for isIPv4String 2021-02-12 16:52:33 +03:00
George
90ba831301 Fixes 2021-02-12 09:43:31 +03:00
gyuton
5ef59032c3
Update docs/en/sql-reference/functions/ip-address-functions.md
Co-authored-by: olgarev <56617294+olgarev@users.noreply.github.com>
2021-02-12 09:21:59 +03:00
George
fc6587319c Edit and translated encription-functions 2021-02-11 19:29:46 +03:00
George
48b8685d6e minor fixes 2021-02-11 12:46:14 +03:00
George
8b4d9e421a Added translation 2021-02-11 12:21:59 +03:00
George
b574d8331b Updated description 2021-02-11 11:46:31 +03:00
Olga Revyakina
2905df831f JSON deteted 2021-02-11 10:15:18 +03:00
Roman Bug
60f9f2e913
Update type-conversion-functions.md
Add Returned values
2021-02-11 02:03:23 +03:00
Roman Bug
d4580f9fb4
Update type-conversion-functions.md 2021-02-11 01:51:19 +03:00
Dmitriy
537b372c32 Update type-conversion-functions.md
Исправил null на NULL.
2021-02-11 00:16:23 +03:00
Dmitriy
e87e71ee43 Document two functions
Задокументировал две функции.
2021-02-10 21:59:28 +03:00
George
178ada23f8 early draft 2021-02-10 15:55:18 +03:00
Roman Bug
55727f511d
Update docs/en/sql-reference/functions/date-time-functions.md
Co-authored-by: Anna <42538400+adevyatova@users.noreply.github.com>
2021-02-09 17:27:39 +03:00
romanzhukov
b48866d59d Merge master to fix merge error. 2021-02-09 14:32:52 +03:00
Roman Bug
df123e91e6
Update docs/en/sql-reference/functions/type-conversion-functions.md
Co-authored-by: olgarev <56617294+olgarev@users.noreply.github.com>
2021-02-09 13:59:58 +03:00
Roman Bug
be3be85fa2
Update docs/en/sql-reference/functions/type-conversion-functions.md
Co-authored-by: olgarev <56617294+olgarev@users.noreply.github.com>
2021-02-09 13:57:41 +03:00
vdimir
38a7248d3a
Minor changes in date_sub doc 2021-02-07 14:01:00 +03:00
bharatnc
5ddcbe8b90 Docs - minor unrelated fix to date_trunc 2021-02-06 13:05:06 -08:00
bharatnc
4514c06c2f Docs - date_sub 2021-02-06 12:59:31 -08:00
Kruglov Pavel
c92d468b6f
Merge pull request #19792 from gyuton/gyuton-DOCSUP-5909-Document_array_aggregation_functions
DOCSUP-5909: Documented array aggregation functions
2021-02-06 16:52:50 +03:00
George
a790cd9bc5 Fixes 2021-02-06 16:37:12 +03:00
George
cddfc91bcc Fixes 2021-02-06 13:12:17 +03:00
vdimir
af26ad6df9
Minor changes in missed out date time functions 2021-02-06 12:49:04 +03:00
bharatnc
8dc3a20720 Docs - improve unit description 2021-02-05 17:18:06 -08:00
bharatnc
4906fd9c8c Docs - fixes to doc link 2021-02-05 08:55:30 -08:00
bharatnc
e8d5fbc0a2 Docs - more minor fixes 2021-02-05 08:07:02 -08:00
Bharat Nallan
facdc749cb
Docs - commit suggestion
Co-authored-by: vdimir <vdimir@yandex-team.ru>
2021-02-05 07:54:14 -08:00
bharatnc
95e21ba093 Docs - remove duplicate date_diff and minor fixes 2021-02-05 07:53:22 -08:00
romanzhukov
cc17edbc99 DOCSUP-5822: Add function documentation and fix all file examples. 2021-02-05 13:29:31 +03:00
bharatnc
8c60e84067 Docs - minor fixes 2021-02-05 00:10:10 -08:00
bharatnc
606c914bb5 Docs - timestamp_add|sub 2021-02-05 00:03:45 -08:00
bharatnc
3becb80c13 Docs - date_add, date_diff 2021-02-04 23:43:03 -08:00
romanzhukov
a3721ef0ac Revert "DOCSUP-5266: Fix ticket comments."
This reverts commit 9a9138d038.
2021-02-05 01:44:18 +03:00
romanzhukov
9a9138d038 DOCSUP-5266: Fix ticket comments. 2021-02-05 01:37:59 +03:00
romanzhukov
0665cc3981 Merge branch 'master' into romanzhukov-DOCSUP-5266-PR-translate 2021-02-05 00:04:43 +03:00
George
c2312bd72e updated description and added translation 2021-02-04 18:31:00 +03:00
alexey-milovidov
e5fb59851d
Update string-search-functions.md 2021-02-03 14:06:57 +03:00
vdimir
bb9a7e89df
Merge pull request #19772 from gyuton/gyuton-DOCSUP-5931-Document_the_byteSize_function
DOCSUP-5931: Documented the byteSize function
2021-02-03 13:12:03 +03:00
Maksim Kita
ba45cf32ab
Merge pull request #19858 from kitaisreal/reinterpret-as-updated-to-big-integers
Function reinterpretAs updated to support big integers
2021-02-03 12:12:13 +03:00
PHO
09c49d3842 Add function runningConcurrency()
Given a series of beginning time and ending time of events, this function calculates concurrency of the events at each of the data point, that is, the beginning time.
2021-02-03 14:34:44 +09:00
Olga Revyakina
f179b8b9ae Merge branch 'master' of https://github.com/ClickHouse/ClickHouse into revolg-DOCSUP-5823-Add_new_data_type_Map(key,value) 2021-02-02 17:15:14 +03:00
romanzhukov
f3860134ab DOCSUP-5822: Add function documentation. 2021-02-02 10:00:54 +03:00
romanzhukov
f6de129164 DOCSUP-5822: Add function documentation. 2021-02-02 09:57:41 +03:00
George
1f6a686f4e Some fixes 2021-02-02 05:54:38 +03:00
Olga Revyakina
297d106f14 Fixed, translated. Symbolic links added. 2021-02-02 03:24:01 +03:00
romanzhukov
79f651f2b4 DOCSUP-5822: Add function documentation. 2021-02-01 23:32:45 +03:00
romanzhukov
23914860b0 DOCSUP-5266: Fix ticket comments. 2021-02-01 21:43:38 +03:00
romanzhukov
f58ae0ffa1 DOCSUP-5266: Fix ticket comments. 2021-02-01 21:27:13 +03:00
romanzhukov
a937bf26a1 DOCSUP-5266: Fix ticket comments. 2021-02-01 21:11:47 +03:00
George
ecab446721 updated and added translation 2021-01-31 21:23:57 +03:00
Maksim Kita
a4812aa97b Updated tests 2021-01-31 18:32:47 +03:00
vdimir
000b51f95a
Merge pull request #19518 from bharatnc/ncb/toIPv6-parses-IPv4
toIPv6 function parses IPv4 addresses
2021-01-31 13:56:45 +03:00
Maksim Kita
155f6c0eb5 Function reinterpretAs updated to support big integers 2021-01-30 22:56:23 +03:00
Roman Bug
ddd828e784
Update docs/en/sql-reference/functions/date-time-functions.md
Co-authored-by: Anna <42538400+adevyatova@users.noreply.github.com>
2021-01-30 18:46:26 +03:00
Dmitriy
649386ff0f Edit and translate to Russian
Поправил английскую версию и перевел на русский язык.
2021-01-29 23:15:42 +03:00
Vasily Nemkov
8763b8bc59 Updated docs on encrypt/decrypt functions 2021-01-29 17:16:10 +02:00
George
1bd95e474c Minor fix 2021-01-29 10:19:01 +03:00
George
e89c98044e fixed links 2021-01-29 09:58:31 +03:00
George
9f71596809 Added translation 2021-01-29 09:48:53 +03:00
George
96d45ca8f8 Minor update 2021-01-29 09:11:43 +03:00
George
95a375b4cc Minor fixes 2021-01-29 05:41:03 +03:00
George
2b77488036 Minor fixes 2021-01-29 05:08:22 +03:00
George
a12c666b40 Documented array function 2021-01-29 01:54:21 +03:00
George
e612ad2bab minor fixes 2021-01-28 17:13:41 +03:00
George
c7ec1b9313 fixed links 2021-01-28 15:14:57 +03:00
George
7d1e4b8594 First draft 2021-01-28 14:38:24 +03:00
Ivan
04531f14d9
Fix hyphen 2021-01-26 14:06:08 +03:00
Ivan
097c9362bd
Update date-time-functions.md 2021-01-26 14:00:52 +03:00
bharatnc
31027dbaf7 update docs 2021-01-25 19:04:08 -08:00
Olga Revyakina
c4b9c700c5 Map type and map function.
Data type description template also added.
2021-01-26 02:09:17 +03:00
romanzhukov
0f7f8ace73 DOCSUP-5266: Add changes from PR 2021-01-26 01:39:23 +03:00
feng lv
173c4b0c36 add document 2021-01-24 09:15:47 +00:00
bharatnc
f385f6c2c1 docs - split query and output as separate blocks 2021-01-23 09:37:12 -08:00
bharatnc
ffd7bc7256 docs - clean output 2021-01-23 09:35:37 -08:00
bharatnc
9acd37a2e2 Docs - isIPv4String, isIPv6String functions
This PR documents and explains the use of the functions `isIPv4String`
and `isIPv6String.
2021-01-22 22:36:21 -08:00
Azat Khuzhin
ea7528b853 identity: mark it as non suitable for constant folding 2021-01-21 21:22:23 +03:00
alexey-milovidov
ea0a49ed7a
Merge pull request #19248 from sevirov/sevirov-DOCSUP-5845-edit_translate_russian_encodexmlcomponent
DOCSUP-5845: Edit and translate to Russian
2021-01-21 10:15:05 +03:00
Dmitriy
0d33514433 Edit and translate to Russian
Внес поправки в английскую версию и выполнил перевод на русский язык.
2021-01-18 18:24:17 +03:00
jianmei zhang
e967b6bf49 add a %Q replacement for formatDateTime 2021-01-18 12:16:32 +08:00
Kruglov Pavel
d722dd835f
Merge pull request #18605 from gyuton/gyuton-DOCSUP-5601-Edit_and_translate_to_Russian
DOCSUP-5601: Edited and translated to Russian
2021-01-16 19:33:48 +03:00
George
e363a240ee Undo changes 2021-01-14 00:13:36 +03:00
gyuton
d8a38c7e57
Update docs/en/sql-reference/functions/string-search-functions.md
Co-authored-by: Anna <42538400+adevyatova@users.noreply.github.com>
2021-01-13 23:56:40 +03:00
gyuton
7df99ff4ff
Update docs/en/sql-reference/functions/string-search-functions.md
Co-authored-by: Anna <42538400+adevyatova@users.noreply.github.com>
2021-01-13 23:56:24 +03:00
filimonov
fe96e81e7e
Fix errors add examples 2021-01-07 13:57:39 +01:00
Bertrand Junqua
85003c8b5c
Fix typo in array functions' documentation 2021-01-06 16:36:51 +01:00
Alexey Milovidov
25b100761f Merge branch 'master' into function_byte_size 2021-01-03 04:36:48 +03:00
gyuton
f76c4a7660
Merge branch 'master' into gyuton-DOCSUP-5601-Edit_and_translate_to_Russian 2020-12-30 17:58:32 +03:00
alexey-milovidov
af39c2f1d7
Merge branch 'master' into dmozhaeva-DOCSUP-4706-edit-and-translate 2020-12-30 17:11:54 +03:00
Nikita Mikhaylov
d4f25723cf
Merge pull request #18326 from sevirov/sevirov-DOCSUP-5219-document_countMatches_function
DOCSUP-5219: Document the countMatches function
2020-12-29 19:37:13 +03:00
Anton Popov
407ca50be2
Merge pull request #18556 from adevyatova/annadevyatova-DOCSUP-5220-xml
DOCSUP-5220: Document the encodeXMLComponent function
2020-12-29 16:29:17 +03:00
Anton Popov
58b1e47e0d
Update string-functions.md 2020-12-29 16:27:47 +03:00
George
e654564aa0 Minor improvements 2020-12-29 14:30:47 +03:00
George
13627226c3 fixed typos 2020-12-29 14:11:48 +03:00
George
56a757d818 Added translation and updated the description 2020-12-29 14:07:30 +03:00
George
f58f54610a Edited English description 2020-12-29 13:54:17 +03:00
pingyu
12a0b8c3c9 add doc 2020-12-29 01:55:47 +08:00
Nikita Mikhaylov
c8c4de0617
Merge pull request #18328 from sevirov/sevirov-DOCSUP-4552-document_tcpPort()_function
DOCSUP-4552: Document the tcpPort() function
2020-12-28 20:27:40 +03:00
Anna
8c368688a8 update 2020-12-27 23:49:05 +03:00
Anna
bc277892f4 add desc for encodeXMLComponent 2020-12-27 14:21:58 +03:00
Nikita Mikhaylov
9a3feb770e
Merge pull request #18399 from gyuton/gyuton-DOCSUP-4967-finalizeAggregation
DOCSUP-4967: Updated finalizeAggregation documentation
2020-12-25 22:55:37 +03:00
George
b900ddd1c3 fixed description 2020-12-25 18:50:38 +03:00
George
ca0a3de581 fixed typos 2020-12-25 13:35:16 +03:00
Dmitriy
06819c187b Update countMatches function
Поставил ';' в конце запросов.
2020-12-24 20:06:11 +03:00
George
be85056c71 added translation 2020-12-24 11:25:47 +03:00
George
092ca61ea9 fixed typos 2020-12-23 12:05:59 +03:00
George
011b159f06 fixed links x2 2020-12-23 11:52:45 +03:00
George
35a6adf598 fixed links 2020-12-23 11:22:49 +03:00
George
cc73cd2e20 added a few details 2020-12-23 11:08:57 +03:00
George
d1c0f5f157 updated finalizeAggregation 2020-12-23 04:24:05 +03:00
Dmitriy
46a8027947 Translation into Russian language
Выполнил перевод на русский язык.
2020-12-22 22:10:03 +03:00
Ilya Yatsishin
a25e00a3d9
Update docs/en/sql-reference/functions/other-functions.md 2020-12-22 18:37:34 +03:00
Dmitriy
302e8f697d Document tcpPort function
Задокументировал функцию tcp_port.
2020-12-21 23:13:26 +03:00
Dmitriy
6a93e487c6 Document the countMatches function.
Задокументировал функцию countMatches.
2020-12-21 22:30:37 +03:00
alexey-milovidov
6fc3ca8b7b
Merge pull request #16724 from kitaisreal/added-function-accurate-cast-or-null
Added function accurateCastOrNull, allow different types inside IN subquery
2020-12-18 00:45:27 +03:00
Maksim Kita
b82770c2ad Added array aggregation big integer types support 2020-12-16 18:47:30 +03:00
Maksim Kita
16a30eb4aa Updated non-finite floating conversion into int 2020-12-14 22:12:15 +03:00
Maksim Kita
0464859cfe Updated usage of different types during IN query
1. Added accurateCast function.
2. Use accurateCast in Set during execute.
3. Added accurateCast tests.
4. Updated select_in_different_types tests.
2020-12-14 22:12:15 +03:00
Maksim Kita
476fb3b677 Updated documentation 2020-12-14 22:12:15 +03:00
Alexander Kuzmenkov
fb1221148d
Merge pull request #17748 from azat/custom-TLD
Add ability to use custom TLD list
2020-12-11 12:42:19 +03:00
alexey-milovidov
a8a37b4249
Merge pull request #17703 from den-crane/patch-8
Doc. Some formatting fixed in date-time-functions
2020-12-11 01:50:12 +03:00
alexey-milovidov
35b549a0d4
Merge pull request #17704 from sevirov/sevirov-DOCSUP-4523-add_some_of_missed_cmath_functions
DOCSUP-4523: Add some of missed cmath functions
2020-12-10 01:45:41 +03:00
Azat Khuzhin
840a21d073 Add top_level_domains_path for easier overriding 2020-12-09 21:08:31 +03:00
Azat Khuzhin
916cbd6610 Add ability to use custom TLD list
v2: Add a note that top_level_domains_lists aren not applied w/o restart
v3: Remove ExtractFirstSignificantSubdomain{Default,Custom}Lookup.h headers
v4: TLDListsHolder: remove FIXME for dense_hash_map (this is not significant)
2020-12-09 21:08:22 +03:00
Daria Mozhaeva
d1c7833f28 Edit and translate. 2020-12-09 17:03:38 +03:00
Nikita Mikhaylov
767d1fc98b
Update date-time-functions.md 2020-12-08 18:32:55 +03:00
PHO
3c90065158 Add functions toMJD and fromMJD
These functions convert between Proleptic Gregorian calendar date and Modified Julian Day number.
2020-12-07 16:00:32 +03:00
Dmitriy
fadf764fef Update math-functions.md
Внес изменения в описание обратных гиперболических функций.
2020-12-06 12:55:09 +03:00
Dmitriy
79d68958cb Update math-functions.md
Выполнил перевод на русский язык.
2020-12-03 23:59:17 +03:00
Dmitriy
7a0fcaa869 Update math-functions.md
Выполнил описание некоторых математических функций.
2020-12-01 22:25:57 +03:00
Denny Crane
03a74e9d62
Update date-time-functions.md 2020-12-01 14:47:56 -04:00
Denny Crane
12f0a3feaf
Update date-time-functions.md 2020-12-01 14:45:00 -04:00
Azat Khuzhin
0004fd8ab9 Merge remote-tracking branch 'upstream/pr/16277' into countMatches-pull 2020-12-01 21:03:33 +03:00
Denny Crane
2e5c415035
Update date-time-functions.md 2020-11-30 22:19:26 -04:00
Denny Crane
667f3fcfde
toTimeZone 2020-11-30 22:07:16 -04:00
alexey-milovidov
00da5148a1
Merge pull request #17347 from azat/substringCount
Implement countSubstrings()
2020-11-29 14:32:33 +03:00
sevirov
cc2a287a89
DOCSUP-3922: Document the tuple functions (#17505)
* Update in-functions.md and tuple-functions.md

Изменил регистр в названиях разделов.

* Update tuple-functions.md and in-functions.md

Убрал описание операторов из in-functions.md.

Co-authored-by: Dmitriy <sevirov@yandex-team.ru>
2020-11-28 14:38:57 +03:00
Denny Crane
c34b547e41
Update date-time-functions.md 2020-11-27 16:18:08 -04:00
Denny Crane
c31572c709
Update date-time-functions.md 2020-11-27 16:14:07 -04:00
sevirov
59b92c7464
DOCSUP-3922: Document the untuple() function (#17110)
* Create tuple-functions.md

Выполнил описание функции untuple на английском языке.

* Update tuple-functions.md

Подкорректировал описание.

* Update tuple-functions.md

Подкорректировал описание.

* Update tuple-functions.md

Внес небольшие поправки.

* Translate untuple-functions.md

Выполнил перевод на русский язык.

* Update tuple-functions.md

Внес поправки в английскую и русскую версии.

* Update tuple-functions.md

Внес поправки.

* Update tuple-functions.md and in-functions.md

Добавил функции и ссылки.

Co-authored-by: Dmitriy <sevirov@yandex-team.ru>
2020-11-27 22:37:44 +03:00
Azat Khuzhin
838596c7a4 Implement countSubstrings()
Function to count number of substring occurrences in the string:
- in case of needle is multi char - counts non-intersecting substrings
- the code is based on position helpers.

The following new functions is available:
- countSubstrings()
- countSubstringsCaseInsensitive()
- countSubstringsCaseInsensitiveUTF8()

v0: substringCount()

v2:
- add substringCountCaseInsensitiveUTF8
- improve tests
- fix coding style issues
- fix multichar needle

v3: rename to countSubstrings (by analogy with countEqual())
2020-11-26 22:58:16 +03:00
alexey-milovidov
1cdb447b77
Update date-time-functions.md 2020-11-22 07:38:31 +03:00
Azat Khuzhin
48645eae33 Add cutToFirstSignificantSubdomainWithWWW()
Sometimes it is odd to get TLD itself from the
cutToFirstSignificantSubdomain() (since you will not get TLD itself if
you pass it directly):
- cutToFirstSignificantSubdomain('org')            -> ""
- cutToFirstSignificantSubdomain('www.org')        -> org
- cutToFirstSignificantSubdomain('kernel.org')     -> kernel.org
- cutToFirstSignificantSubdomain('www.kernel.org') -> kernel.org

So add one more function to get www.org in this case:
- cutToFirstSignificantSubdomainWithWWW('org')            -> ""
- cutToFirstSignificantSubdomainWithWWW('www.org')        -> www.org
- cutToFirstSignificantSubdomainWithWWW('kernel.org')     -> kernel.org
- cutToFirstSignificantSubdomainWithWWW('www.kernel.org') -> kernel.org

P.S. not sure about the naming though, so it will great if someone has
suggestion for the name.
2020-11-18 21:09:27 +03:00
gyuton
fcae0d0f0a
DOCSUP-3845: documented new encrypt and decrypt functions (#16930)
* Added first draft of description

* Added toc_priority

* Updated description

* Updated documentation

* Added examples

* Fixed links

* variable fixes

* minor fixes

* added translation

* fixed typos in translation

* changed toc_title in translation

* minor change

* added various fixes

* fixed typos

* Deleted unnecessary file

* Deleted extra files

Co-authored-by: George <gyuton@yandex-team.ru>
2020-11-17 17:05:33 +03:00
gyuton
4d602afd28
DOCSUP-3538: Documeted the tid and logTrace funtions (#16884)
* Added tid and logTrace functions description

* Added minor fixes

* Minor fixes and added ru translation

* Added links

Co-authored-by: George <gyuton@yandex-team.ru>
2020-11-17 13:03:39 +03:00
gyuton
f48232d615
DOCSUP-3535: Documented the reinterpretAsUUID function (updated) (#16688)
* Updated description

* Updated description

* Added translation

* Fixed links

* Fixed links 2

* Fixed mistakes in translation

* Improved description and added examples

* Minor fixes

Co-authored-by: George <gyuton@yandex-team.ru>
2020-11-12 19:23:32 +03:00
olgarev
b5ec4ab9d4
DOCSUP-2807: Documented the date_trunc function (#15429)
* Docs updated for date_trunc() and now().

* Minor fix.

* Minor fix in en. Translation to Russian.

* Minor link fixes.

* Apply suggestions from code review

Co-authored-by: BayoNet <da-daos@yandex.ru>

* Updates

* Minor fix

* Minor updates for now() (en, ru).

Co-authored-by: Olga Revyakina <revolg@yandex-team.ru>
Co-authored-by: BayoNet <da-daos@yandex.ru>
2020-11-12 19:14:47 +03:00
Alain BERRIER
9dd0c7708e
fix: fix typo in array functions documentation 2020-11-05 16:23:23 +01:00