Commit Graph

48 Commits

Author SHA1 Message Date
Alexander Kuzmenkov
0fc1268432
Merge pull request #11120 from azat/function-port
Add port() function
2020-05-27 15:27:06 +03:00
BayoNet
3ff28d0a7a
DOCS-112: any_join_distinct_right_table_keys (#11065)
* CLICKHOUSEDOCS-112: any_join_distinct_right_table_keys

* CLICKHOUSEDOCS-112: Updated link.

* CLICKHOUSEDOCS-112: Updated by comments.

* CLICKHOUSEDOCS-112: Updated by comments.

* CLICKHOUSEDOCS-112: Fixed grammar.

* CLICKHOUSEDOCS-112: Updated by comments.

* CLICKHOUSEDOCS-112: Fixed typo.

Co-authored-by: Sergei Shtykov <bayonet@yandex-team.ru>
2020-05-26 18:10:56 +03:00
Vasily Nemkov
28a2cc0a82 Functions {to,from}UnixTimestamp64{Milli,Micro,Nano}
* 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
2020-05-26 16:42:22 +03:00
BayoNet
42f72d526f
DOCS-323: LowCardinality (#11060)
* 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>
2020-05-25 14:01:28 +03:00
Alexander Kuzmenkov
3b888e4e33 Add rand32 alias 2020-05-25 04:03:46 +03:00
Azat Khuzhin
9de1a231c9 Add optional default_port argument for the port() function 2020-05-23 23:36:01 +03:00
Azat Khuzhin
409cff11df Add port() function
It uses domain() (getURLHost()) internally so it has the same
limitations:
- no ipv6 support
- no host-without-dots support (i.e. "foobar")
2020-05-23 20:45:56 +03:00
Ivan Blinkov
7d0ac4e20f
trigger ci 2020-05-21 00:08:04 +03:00
BayoNet
5e84769c74
DOCS-628: Stable versions of statistical functions v2 (#11047)
* CLICKHOUSEDOCS-628: Restore deleted changes.

* CLICKHOUSEDOCS-628: pillar

* CLICKHOUSEDOCS-628: Fixed grammar.

* CLICKHOUSEDOCS-628: Translated #8933

Co-authored-by: Sergei Shtykov <bayonet@yandex-team.ru>
2020-05-20 08:35:51 +03:00
BayoNet
266fa9d99c
DOCS-627: Fixed language and markup in EN version and translated to RU. (#11001)
* DOCSUP-1063 (#114)

* added first draft

* added translation for force_optimize_skip_unused_shards and fixed anchors

* fixes

* fixes

* fixed alter.md

Co-authored-by: Elizaveta Mironyuk <emironyuk@yandex-team.ru>

* CLICKHOUSEDOCS-627: Updated templated.

* Fixed markup.

* CLICKHOUSEDOCS-627: Fixed links.

Co-authored-by: Sergei Shtykov <bayonet@yandex-team.ru>
Co-authored-by: emironyuk <62014692+emironyuk@users.noreply.github.com>
Co-authored-by: Elizaveta Mironyuk <emironyuk@yandex-team.ru>
2020-05-19 09:02:30 +03:00
alexey-milovidov
6d34f24605
Merge branch 'master' into complex_key_direct 2020-05-17 11:55:01 +03:00
BayoNet
c701493e30 DOCS-626: EN review, RU translations for RBAC docs (#10951)
* DOCSUP-1062 (#112)

* added first draft

* minor fixes

* fixed anchors

* yet another fixes

* and the minorest fixes

* Apply suggestions from doc review

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

* fixed terminology in ru (access entity, throws exception)

* fixed typo

* fixed typo

Co-authored-by: Elizaveta Mironyuk <emironyuk@yandex-team.ru>
Co-authored-by: BayoNet <da-daos@yandex.ru>

* Fixed link.

* CLICKHOUSEDOCS-626: Fixed links.

Co-authored-by: Sergei Shtykov <bayonet@yandex-team.ru>
Co-authored-by: emironyuk <62014692+emironyuk@users.noreply.github.com>
Co-authored-by: Elizaveta Mironyuk <emironyuk@yandex-team.ru>
2020-05-15 23:30:51 +03:00
Ivan Blinkov
aa17da6b68
[docs] adjust SELECT ToC meta (#10942)
* [docs] adjust SELECT ToC meta

* Update array-join.md

* Update distinct.md

* Update format.md

* Update from.md

* Update group-by.md

* Update having.md

* Update into-outfile.md

* Update join.md

* Update limit-by.md

* Update limit.md

* Update order-by.md

* Update prewhere.md

* Update sample.md

* Update union-all.md

* Update where.md

* Update with.md
2020-05-15 14:25:18 +03:00
Артем Стрельцов
be731ad62e Merge branch 'master' of github.com:yandex/ClickHouse into complex_key_direct 2020-05-15 12:01:09 +03:00
Ivan Blinkov
cd14f9ebcb
SQL reference refactoring (#10857)
* split up select.md

* array-join.md basic refactoring

* distinct.md basic refactoring

* format.md basic refactoring

* from.md basic refactoring

* group-by.md basic refactoring

* having.md basic refactoring

* additional index.md refactoring

* into-outfile.md basic refactoring

* join.md basic refactoring

* limit.md basic refactoring

* limit-by.md basic refactoring

* order-by.md basic refactoring

* prewhere.md basic refactoring

* adjust operators/index.md links

* adjust sample.md links

* adjust more links

* adjust operatots links

* fix some links

* adjust aggregate function article titles

* basic refactor of remaining select clauses

* absolute paths in make_links.sh

* run make_links.sh

* remove old select.md locations

* translate docs/es

* translate docs/fr

* translate docs/fa

* remove old operators.md location

* change operators.md links

* adjust links in docs/es

* adjust links in docs/es

* minor texts adjustments

* wip

* update machine translations to use new links

* fix changelog

* es build fixes

* get rid of some select.md links

* temporary adjust ru links

* temporary adjust more ru links

* improve curly brace handling

* adjust ru as well

* fa build fix

* ru link fixes

* zh link fixes

* temporary disable part of anchor checks
2020-05-15 07:34:54 +03:00
Артем Стрельцов
6b12cfb8e4 documentation added 2020-05-13 19:05:05 +03:00
Ivan Blinkov
efa1e9562b
Update aggregatefunction.md 2020-05-13 18:39:33 +03:00
alesapin
612385d703 Revert "DOCS-628: Stable versions of statistical functions (#10848)"
This reverts commit 1a4ce6b3c8.
2020-05-13 16:32:36 +03:00
Ilya Yatsishin
3e164769aa
Merge pull request #10875 from BayoNet/en-docs/CLICKHOUSEDOCS-504-groupArrayInsertAt
DOCS-504: groupArrayInsertAt
2020-05-13 11:50:05 +03:00
BayoNet
1a4ce6b3c8
DOCS-628: Stable versions of statistical functions (#10848)
* CLICKHOUSEDOCS-628: Mentioned Stable versions of staticsical functions.

* CLICKHOUSEDOCS-628: Sync from EN to RU.

* Update docs/ru/sql-reference/aggregate-functions/reference.md

Co-authored-by: Ivan Blinkov <github@blinkov.ru>

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

Co-authored-by: Ivan Blinkov <github@blinkov.ru>

* CLICKHOUSEDOCS-628: Updated formatting.

Co-authored-by: Sergei Shtykov <bayonet@yandex-team.ru>
Co-authored-by: Ivan Blinkov <github@blinkov.ru>
2020-05-13 09:08:35 +03:00
Sergei Shtykov
1a2181fb45 Merge branch 'master' of github.com:ClickHouse/ClickHouse into en-docs/CLICKHOUSEDOCS-504-groupArrayInsertAt 2020-05-13 09:02:31 +03:00
Sergei Shtykov
5d2bf3f6ac CLICKHOUSEDOCS-504: groupArrayInsertAt 2020-05-13 08:58:51 +03:00
AsiaKorushkina
681dc69ae7
asiana21-DOCSUP-789 (#110)
* docs(groupArrayInsertAt): added the function description

* docs(groupArrayInsertAt): some changes

* docs(groupArrayInsertAt): some changes 2

* docs(groupArrayInsertAt): some changes 3

* docs(groupArrayInsertAt): parameter section changed

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

* docs(groupArrayInsertAt):  some examples are added

* docs(groupArrayInsertAt):  russian translation added

* docs(groupArrayInsertAt):  some change in russian translation

Co-authored-by: asiana21 <asiana21@yandex-team.ru>
Co-authored-by: BayoNet <da-daos@yandex.ru>
2020-05-13 08:46:20 +03:00
BayoNet
f2e2e993e5
DOCS-289: randConstant (#10838)
* DOCSUP-778 (#111)

* docs(randConstant): add description

* docs(randConstant): edit link

* docs(randConstant): corrections after review

* docs(randConstant): add description in Russian

Co-authored-by: egilmanova <egilmanova@yandex-team.ru>

* CLICKHOUSEDOCS-289: Updated descriptions.

* CLICKHOUSEDOCS-289: Fixed links.

* Update docs/ru/sql-reference/functions/random-functions.md

Co-authored-by: Ilya Yatsishin <2159081+qoega@users.noreply.github.com>

* Update docs/en/sql-reference/functions/random-functions.md

Co-authored-by: Ivan Blinkov <github@blinkov.ru>

Co-authored-by: egilmanova <63861789+egilmanova@users.noreply.github.com>
Co-authored-by: egilmanova <egilmanova@yandex-team.ru>
Co-authored-by: Sergei Shtykov <bayonet@yandex-team.ru>
Co-authored-by: Ilya Yatsishin <2159081+qoega@users.noreply.github.com>
Co-authored-by: Ivan Blinkov <github@blinkov.ru>
2020-05-12 19:37:21 +03:00
Ivan Blinkov
092f05f8d4
Update simpleaggregatefunction.md 2020-05-08 18:55:28 +03:00
Ivan Blinkov
e386d701db
Update revoke.md 2020-05-08 16:58:38 +03:00
Ivan Blinkov
218fcfe9ca
Update revoke.md 2020-05-08 15:02:19 +03:00
Ivan Blinkov
21d8b6288d
[docs] generate AMP versions for docs articles (#10732)
* 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
2020-05-08 11:04:09 +03:00
Ilya Yatsishin
1d281ec032
Merge pull request #10652 from BayoNet/docs/CLICKHOUSEDOCS-623-dicts
DOCS-623: Updated introduction to external dictionaries
2020-05-08 09:35:13 +03:00
Alexey Dushechkin
0237152806
Fix typo passing -> padding in toFixedString 2020-05-08 08:54:53 +07:00
Artem Streltsov
5220d9a4db
small docs edit (#10731)
Co-authored-by: Артем Стрельцов <artemstreltsov@Air-2.local>
2020-05-07 23:00:30 +03:00
BayoNet
412992f46f
DOCS-606: JSONExtractKeysAndValuesRaw (#10695)
* DOCSUP-999: JSONExtractKeysAndValuesRaw (#109)

* added english description

* fixes

* added russian translation

Co-authored-by: Elizaveta Mironyuk <emironyuk@yandex-team.ru>

* CLICKHOUSEDOCS-606: Fixed translation.

* Update docs/en/sql-reference/functions/json-functions.md

Co-authored-by: Ivan Blinkov <github@blinkov.ru>

* CLICKHOUSEDOCS-606: Updated by comments.

* Updated by comments.

* CLICKHOUSEDOCS-606: Updated by comments.

Co-authored-by: emironyuk <62014692+emironyuk@users.noreply.github.com>
Co-authored-by: Elizaveta Mironyuk <emironyuk@yandex-team.ru>
Co-authored-by: Sergei Shtykov <bayonet@yandex-team.ru>
Co-authored-by: Ivan Blinkov <github@blinkov.ru>
2020-05-07 21:38:27 +03:00
alexey-milovidov
eeac7aa313
Merge pull request #10622 from kekekekule/layout_direct
Add direct layout for dictionaries
2020-05-07 01:05:29 +03:00
BayoNet
4ec7821fec
DOCS-624: Fixing links to nowhere 2 (#10703)
* enbaskakova-DOCSUP-652 (#101)

* "docs(orNull&orDefault): Functions 'orNull&orDefault' have been edited"

* "docs(orNull&orDefault): Functions 'orNull&orDefault' have been edited"

* "docs(orNull&orDefault): Functions 'orNull&orDefault' have been edited"

* Update docs/en/sql_reference/aggregate_functions/combinators.md

Co-Authored-By: BayoNet <da-daos@yandex.ru>

* Update docs/en/sql_reference/aggregate_functions/combinators.md

Co-Authored-By: BayoNet <da-daos@yandex.ru>

* Update docs/en/sql_reference/aggregate_functions/combinators.md

Co-Authored-By: BayoNet <da-daos@yandex.ru>

* Update docs/en/sql_reference/aggregate_functions/combinators.md

Co-Authored-By: BayoNet <da-daos@yandex.ru>

* Update docs/en/sql_reference/aggregate_functions/combinators.md

Co-Authored-By: BayoNet <da-daos@yandex.ru>

* "docs(orNull&orDefault): Functions 'orNull&orDefault' have been edited"

* "docs(orNull&orDefault): Functions 'orNull&orDefault' have been edited"

* "docs(orNull&orDefault): Functions 'orNull&orDefault' have been edited"

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

* Revert "enbaskakova-DOCSUP-652 (#101)" (#107)

This reverts commit 639fee7610.

* CLICKHOUSEDOCS-624: Fixed en

* CLICKHOUSEDOCS-624: Fixed RU.

* CLICKHOUSEDOCS-624: Fixed ES and FR.

* CLICKHOUSEDOCS-624: Fixed JA and TR

* CLICKHOUSEDOCS-624: Fixed FA.

* CLICKHOUSEDOCS-624: Fixed ZH.

* Update docs/tools/test.py

Co-authored-by: Ivan Blinkov <github@blinkov.ru>

* Update docs/tools/test.py

Co-authored-by: Ivan Blinkov <github@blinkov.ru>

Co-authored-by: elenaspb2019 <47083263+elenaspb2019@users.noreply.github.com>
Co-authored-by: elenbaskakova <elenbaskakova@yandex-team.ru>
Co-authored-by: Sergei Shtykov <bayonet@yandex-team.ru>
Co-authored-by: Ivan Blinkov <github@blinkov.ru>
2020-05-06 22:28:06 +03:00
Ilya Yatsishin
f19f4930ce
Merge pull request #10649 from BayoNet/docs/CLICKHOUSEDOCS-441-orNull-orDefault
DOCS-441: OrNull, OrDefault
2020-05-06 14:51:26 +03:00
Ilya Yatsishin
173f38dbef
Merge pull request #10626 from BayoNet/docs/CLICKHOUSEDOCS-601-isConstant
DOCS-601: isConstant
2020-05-06 10:47:49 +03:00
BayoNet
dba72d73fe
DOCS-624: Fixing links to nowhere (#10675)
* enbaskakova-DOCSUP-652 (#101)

* "docs(orNull&orDefault): Functions 'orNull&orDefault' have been edited"

* "docs(orNull&orDefault): Functions 'orNull&orDefault' have been edited"

* "docs(orNull&orDefault): Functions 'orNull&orDefault' have been edited"

* Update docs/en/sql_reference/aggregate_functions/combinators.md

Co-Authored-By: BayoNet <da-daos@yandex.ru>

* Update docs/en/sql_reference/aggregate_functions/combinators.md

Co-Authored-By: BayoNet <da-daos@yandex.ru>

* Update docs/en/sql_reference/aggregate_functions/combinators.md

Co-Authored-By: BayoNet <da-daos@yandex.ru>

* Update docs/en/sql_reference/aggregate_functions/combinators.md

Co-Authored-By: BayoNet <da-daos@yandex.ru>

* Update docs/en/sql_reference/aggregate_functions/combinators.md

Co-Authored-By: BayoNet <da-daos@yandex.ru>

* "docs(orNull&orDefault): Functions 'orNull&orDefault' have been edited"

* "docs(orNull&orDefault): Functions 'orNull&orDefault' have been edited"

* "docs(orNull&orDefault): Functions 'orNull&orDefault' have been edited"

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

* Revert "enbaskakova-DOCSUP-652 (#101)" (#107)

This reverts commit 639fee7610.

* CLICKHOUSEDOCS-624: Fixed links. Was 60, became 13.

* CLICKHOUSEDOCS-624: Finished fix links in Enlish version.

* CLICKHOUSEDOCS-624: Fixed RU links

Co-authored-by: elenaspb2019 <47083263+elenaspb2019@users.noreply.github.com>
Co-authored-by: elenbaskakova <elenbaskakova@yandex-team.ru>
Co-authored-by: Sergei Shtykov <bayonet@yandex-team.ru>
2020-05-06 09:13:29 +03:00
Fan()
4ce18e493b
Update select.md (#10688)
data not date
2020-05-06 08:11:09 +03:00
alexey-milovidov
28c122b0c5
Merge pull request #9983 from BayoNet/docs/CLICKHOUSEDOCS-558-RBAC-introduction
DOCS-558: RBAC for ClickHouse 20.4
2020-05-05 21:05:52 +03:00
Sergei Shtykov
efa040050c CLICKHOUSEDOCS-623: Typo fix. 2020-05-04 14:42:34 +03:00
Sergei Shtykov
37d7bedba2 CLICKHOUSEDOCS-623: Updated introduction to external dictionaries. 2020-05-04 14:39:43 +03:00
Sergei Shtykov
6999ce3afa CLICKHOUSEDOCS-441: Updated the description. 2020-05-04 11:42:48 +03:00
Sergei Shtykov
0bbe1f97ab CLICKHOUSEDOCS-441: OrDefault, OrNull 2020-05-04 11:15:49 +03:00
Nikolay Degterinsky
a3e557a5d2 documentation is added & added 'direct' layout into integragion test 2020-05-03 15:55:22 +03:00
BayoNet
f9fd2306a1
DOCS-437: getMacro (#10614)
* asiana21-DOCSUP-923 (#103)

* docs(getMacro): added the function descriprion

* docs(getMacro): some changes

* 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>

* docs(getMacro): added translation of the function description

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

* CLICKHOUSEDOCS-437: getMacro

* CLICKHOUSEDOCS-437: Fixed conflicts.

* Update docs/en/sql-reference/functions/other-functions.md

Co-authored-by: Ivan Blinkov <github@blinkov.ru>

* Update docs/en/sql-reference/functions/other-functions.md

Co-authored-by: Ivan Blinkov <github@blinkov.ru>

* Update docs/en/sql-reference/functions/other-functions.md

Co-authored-by: Ivan Blinkov <github@blinkov.ru>

* Update docs/en/sql-reference/functions/other-functions.md

Co-authored-by: Ivan Blinkov <github@blinkov.ru>

* Update docs/en/sql-reference/functions/other-functions.md

Co-authored-by: Ivan Blinkov <github@blinkov.ru>

* CLICKHOUSEDOCS-437: Updated by comments.

Co-authored-by: AsiaKorushkina <43650329+AsiaKorushkina@users.noreply.github.com>
Co-authored-by: asiana21 <asiana21@yandex-team.ru>
Co-authored-by: Sergei Shtykov <bayonet@yandex-team.ru>
Co-authored-by: Ivan Blinkov <github@blinkov.ru>
2020-05-02 21:01:13 +03:00
emironyuk
965c18e80e
created new branch for isConstant function, added russian translation (#105)
Co-authored-by: Elizaveta Mironyuk <emironyuk@yandex-team.ru>
2020-05-02 18:14:10 +03:00
Sergei Shtykov
7400be8552 CLICKHOUSEDOCS-558: Resolved conflicts after #10606 2020-05-01 17:48:16 +03:00
Ivan Blinkov
d91c97d15d
[docs] replace underscores with hyphens (#10606)
* Replace underscores with hyphens

* remove temporary code

* fix style check

* fix collapse
2020-04-30 21:19:18 +03:00