Commit Graph

682 Commits

Author SHA1 Message Date
Olga Revyakina
360721763c Docs in En 2021-01-13 02:25:21 +03:00
Olga Revyakina
d3b7fa1a77 Docs in En 2021-01-13 02:05:09 +03:00
alesapin
163be41718
Merge pull request #17059 from AnaUvarova/ana-uvarova-DOCSUP-3122-update-alter
DOCSUP-3122: Document two expressions ALTER
2021-01-12 14:04:46 +03:00
alesapin
fb966f3dbf
Update column.md 2021-01-12 12:20:57 +03:00
alesapin
a3b63b86fa
Update column.md 2021-01-12 12:18:00 +03:00
alesapin
cbad45bd4f
Update ttl.md 2021-01-12 12:06:39 +03:00
Denny Crane
2073831aa8
Update distinct.md
removed an outdated note
2021-01-11 19:55:58 -04:00
Mariano Benítez Mulet
f62e73599a
Fixed error in DDL query doc for MongoDB dict
According to the documentation, DDL query for MongoDB dictionaries require

```sql
SOURCE(MONGO(
    host 'localhost'
    port 27017
    user ''
    password ''
    db 'test'
    collection 'dictionary_source'
))
```
However, the source type `MONGO` is not recognized.
It is, however, the source type `MONGODB`.

My change fixes this mistake in documentation.
2021-01-11 15:02:30 +01:00
feng lv
378b10863e fix conflict 2021-01-09 09:07:20 +00:00
feng lv
8ab2832324 Merge branch 'master' of github.com:ClickHouse/ClickHouse into select-all 2021-01-09 02:36:25 +00:00
filimonov
fe96e81e7e
Fix errors add examples 2021-01-07 13:57:39 +01:00
feng lv
1a47cf8611 Merge branch 'master' of github.com:ClickHouse/ClickHouse into select-all 2021-01-07 10:26:28 +00:00
Bertrand Junqua
85003c8b5c
Fix typo in array functions' documentation 2021-01-06 16:36:51 +01:00
feng lv
421feb8cf9 Merge branch 'master' of github.com:ClickHouse/ClickHouse into select-all 2021-01-05 07:47:11 +00:00
feng lv
dd884349ac update document 2021-01-04 14:34:22 +00:00
feng lv
459abca5b5 Merge branch 'master' of github.com:ClickHouse/ClickHouse into insert-cluster 2021-01-03 08:47:14 +00:00
Alexey Milovidov
25b100761f Merge branch 'master' into function_byte_size 2021-01-03 04:36:48 +03:00
Alexey Milovidov
3566d00c02 Merge branch 'master' into ucasFL-insert-cluster 2020-12-31 17:35:34 +03:00
tavplubix
e525da87ce
Merge pull request #18584 from olgarev/revolg-DOCSUP-4434-MySQL_table_function_supports_INSERTS
DOCSUP-4434: Docs for the INSERT support in mysql function
2020-12-31 12:42:58 +03:00
tavplubix
17bfaa3e6c
Update mysql.md 2020-12-31 12:06:55 +03:00
Olga Revyakina
52686198e3 Note added, syntax error fixed 2020-12-31 00:49:52 +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
alexey-milovidov
278dda04a6
Update union.md 2020-12-30 16:59:04 +03:00
Olga Revyakina
ecfa92bceb Still trying 2020-12-30 09:53:32 +03:00
Olga Revyakina
c256c84c65 Trying to fix syntax bug 2020-12-30 09:44:59 +03:00
ana-uvarova
8b03bef74e order fixes 2020-12-30 02:36:04 +03:00
ana-uvarova
0c2b4189ac output format fix and en-ru similarity fix 2020-12-30 02:24:41 +03:00
Olga Revyakina
eed9e8732c Another one 2020-12-30 01:40:32 +03:00
Olga Revyakina
dad2b0c35a Small syntax fix 2020-12-30 01:38:30 +03:00
Olga Revyakina
74904a8e0f Fix 2020-12-30 01:25:09 +03:00
Dmitriy
c84d02c658 Update union.md
Изменил возможность записывать подзапросы с union в круглых скобках.
2020-12-29 23:54:11 +03:00
Dmitriy
bb290e185f Merge remote-tracking branch 'remotes/clickhouse/master' into sevirov-DOCSUP-4617-document_union_default_mode_setting 2020-12-29 19:59:30 +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
Anna
627ff9ed4b
Merge branch 'master' into annadevyatova-DOCSUP-4437-nullmod 2020-12-29 09:54:47 +03:00
Olga Revyakina
91a9604ab0 Docs for the INSERT support 2020-12-29 02:43:47 +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
Nikita Mikhaylov
6863dbd6a8
Merge pull request #18480 from vdimir/ip-dict-key-access
IP dict key access
2020-12-28 16:15:40 +03:00
Anna
5b544b5850 add desc for SHOW CLUSTERS 2020-12-28 00:45:07 +03:00
Anna
8c368688a8 update 2020-12-27 23:49:05 +03:00
Anna
45b8ddd7ab fixed 2020-12-27 14:47:15 +03:00
Anna
bc277892f4 add desc for encodeXMLComponent 2020-12-27 14:21:58 +03:00
Dmitriy
cc034b3373 Update union.md
Подкорректировал английскую и русскую версии.
2020-12-27 11:36:18 +03:00
Anna
51b76f7367 add desc for NULL modifiers 2020-12-26 15:43:09 +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
ana-uvarova
2321d9529c review comments 2020-12-24 22:45:19 +03:00
vdimir
fcfe7f2c5d Add option access_to_key_from_attributes to documentation for ip_trie 2020-12-24 19:13:49 +00:00
Dmitriy
30d38bf9c4 Update union.md
Переструктурировал текст.
2020-12-24 21:04:32 +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
feng lv
714a4f8f1c Merge branch 'master' of github.com:ClickHouse/ClickHouse into insert-cluster 2020-12-24 07:05:07 +00:00
Dmitriy
31e4512c3d One UNION section.
Объединил все в один раздел UNION.
2020-12-23 22:36:20 +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
233d2d374f
Merge pull request #18235 from adevyatova/annadevyatova-DOCSUP-4106-first
DOCSUP-4906: Update description ALTER TABLE
2020-12-21 19:49:56 +03:00
alexey-milovidov
bf6850187c
Update column.md 2020-12-21 19:49:39 +03:00
Anna
982123a994 reduce 2020-12-21 11:30:02 +03:00
Anna
7f675aacbe fixed 2020-12-21 11:22:41 +03:00
feng lv
8f17b3cb88 fix 2020-12-20 15:49:37 +00:00
feng lv
8ec695f024 add sharding_key for remote table function
update docs

