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)
* 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>
* 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>
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())
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.
* 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>
* 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>
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
* 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>
* Description of the iLike function
Добавил описание функции iLike и добавил оператор ILIKE.
* Update string-search-functions.md
Changed by comments.
* Update and translation ilike function and ILIKE operator..
Внес поправки в английскую версию и сделал перевод на русский язык.
Co-authored-by: Dmitriy <sevirov@yandex-team.ru>
* Added two modificators into the table of supported modificators
* Clarified description of added modifiers and started to add info according to the template of function description
* fixed link
* fix link again
* edits
* Update docs/en/sql-reference/functions/date-time-functions.md
Co-authored-by: BayoNet <da-daos@yandex.ru>
* Update docs/en/sql-reference/functions/date-time-functions.md
Co-authored-by: BayoNet <da-daos@yandex.ru>
* Update docs/en/sql-reference/functions/date-time-functions.md
Co-authored-by: BayoNet <da-daos@yandex.ru>
* comments from ticket
* +
* +
* polishing
* Update docs/en/sql-reference/functions/date-time-functions.md
Co-authored-by: BayoNet <da-daos@yandex.ru>
* external link for understanding
* Перевод на русский
* Доработала русский перевод
* Причесала перевод
* Уточнение части перевода
* Шлифовка части перевода
Co-authored-by: BayoNet <da-daos@yandex.ru>
* Docs for the extractAllGroupsHorizontal and extractAllGroupsVertical functions (English).
* Minor fixes (en).
* Misspelling fixed.
* English docs corrected and translated into Russian.
* English misspelling corrected.
Co-authored-by: Olga Revyakina <revolg@yandex.ru>
Co-authored-by: Olga Revyakina <revolg@yandex-team.ru>
* Higher-order functions description moved to Array functions (English).
* Bad anchor fixed.
* Update docs/en/sql-reference/functions/array-functions.md
Co-authored-by: Ivan Blinkov <github@blinkov.ru>
* Higher-order functions description moved to Array functions (Russian).
* Update array-functions.md
Minor fixes in Russian text.
Co-authored-by: Olga Revyakina <revolg@yandex.ru>
Co-authored-by: Ivan Blinkov <github@blinkov.ru>
* Geo functions - en/ru sync.
* Fixed bug with levels.
* Apply suggestions from code review
Co-authored-by: Ivan Blinkov <github@blinkov.ru>
Co-authored-by: BayoNet <da-daos@yandex.ru>
* Geo functions splitted into 3 files.
* Links fixed.
* Link fixed.
* Anchor fixed.
* Add into TOC.
* Temporarily removed anchors.
* Working on TOC.
* Links to original article.
* TOC and links in English and Russian.
* TOC in English, content in index.
* Link fixed.
* TOC in Russian, with content in index file.
* Added index file to geo functions
* fixed links in ru
Co-authored-by: Olga Revyakina <revolg@yandex-team.ru>
Co-authored-by: Ivan Blinkov <github@blinkov.ru>
Co-authored-by: BayoNet <da-daos@yandex.ru>
Co-authored-by: Sergei Shtykov <bayonet@yandex-team.ru>
* DOCSUP-1249 fixedRandomString description was added (#137)
* fixedRandomString description was added
* Update docs/en/sql-reference/functions/other-functions.md
Co-authored-by: BayoNet <da-daos@yandex.ru>
* Update docs/en/sql-reference/functions/other-functions.md
Co-authored-by: BayoNet <da-daos@yandex.ru>
* Update docs/en/sql-reference/functions/other-functions.md
Co-authored-by: BayoNet <da-daos@yandex.ru>
* I added the information about symbols class.
* Ive translated function description to Russian.
* Fixes.
* Type of the result added.
* Type of the result added in two languages.
* Fixes.
Co-authored-by: BayoNet <da-daos@yandex.ru>
* CLICKHOUSEDOCS-652: Fixed text.
Co-authored-by: AnaUvarova <64017504+AnaUvarova@users.noreply.github.com>
Co-authored-by: Sergei Shtykov <bayonet@yandex-team.ru>
* Russian translation for new functions
* Apply suggestions from code review
Co-authored-by: BayoNet <da-daos@yandex.ru>
* Minor updates to russian text.
Co-authored-by: Olga Revyakina <revolg@yandex-team.ru>
Co-authored-by: BayoNet <da-daos@yandex.ru>
Co-authored-by: Sergei Shtykov <bayonet@yandex-team.ru>
Co-authored-by: olgarev <56617294+olgarev@users.noreply.github.com>
Co-authored-by: Olga Revyakina <revolg@yandex-team.ru>
* Add's hasSubstr array function
* Add's example in the english doc of hasSubStr
* Updates conditions to avoid prematurely calling isEqual
* Remove feathericons
Authored-by: Ryad ZENINE <ryad.zenine@contentsquare.com>
* Basic blog similar to docs
* rename post
* no post content in post_meta
* update readme and template
* more "en" content
* complete "en" content
* build blog redirects
* redirects for migration
* link sitemaps
* update po
* add "ru" content
* ru redirects
* remove old domain mentions
* adjust styles
* content improvements
* +1 alt
* use main images from CDN
* use re-hosted in-content images
* extra vertical margin around embedded youtube
* minor improvements
* adjust post page
* adjust html meta
* adjust post page
* improve blog rendering
* Family of functions to convert DateTime64 to Int64 and back, usefull for
imporintg/exporting raw timestamp values of certain precision.
* Docs
* Tests
* Fixed ya.make
* CLICKHOUSEDOCS-323: The first version of the description.
* CLICKHOUSEDOCS-323: Update.
* CLICKHOUSEDOCS-323: toLowCardinality, low_cardinality_max_dictionary_size
* CLICKHOUSEDOCS-323: Added descriptions of low_cardinality_use_single_dictionary_for_part, low_cardinality_allow_in_native_format, allow_suspicious_low_cardinality_types.
* Update docs/en/sql-reference/data-types/lowcardinality.md
Co-authored-by: Ivan Blinkov <github@blinkov.ru>
* Update docs/en/sql-reference/data-types/lowcardinality.md
Co-authored-by: Ivan Blinkov <github@blinkov.ru>
* Update docs/en/sql-reference/functions/type-conversion-functions.md
Co-authored-by: Ivan Blinkov <github@blinkov.ru>
* CLICKHOUSEDOCS-323: Updated by comments.
* CLICKHOUSEDOCS-323: Updated by comments.
* CLICKHOUSEDOCS-323: Fixed some grammar.
Co-authored-by: Sergei Shtykov <bayonet@yandex-team.ru>
Co-authored-by: Ivan Blinkov <github@blinkov.ru>
* Refactoring in preparation for AMP support
* infrastructure for AMP validation
* Add Metrika counter on AMP page + adjust layout
* more content fixes
* improve amp layout
* improve navigation
* Move converting admonitions to generation time
* strict amp test check
* Batch AMP validation
* Add date published/modified to docs articles and their ld+json meta
* few more content fixes
* improve ld+json meta
* adjust margins
* skip published/modified for stable release docs
* adapt single page mode
* update po
* skip published/modified for single page docs
* update po
* adjust layout
* adjust layout