Commit Graph

2864 Commits

Author SHA1 Message Date
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
Patrick Zippenfenig
178649ed20
Add client library for Swift 2020-11-13 11:58:50 +01: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
Kruglov Pavel
9974ab5928
Merge pull request #16582 from annvsh/anna-shakhova-DOCSUP-3863-formats_tsv_csv_enum_as_number
DOCSUP-3863: Documented the settings input_format_csv_enum_as_number, input_format_tsv_enum_as_number
2020-11-12 16:25:24 +03:00
annvsh
ab96528a9c Fixed 2020-11-12 19:03:24 +07:00
alexey-milovidov
d4c99a64b4
Merge pull request #16901 from filimonov/timeSeriesGroupSum-remove-docs
Remove timeSeriesGroupRateSum from docs
2020-11-12 13:45:19 +03:00
alexey-milovidov
ff29b2d2ee
Merge pull request #15073 from sundy-li/storage-rocksdb
StorageEmbeddedRocksDB
2020-11-12 13:17:58 +03:00
Robert Hodges
20d0c5ca67 Add more known ClickHouse users
Added new entries to adopters.md along with links to talks/slides.
2020-11-11 16:38:26 -08:00
Mikhail Filimonov
f4e44e63b0
Remove timeSeriesGroupRateSum from docs 2020-11-11 18:35:48 +01:00
Alexey Milovidov
630aa9b0c3 Rename Rocksdb to RocksDB 2020-11-11 09:08:53 +08:00
alexey-milovidov
75c994ad87 Update embedded-rocksdb.md 2020-11-11 09:08:53 +08:00
sundy-li
a5fc4d69a5 add docs 2020-11-11 09:08:52 +08:00
sundy-li
8cb3ec5aea add docs 2020-11-11 09:08:52 +08: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
Alexander Kuzmenkov
5449c23cb8
Merge pull request #16040 from kitaisreal/datetime-comparison-with-date-string-literal
DateTime comparison with date string literal
2020-11-10 08:15:00 +03:00
alexey-milovidov
a000a6b41a
Update adding_test_queries.md 2020-11-10 01:37:00 +03:00
alexey-milovidov
258d0549cd
Update adding_test_queries.md 2020-11-10 01:34:19 +03:00
filimonov
14b4c19919
Create adding_test_queries.md 2020-11-09 20:00:00 +01:00
annvsh
6543b32221 Fixed 2020-11-09 22:00:18 +07: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
Alexander Kuzmenkov
24e57c659a
Merge pull request #15960 from kitaisreal/clickhouse-client-added-history-file-parameter
Clickhouse client added history file parameter
2020-11-09 08:19:00 +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
6eda689aa3
Update adopters.md 2020-11-08 00:55:34 +03:00
alexey-milovidov
c2e6ddddbd
Update adopters.md 2020-11-07 13:54:36 +03:00
alexey-milovidov
ca7ef4fb90
Update adopters.md 2020-11-07 13:50:23 +03:00
alexey-milovidov
7acfa7d407
Merge pull request #16728 from azat/enable-use_compact_format_in_distributed_parts_names-by-default
Enable use_compact_format_in_distributed_parts_names by default
2020-11-07 13:40:54 +03:00
alexey-milovidov
85d1f37dde
Update sumwithoverflow.md 2020-11-07 13:27:56 +03:00
annvsh
b36f9e97d8 Fixed 2020-11-07 12:44:22 +07:00
annvsh
ca3a1b15c2 Fixed 2020-11-07 12:37:34 +07:00
Azat Khuzhin
f379f9837d Document use_compact_format_in_distributed_parts_names setting
Since it has been enabled by default, at least it should be documented.
2020-11-06 21:02:44 +03:00
Maksim Kita
05ba70c91f Clickhouse client added history file parameter 2020-11-06 17:05:59 +03:00
gyuton
0d1fcd2f96
DOCSUP-3227: Documented the persistent setting (#16579)
* added description of disable_set_and_join_persistency setting.

* Changed setting name to persistent, added references about persistent to join table engine and set table engine

* Resolved conflict.

* Added reviewers suggestions

* Added translation for Russian.

* Fixed typos

* Update docs/en/operations/settings/settings.md

Fixed minor stuff.

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

* Update settings.md

Updated translation.

* Fixed description and translation

* Fixed letter cases

Co-authored-by: George <gyuton@yandex-team.ru>
Co-authored-by: BayoNet <da-daos@yandex.ru>
2020-11-06 14:23:04 +03:00
alexey-milovidov
8b4aa78144
Merge pull request #16712 from den-crane/patch-6
Doc. BloomF index does not support like. Tokenbf_v1 supports like
2020-11-05 21:31:39 +03:00
Alain BERRIER
9dd0c7708e
fix: fix typo in array functions documentation 2020-11-05 16:23:23 +01:00
Denny Crane
771814bb85
Update mergetree.md
bloom does not support like
2020-11-05 11:07:24 -04:00
alexey-milovidov
caa1bf9bcd
Merge pull request #16687 from hrissan/hrissan/dev_instructions_gcc_9_to_gcc_10
Hrissan/dev instructions gcc 9 to gcc 10
2020-11-05 14:07:58 +03: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
4c6819c26f Fix misleading info 2020-11-04 17:41:16 +03:00
alexey-milovidov
7986dbdfc7
Update ontime.md 2020-11-04 14:32:55 +03:00
filimonov
c7facedf10
Update clickhouse-copier.md 2020-11-04 12:02:30 +01:00
Kruglov Pavel
e7b4dce258
Remove inappropriate enum parsing mention 2020-11-04 13:20:32 +03:00
Grigory Buteyko
d99940b7f4 Development instructions updated to GCC 10 from GCC 9 2020-11-04 12:57:49 +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
85d5c8edc5
Merge pull request #16515 from AnaUvarova/ana-uvarova-DOCSUP-2962-one-more-field-metric-log
DOCSUP-2962: one more field metric log
2020-11-04 12:30:02 +03:00