fix
2020-12-20 15:29:46 +00:00
Olga Revyakina
cfbb32ec87 Upd - about modifiers 2020-12-20 18:18:47 +03:00
Olga Revyakina
c88ad61b90 Merge remote-tracking branch 'origin/master' into revolg-DOCSUP-4737-Fix_COLUMNS_sintax 2020-12-20 18:11:45 +03:00
feng lv
c520d0efe3 Merge branch 'master' of github.com:ClickHouse/ClickHouse into insert-cluster 2020-12-20 13:29:10 +00:00
feng lv
61a520debd update document 2020-12-20 07:48:55 +00:00
alexey-milovidov
6c6edfc050
Merge pull request #17350 from dfenelonov/fenelonov-DOCSUP-1953-distinct_combinator
fenelonov-docsup-1953-distinct_combinator: Documented the distinct combinator
2020-12-20 09:50:29 +03:00
alexey-milovidov
59a3f4d835
Update combinators.md 2020-12-20 09:50:10 +03:00
Anna
056d55c628 update alter ... add | modify column 2020-12-19 00:19:01 +03:00
alexey-milovidov
da1fc5d25e
Merge pull request #18218 from Jokser/s3-docs
Add S3 table function / engine documentation [EN]
2020-12-18 22:05:45 +03:00
Pavel Kovalenko
7fa73045fe Remove extra comma 2020-12-18 21:48:42 +03:00
Pavel Kovalenko
f80e872bbb Update globs in path usage for S3 table function / storage documentation [EN] 2020-12-18 21:45:21 +03:00
alexey-milovidov
814dd63dc2
Update s3.md 2020-12-18 21:04:09 +03:00
alexey-milovidov
137dd889ab
Update s3.md 2020-12-18 21:03:05 +03:00
Pavel Kovalenko
b11663886c Fix uppercase word in S3 table function documentation [EN] 2020-12-18 15:12:51 +03:00
Pavel Kovalenko
601558c11b Add references to S3 table function / engine in documentation [EN] 2020-12-18 12:50:35 +03:00
Pavel Kovalenko
cd0a0e33bd Add S3 table function / engine documentation [EN] 2020-12-18 12:46:50 +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
Nikita Mikhaylov
0f3582883c
Merge pull request #18147 from kitaisreal/array-aggregation-big-integer-types-support
Added array aggregation big integer types support
2020-12-17 15:44:55 +03:00
Kruglov Pavel
d82c23d5cf
Merge pull request #16853 from amosbird/ss
Add -SimpleState combinator
2020-12-17 14:00:05 +03:00
ana-uvarova
ba2c53c4df Russian done 2020-12-17 11:02:46 +03:00
Dmitriy
9c86559334 Merge remote-tracking branch 'remotes/clickhouse/master' into sevirov-DOCSUP-4617-document_union_default_mode_setting 2020-12-16 23:28:22 +03:00
Dmitriy
77e10884fc Document union_default_mode setting
Задокументировал настройку union_default_mode.
2020-12-16 20:04:16 +03:00
Maksim Kita
b82770c2ad Added array aggregation big integer types support 2020-12-16 18:47:30 +03:00
ana-uvarova
e85a6c4851 Final edits before the review. 2020-12-14 23:24:17 +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
Dmitriy
698737681a Merge remote-tracking branch 'remotes/clickhouse/master' into sevirov-DOCSUP-4919-document_replication_queue_system_table 2020-12-13 23:41:22 +03:00
ana-uvarova
3286ce1b38 example1 2020-12-13 22:12:39 +03:00
Dmitriy
629f5f0797 Update replication_queue.md
Выполнил перевод на русский язык, внес изменения в английскую версию.
2020-12-13 18:42:34 +03:00
alexey-milovidov
436adf34df
Merge pull request #17881 from gyuton/gyuton-DOCSUP-4263-Update_the_sql_statement_ORDER_BY
DOCSUP-4263: Updated the sql statement order by
2020-12-13 04:37:29 +03:00
Eric Daniel
17a8a4e966 Expand max_parallel_replicas documentation
Based on discussion in #17807
2020-12-12 13:59:37 -08:00
George
1567444628 troubleshooting - fixed links to original articles 2020-12-12 10:36:39 +03:00
George
9b1d919110 more troubleshooting 2020-12-12 06:39:22 +03:00
George
3794cb2d3f troubleshooting the error 2020-12-12 05:48:23 +03:00
ocadaruma
1d7cab0223 Fix corrupted markdowns 2020-12-12 10:59:34 +09:00
George
cabe1463d1 fixed an error 2020-12-12 03:39:45 +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
Olga Revyakina
c8e1f72f22 Fixed 2020-12-11 08:50:08 +03:00
Amos Bird
5b1e5679b4
Add -SimpleState combinator 2020-12-11 11:43:56 +08: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
71978cbbf8
Merge pull request #17851 from zhangjmruc/master
Fix translated errors and update misc to latest
2020-12-10 22:58:15 +03:00
alexey-milovidov
5eab260ee5
Merge pull request #17864 from ClickHouse/filimonov-dict-fixes
dict notes
2020-12-10 22:43:04 +03:00
ana-uvarova
528dca0f63 order 2020-12-10 11:13:09 +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
Nikita Mikhaylov
80d4af9a73
Merge pull request #17874 from nikitamikhaylov/calendar-date
Merging #17750
2020-12-10 00:19:04 +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
George
4e49c59ed0 minor fix 2020-12-08 04:55:57 +03:00
George
6be3933cea fixed links v2 2020-12-08 04:27:26 +03:00
George
8760fc1227 Fixed links 2020-12-08 04:07:34 +03:00
George
1f0cfbaca8 Added Collation description 2020-12-08 03:51:41 +03:00
ana-uvarova
ac4e99529b ++ 2020-12-07 21:55:17 +03:00
Alexey Milovidov
1ed329017b Merge branch 'master' into quota-by-x-forwarded-for 2020-12-07 18:22:19 +03:00
filimonov
af9d9a7b9c
dict notes
sync docs with https://github.com/ClickHouse/ClickHouse/pull/8127
2020-12-07 14:01:12 +01: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
jianmei zhang
8ecd565441 Fix translated errors and update misc to latest 2020-12-07 13:28:09 +08:00
ana-uvarova
6111601265 + 2020-12-06 15:20:45 +03:00
ana-uvarova
0042c4e878 ++ 2020-12-06 15:00:56 +03:00
Dmitriy
fadf764fef Update math-functions.md
Внес изменения в описание обратных гиперболических функций.
2020-12-06 12:55:09 +03:00
Olga Revyakina
66c7f611e2 Syntax fixed 2020-12-05 04:19:29 +03:00
Alexander Kuzmenkov
b54d50fa7f
Merge pull request #17459 from azat/countMatches-pull
Add countMatches function
2020-12-05 00:01:47 +03:00
Anna
ac0ebd515e
DOCSUP-4193: Document the EXPLAIN statement (#17734)
* Add EXPLAIN query description

* Check examples

* update

* Update docs/en/sql-reference/statements/explain.md

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

* Update docs/en/sql-reference/statements/explain.md

Co-authored-by: Nikolai Kochetov <KochetovNicolai@users.noreply.github.com>

Co-authored-by: BayoNet <da-daos@yandex.ru>
Co-authored-by: Nikolai Kochetov <KochetovNicolai@users.noreply.github.com>
2020-12-04 21:24:05 +03:00
ana-uvarova
05657b10d1 Merge branch 'master' of https://github.com/ClickHouse/ClickHouse into ana-uvarova-DOCSUP-3122-update-alter 2020-12-04 16:12:11 +03:00
Ilya Yatsishin
6957e0de87
Merge pull request #17452 from sevirov/sevirov-DOCSUP-4266-document_alter_update_delete_partition
DOCSUP-4266: Document the SQL-statement ALTER UPDATE/DELETE ... IN PARTITION
2020-12-04 14:40:51 +03:00
Dmitriy
79d68958cb Update math-functions.md
Выполнил перевод на русский язык.
2020-12-03 23:59:17 +03:00
Matthew Peveler
f29d374211
Fix note display on alter/index doc
Signed-off-by: Matthew Peveler <matt.peveler@popsql.com>
2020-12-03 16:29:28 +02:00
Alexey Milovidov
5cd112969f Update docs 2020-12-03 00:19:29 +03:00
Dmitriy
aca04ebc87 Update files in the 'alter'.
Внес поправки в английскую версию, выполнил перевод на русский язык, подкорректировал некоторые файлы в 'ALTER'.
2020-12-02 23:26:48 +03:00
alexey-milovidov
fd44e64123
Merge pull request #17745 from MasterOdin/patch-1
Improve showing identifier examples on syntax docs
2020-12-02 22:43:30 +03:00
alexey-milovidov
e97ce6afb2
Update syntax.md 2020-12-02 22:43:11 +03:00
Anna Shakhova
4479cfbcb0
DOCSUP-3871: Document prefer_not_to_merge option (#17090)
* Init commit

* Translation

* Fixed

* Fixed

* Fixed

* Fixed
2020-12-02 22:03:24 +03:00
Matthew Peveler
eac2ff6311
Improve showing identifier examples on syntax docs
Signed-off-by: Matthew Peveler <matt.peveler@popsql.com>
2020-12-02 20:22:54 +02: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
alexey-milovidov
79f25588d4
Merge pull request #17647 from den-crane/patch-3
Doc. toTimeZone
2020-12-01 20:48:09 +03:00
Matthew Peveler
a8c66f9ada
Fix typo in alter/index docs
Signed-off-by: Matthew Peveler <matt.peveler@popsql.com>
2020-12-01 19:21:39 +02: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
Dmitriy
5b505dd749 Update partition.md
Внес поправки в английскую версию.
2020-11-30 23:33:30 +03:00
olgarev
fe00f70424
DOCSUP-4194: Updated CREATE TABLE statement with PRIMARY KEY section (#17213)
* Section added

* Syntax corrected

Co-authored-by: Olga Revyakina <revolg@yandex-team.ru>
2020-11-30 18:09:46 +03: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
Dmitriy
3db2d4d0ac Update partition.md
Внес поправки в общий вид запроса IN PARTITION.
2020-11-28 13:07:10 +03:00
sevirov
2c6ba4a3ab
DOCSUP-4264: Update the SQL-statement ALTER TABLE DROP DETACH PART (#17374)
* Update partition.md

Обновил подразделы DETACH PARTITION и DROP PARTITION.

* Update partition.md

Сделал изменения в русской версии.

Co-authored-by: Dmitriy <sevirov@yandex-team.ru>
2020-11-28 11:27:31 +03:00
Dmitriy
76366d8884 Merge remote-tracking branch 'remotes/clickhouse/master' into sevirov-DOCSUP-4266-document_alter_update_delete_partition 2020-11-28 01:13:27 +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
Anna Shakhova
0ae690e6ed
DOCSUP-2955: documented the rankCorr function (#16109)
* rankCorr: init commit in English.

* Fixed

* Fixed links.

* Fixed link.

* Fixed link.

* Fixed link.

* Fixed link to document Float32

* Fixed remarks

* Fixed

* Translation
2020-11-27 19:56:38 +03:00
Dmitriy
9f35b2a8f0 Merge remote-tracking branch 'remotes/clickhouse/master' into sevirov-DOCSUP-4266-document_alter_update_delete_partition 2020-11-26 23:29:35 +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
Dmitriy
a0ea8a25f1 Update partition.md
Правлю битую ссылку.
2020-11-26 20:47:34 +03:00
Dmitriy
3f4f1c7671 Update partition.md
Добавил новый подраздел UPDATE | DELETE IN PARTITION.
2020-11-26 20:02:44 +03:00
Alexander Kuzmenkov
394b81ac46 Merge remote-tracking branch 'origin/master' into HEAD 2020-11-25 23:38:55 +03:00
ana-uvarova
89ba453c87 Merge branch 'master' of https://github.com/ClickHouse/ClickHouse into ana-uvarova-DOCSUP-3122-update-alter 2020-11-25 13:31:46 +03:00
myrrc
fbb0e6e6aa Merge remote-tracking branch 'upstream/master' into improvement/diff-types-in-avg-weighted 2020-11-24 16:04:17 +03:00
dfenelonov
11039f1d17 Second 2020-11-24 04:26:25 +03:00
Alexander Kuzmenkov
412c2fe079 Merge remote-tracking branch 'origin/master' into HEAD 2020-11-23 19:51:18 +03:00
Anna
e76f7c316b
DOCSUP-4280: Update the SELECT query (#17231)
* Add description for column modifiers

* Update index.md

* Update docs/en/sql-reference/statements/select/index.md

* Update docs/en/sql-reference/statements/select/index.md

Co-authored-by: BayoNet <da-daos@yandex.ru>
2020-11-23 16:11:15 +03:00
dfenelonov
90159ea2e9 -Distinct combinator description 2020-11-23 06:11:06 +03:00
alexey-milovidov
1cdb447b77
Update date-time-functions.md 2020-11-22 07:38:31 +03:00
olgarev
276ba42234
DOCSUP-2864: Documented WITH ROLLUP and WITH CUBE sections of the SELECT query (#17094)
* Docs en,ru

* Explanation added

Co-authored-by: Olga Revyakina <revolg@yandex-team.ru>
2020-11-21 23:06:29 +03:00
alexey-milovidov
7c93452044
Merge pull request #17259 from den-crane/patch-7
Doc. removed obsolete info about groupby / sum
2020-11-21 22:47:43 +03:00
AnaUvarova
33217c5b49
DOCSUP-1954 initialize aggregation description (#16793)
* Draft

* Draft+

* host fixes

* host fixes

* ++

* ++

* +++

* Edits, part 1: + parametres and clarification

* Edits

* Fix host

* Update docs/en/sql-reference/aggregate-functions/reference/initializeAggregation.md

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

* nano-fixes and russian translation

* Final edits

Co-authored-by: BayoNet <da-daos@yandex.ru>
2020-11-21 22:47:34 +03:00
Denny Crane
dd7b9f2387
Update index.md
removed obsolete info about sum
2020-11-21 15:05:34 -04:00
Denny Crane
badb7b1ba5
Update group-by.md
removed obsolete info about groupby
2020-11-21 14:58:58 -04:00
Kruglov Pavel
51bcd286f2
Merge pull request #16845 from azat/cutToFirstSignificantSubdomainWithWWW
Add cutToFirstSignificantSubdomainWithWWW()
2020-11-20 01:44:57 +03:00
Denny Crane
ceb42affdc
final_parallel 2020-11-19 15:56:00 -04:00
ana-uvarova
47169cb1bd new info draft 2020-11-19 19:22:34 +03:00
alexey-milovidov
29bfb5a518
Merge pull request #16997 from vdimir/source-clickhouse-usability
source(clickhouse(...)) usability
2020-11-19 07:37:00 +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
vdimir
428f42053b
Merge remote-tracking branch 'upstream/master' into source-clickhouse-usability 2020-11-16 22:34:28 +03:00
ana-uvarova
d9e2c92f51 ++ 2020-11-16 12:13:34 +03:00
ana-uvarova
c6e7f7c0f4 ++ 2020-11-16 12:08:10 +03:00
myrrc
b1c0089b78 Merge remote-tracking branch 'upstream/master' into improvement/diff-types-in-avg-weighted 2020-11-14 16:50:04 +03:00
vdimir
66fc546331
Fix doc for LIFETIME statement 2020-11-14 16:45:42 +03:00
Anna
a1b1338281
DOCSUP-2869: Document section user_directories in the main config (#16340)
* DOCSUP-2869: Document section user_directories in the main config

* Update settings.md

* Update

* Commit for DOCSUP-3418

* Update

* Russian translation

* Fix typo
2020-11-13 16:08:38 +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