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
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
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
Mikhail Filimonov
f4e44e63b0
Remove timeSeriesGroupRateSum from docs
2020-11-11 18:35:48 +01:00
olgarev
115807e77a
DOCSUP-3043: Document the null function (ru) ( #16795 )
...
* my changes to gitignore
* Corrections in English docs and Russian docs added.
* TOC corrections
* TOC fixed
* Revert "my changes to gitignore"
This reverts commit 5884b1e79b
.
* Update docs/en/sql-reference/table-functions/null.md
* Update docs/en/sql-reference/table-functions/null.md
* Update docs/ru/sql-reference/table-functions/null.md
* Update docs/ru/sql-reference/table-functions/null.md
Co-authored-by: Olga Revyakina <revolg@yandex-team.ru>
Co-authored-by: BayoNet <da-daos@yandex.ru>
2020-11-10 17:54:53 +03:00
Maksim Kita
02da9af32d
DateTime comparison with date string literal
2020-11-09 11:29:08 +03:00
sevirov
4eb684603a
Update order-by.md ( #16770 )
...
Заново сделал изменения в английскую и русскую версии.
Co-authored-by: Dmitriy <sevirov@yandex-team.ru>
2020-11-09 11:21:27 +03:00
Anna Shakhova
f4afb46433
DOCSUP-3123: Edited the ReplicatedMergeTree and Polygon dictionaries ( #16110 )
...
* #13573
* #9278
* Fixed
* Fixed
* Fixed link
* Update docs/en/sql-reference/dictionaries/external-dictionaries/external-dicts-dict-polygon.md
* Update docs/en/sql-reference/dictionaries/external-dictionaries/external-dicts-dict-polygon.md
Co-authored-by: BayoNet <da-daos@yandex.ru>
2020-11-08 22:42:28 +03:00
alexey-milovidov
85d1f37dde
Update sumwithoverflow.md
2020-11-07 13:27:56 +03:00
Alain BERRIER
9dd0c7708e
fix: fix typo in array functions documentation
2020-11-05 16:23:23 +01:00
alexey-milovidov
5954b7ec8b
Merge pull request #16570 from JacobHayes/add-farmfingerprint64
...
Add farmFingerprint64 function
2020-11-05 13:36:59 +03:00
damozhaeva
fa72fed4ad
DOCSUP-3173 Edit and translate to Russian ( #16462 )
...
* Edit and translate to Russian.
* v2 27.10
* other-functions
* Update docs/ru/sql-reference/functions/other-functions.md
Co-authored-by: BayoNet <da-daos@yandex.ru>
* Update docs/ru/sql-reference/functions/other-functions.md
Co-authored-by: BayoNet <da-daos@yandex.ru>
Co-authored-by: Daria Mozhaeva <dmozhaeva@yandex-team.ru>
Co-authored-by: BayoNet <da-daos@yandex.ru>
2020-11-04 22:17:02 +03:00
alexey-milovidov
4fede5b008
Merge pull request #16438 from azat/errorCode-v2
...
Add errorCodeToName() and system.errors
2020-11-04 12:40:47 +03:00
alexey-milovidov
691f0ec44c
Merge pull request #16534 from olgarev/revolg-DOCSUP-3043-document_the_null_function
...
DOCSUP-3043: Documented the null function
2020-11-04 12:20:20 +03:00
alexey-milovidov
1f323e98d1
Update null.md
2020-11-04 12:20:06 +03:00
alexey-milovidov
cf61c29a03
Update docs/en/sql-reference/table-functions/null.md
...
Co-authored-by: BayoNet <da-daos@yandex.ru>
2020-11-04 12:17:53 +03:00
alexey-milovidov
4fb31f8782
Merge pull request #16647 from gyuton/gyuton-DOCSUP-3535-document_the_reinterpretAsUUID_function
...
DOCSUP-3535: Documented the reinterpretAsUUID function
2020-11-04 11:19:30 +03:00
alexey-milovidov
788418b447
Update type-conversion-functions.md
2020-11-04 11:19:17 +03:00
alexey-milovidov
96d66a480f
Update type-conversion-functions.md
2020-11-04 11:18:50 +03:00
alexey-milovidov
26ff9a1184
Merge pull request #16649 from sevirov/sevirov-DOCSUP-3850-document_string_literal_support_interval
...
DOCSUP-3850: Document the string literal support in INTERVAL operator
2020-11-04 11:17:57 +03:00
Denny Crane
dea3641e5c
Update external-dicts-dict-layout.md
2020-11-03 20:47:42 -04:00
Dmitriy
3ea2047d8f
Update index.md
...
Добавил описание возможности использования строкового литерала.
2020-11-04 01:46:52 +03:00
alexey-milovidov
8a3f38f332
Merge branch 'master' into errorCode-v2
2020-11-04 01:40:41 +03:00
George
aad09fc6f4
Added reinterpretAsUUID description
2020-11-03 22:53:09 +03:00
Evgenia Sudarikova
2fae1c3c31
DOCSUP-3171: Document the formatRowNoNewline function ( #16603 )
...
* add description in English
* minor changes
* changes in EN and added RU version
2020-11-03 18:59:21 +03:00
damozhaeva
6db9ee4300
DOCSUP-3172: Edit and translate to Russian ( #16153 )
...
* Edit and traslate to Russian.
* Update docs/ru/engines/table-engines/integrations/kafka.md
Co-authored-by: BayoNet <da-daos@yandex.ru>
* Update docs/ru/interfaces/http.md
Co-authored-by: BayoNet <da-daos@yandex.ru>
* Update docs/ru/interfaces/http.md
Co-authored-by: BayoNet <da-daos@yandex.ru>
* Ticket.
* http.
* kafka ru
Co-authored-by: Daria Mozhaeva <dmozhaeva@yandex-team.ru>
Co-authored-by: BayoNet <da-daos@yandex.ru>
2020-11-02 19:54:23 +03:00
Dmitriy
73cfe76c49
Update order-by.md
...
Удалил изменения.
2020-10-31 20:16:49 +03:00
Dmitriy
8b64d7be56
Merge branch 'master' of https://github.com/ClickHouse/ClickHouse into master
2020-10-31 16:56:30 +03:00
Jacob Hayes
c9ad4e8d96
Add farmFingerprint64 docs
2020-10-31 09:04:18 -04:00
filimonov
f52d0919f0
Update date-time-functions.md
2020-10-30 10:31:05 +01:00
Olga Revyakina
98f701dbfc
Docs in English
2020-10-30 04:09:42 +03:00
Ekaterina
19794bee07
DOCSUP-2966: Update the INSERT INTO statement ( #16404 )
...
* Revert "Update version_date.tsv after release 20.7.4.11"
This reverts commit 9aff247afe
.
* Added translation for feature.
* Fixed.
* Fixed.
* Fixed.
* Update docs/en/sql-reference/statements/insert-into.md
* Update docs/en/sql-reference/statements/insert-into.md
* Update docs/en/sql-reference/statements/insert-into.md
* Update docs/en/sql-reference/statements/insert-into.md
* Update docs/en/sql-reference/statements/insert-into.md
* Update docs/en/sql-reference/statements/insert-into.md
* Update docs/ru/sql-reference/statements/insert-into.md
* Update docs/ru/sql-reference/statements/insert-into.md
* Update docs/ru/sql-reference/statements/insert-into.md
* Update version_date.tsv
Co-authored-by: BayoNet <da-daos@yandex.ru>
2020-10-29 21:27:37 +03:00
Anna
0f92fe9ad2
DOCSUP-3118: Document the named subqueries WITH AS ( #16339 )
...
* Update WITH desc
* Update docs/en/sql-reference/statements/select/with.md
Co-authored-by: BayoNet <da-daos@yandex.ru>
* Update docs/en/sql-reference/statements/select/with.md
Co-authored-by: BayoNet <da-daos@yandex.ru>
* Update docs/en/sql-reference/statements/select/with.md
Co-authored-by: BayoNet <da-daos@yandex.ru>
* Fixed, ru translated
* Update docs/en/sql-reference/statements/select/with.md
Co-authored-by: BayoNet <da-daos@yandex.ru>
* Fixed syntax description
* Update docs/ru/sql-reference/statements/select/with.md
Co-authored-by: BayoNet <da-daos@yandex.ru>
* Update
Co-authored-by: BayoNet <da-daos@yandex.ru>
2020-10-29 21:22:28 +03:00
Azat Khuzhin
a81b0418ac
Make errorCodeToName() return LowCardinality(String)
2020-10-29 10:55:41 +03:00
Azat Khuzhin
3fb8d08dd4
Add errorCodeToName() function
...
This patch adds errorCode() function that will return macro name by the
exception code, useful for analyzing query_log and similar.
Later some descriptions can be added.
v2: replace hana::map/fusion::vector with external script
v3:
- use binary cmake dir for .sh
- use jump table over suboptimal std::unordered_map (with very poor hash
function for int -- std::hash)
- cleanup errorCodeToName (drop extra templates and headers)
- rename errorCode -> errorCodeToName
- fix arcadia build (by not providing those helpers there)
- fix build on CI, by using CMAKE_CXX_COMPILER for parsing the file
2020-10-29 10:55:00 +03:00
filimonov
2d28d97233
Update other-functions.md
2020-10-28 15:13:27 +01:00
Dmitriy
cc0235e8f4
Merge branch 'master' of https://github.com/ClickHouse/ClickHouse into master
2020-10-27 22:12:51 +03:00
Mikhail Filimonov
41971e073a
Fix typos reported by codespell
2020-10-27 12:04:03 +01:00
Anton Popov
5fbca7d62d
Merge pull request #16337 from kitaisreal/uuid-safe-cast-functions-added
...
UUID safe cast functions added
2020-10-26 16:03:27 +03:00
Anton Popov
bd17843bdb
Update uuid-functions.md
2020-10-26 16:00:49 +03:00
Roman Bug
9ec78855cd
DOCSUP-2806: Add meta header in RU ( #15801 )
...
* DOCSUP-2806: Add meta intro.
* DOCSUP-2806: Update meta intro.
* DOCSUP-2806: Fix meta.
* DOCSUP-2806: Add quotes for meta headers.
* DOCSUP-2806: Remove quotes from meta headers.
* DOCSUP-2806: Add meta headers.
* DOCSUP-2806: Fix quotes in meta headers.
* DOCSUP-2806: Update meta headers.
* DOCSUP-2806: Fix link to nowhere in EN.
* DOCSUP-2806: Fix link (settings to tune)
* DOCSUP-2806: Fix links.
* DOCSUP-2806:Fix links EN
* DOCSUP-2806: Fix build errors.
* DOCSUP-2806: Fix meta intro.
* DOCSUP-2806: Fix toc_priority in examples datasets TOC.
* DOCSUP-2806: Fix items order in toc.
* DOCSUP-2806: Fix order in toc.
* DOCSUP-2806: Fix toc order.
* DOCSUP-2806: Fix order in toc.
* DOCSUP-2806: Fix toc index in create
* DOCSUP-2806: Fix toc order in create.
Co-authored-by: romanzhukov <romanzhukov@yandex-team.ru>
Co-authored-by: alexey-milovidov <milovidov@yandex-team.ru>
2020-10-26 13:29:30 +03:00
sevirov
8f03e526a4
DOCSUP-3200: Edit and translate to Russian ( #16204 )
...
* Edit and translate
Отредактировал английскую версию текстов документов и перевел изменения на русский язык.
* Update trace_log.md
Исправляю битые ссылки.
* Fixing broken links
Исправил битые ссылки.
* Fixing broken links
Поправил битую ссылку, добавив раздел в русскую версию.
Co-authored-by: Dmitriy <sevirov@yandex-team.ru>
2020-10-26 13:09:41 +03:00
Dmitriy
a83e389c61
Merge branch 'master' of https://github.com/ClickHouse/ClickHouse into master
2020-10-25 15:20:48 +03:00
Maksim Kita
440ae2bc57
UUID safe cast functions added
...
1. Added readUUIDTextImpl, readUUIDText, tryReadUUIDText functions in
ReadHelpers.
2. Added toUUIDOrNull, toUUIDOrZero functions based on ReadHelpers read
implementations.
3. Updated documentation.
2020-10-25 11:45:29 +03:00
Dmitriy
3da09371dc
Update order-by.md
...
Пытаюсь исправить битые ссылки.
2020-10-24 13:24:40 +03:00
Dmitriy
5c11925830
Update prewhere.md
...
Вернул изменения назад.
2020-10-24 13:17:48 +03:00
Dmitriy
b6198d2af6
Update prewhere.md
...
Поправляю битые ссылки.
2020-10-24 13:09:53 +03:00