Commit Graph

80 Commits

Author SHA1 Message Date
Ivan Blinkov
6274506cff
Update string-functions.md 2020-06-19 13:05:00 +03:00
Ivan Blinkov
53c1cb9848
Update date-time-functions.md 2020-06-19 13:04:32 +03:00
BayoNet
d29e1ce986
DOCS-602: transform_null_in (#11734)
* Revolg DOCSUP-996 Document the transform_null_in setting (#124)

* Add doc for transform_null_in setting

* Apply suggestions from code review

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

* Add doc for the transform_null_in setting (ru)

* Add transform_null_in setting (ru). Anchor fixed

* Add doc for the transform_null_in setting (ru,en). Misspell fixed, anchor fixed.

Co-authored-by: Olga Revyakina <revolg@yandex-team.ru>
Co-authored-by: BayoNet <da-daos@yandex.ru>

* CLICKHOUSEDOCS-602: Updated text.

* Deleted symlink to IN operator.

* CLICKHOUSEDOCS-602: Fixed links.

* CLICKHOUSEDOCS-602: Updated the description.

* CLICKHOUSEDOCS-602: Updated by comments.

Co-authored-by: olgarev <56617294+olgarev@users.noreply.github.com>
Co-authored-by: Olga Revyakina <revolg@yandex-team.ru>
Co-authored-by: Sergei Shtykov <bayonet@yandex-team.ru>
2020-06-19 12:18:57 +03:00
Ivan Blinkov
7170f3c534
[docs] split aggregate function and system table references (#11742)
* prefer relative links from root

* wip

* split aggregate function reference

* split system tables
2020-06-18 11:24:31 +03:00
Nikita Mikhaylov
ab04a6bb62
Merge pull request #11615 from azat/SYSTEM-FLUSH-LOGS-force-table-creation-v2
Force table creation on SYSTEM FLUSH LOGS (v2)
2020-06-17 11:09:19 +04:00
Alexander Kuzmenkov
9cab822718
Merge pull request #11683 from ClickHouse/aku/merge-minmap-11603
Merge minMap, maxMap (#11603)
2020-06-17 00:02:33 +03:00
Ivan Blinkov
9a26d48ad0
Basic blog similar to docs (#11609)
* 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
2020-06-16 09:31:00 +03:00
BayoNet
f0eafed520
DOCS-678: Updated ASOF Join description (#11676)
* CLICKHOUSEDOCS-678: Updated ASOF Join Usage.

* CLICKHOUSEDOCS-678: Updated templates.

* Update docs/ru/sql-reference/statements/select/join.md

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

* CLICKHOUSEDOCS-678: Update by comments.

Co-authored-by: Sergei Shtykov <bayonet@yandex-team.ru>
Co-authored-by: emironyuk <em@don.ru>
Co-authored-by: Ivan Blinkov <github@blinkov.ru>
2020-06-15 21:55:04 +03:00
BayoNet
1474dd6d69
DOCS-646: randomString (#11610)
* [CLICKHOUSEDOCS] Document the "randomString" function (#121)

* Add description of randomString function

* Add description for randomString

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

* Changed example

* Add russian version

* Fixed links

* Fixed links

Co-authored-by: Anna Devyatova <annadevyatova@yandex-team.ru>
Co-authored-by: BayoNet <da-daos@yandex.ru>

* CLICKHOUSEDOCS-646: Updated text. Fixed links.

* CLICKHOUSEDOCS-646: Fixed more links.

Co-authored-by: Sergei Shtykov <bayonet@yandex-team.ru>
Co-authored-by: Anna <42538400+adevyatova@users.noreply.github.com>
Co-authored-by: Anna Devyatova <annadevyatova@yandex-team.ru>
2020-06-15 21:44:05 +03:00
Alexander Kuzmenkov
6af27d6c32
Update simpleaggregatefunction.md 2020-06-15 18:22:11 +03:00
Ildus Kurbangaliev
01d903c60d add minMap and maxMap functions 2020-06-13 08:49:00 +00:00
zzsmdfj
a2ed8d70a7
update zh-docs-aggregate-functions (#11623) 2020-06-12 14:03:01 +03:00
Azat Khuzhin
103eb17107 Force table creation on SYSTEM FLUSH LOGS (v2)
After this patch SYSTEM FLUSH LOGS will force system.*_log table
creatoins (only for enabled tables of course).

This will avoid such hacks like:

   set log_queries=1;
   select 1;
   system flush logs;

This is the second version of the patch, since first has a deadlock [1]
(reported by @alesapin). This version does not use separate lock and do
not issue CREATE TABLE from the query execution thread, instead it
activate flushing thread to do so, hence this should be the same as if
the table will be created during flush.

  [1]: https://gist.github.com/alesapin/d915d1deaa27d49aa31223daded02be2

Fixes: #11563
Cc: @alesapin
Cc: @nikitamikhaylov
2020-06-11 23:12:23 +03:00
Ivan Blinkov
cbc08bc393
Update index.md 2020-06-11 01:23:04 +03:00
Ivan Blinkov
6fa6439c69
fix link 2020-06-11 00:57:53 +03:00
Ivan Blinkov
f433ffaec6
Update index.md 2020-06-10 23:49:37 +03:00
Ivan Blinkov
b5b3cb1c05
Update index.md 2020-06-10 23:48:54 +03:00
Denis Zhuravlev
941887fbfd
removed a sentence about global lock during rename (#11577)
* Update misc.md

removed a sentence about global lock during rename

* Update misc.md

removed a sentence about global lock during rename

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

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

* Update docs/ru/sql-reference/statements/misc.md

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

Co-authored-by: Ivan Blinkov <github@blinkov.ru>
2020-06-10 22:31:51 +03:00
Denis Zhuravlev
5f5f10b48a
greatCircleAngle en translation (#11584)
* greatCircleAngle en translation

* Update geo.md

* Update geo.md
2020-06-10 21:59:17 +03:00
Alexander Tokmakov
6bb68329f8 Merge branch 'master' into merging_external_source_cassandra 2020-06-09 19:51:14 +03:00
Eugene Klimov
dfa60e01a0
add SYSTEM STOP/START FETCHES and SYNC REPLICA description (#11444)
* add SYSTEM STOP/START FETCHES and SYNC REPLICA description

Signed-off-by: Slach <bloodjazman@gmail.com>

* fix russian verion

Signed-off-by: Slach <bloodjazman@gmail.com>

* fix typo

Signed-off-by: Slach <bloodjazman@gmail.com>

* add START/STOP REPLICATED SENDS description

Signed-off-by: Slach <bloodjazman@gmail.com>

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

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

* sync russian and english version

Signed-off-by: Slach <bloodjazman@gmail.com>

* add SYSTEM START/STOP REPLICATION QUEUES

Signed-off-by: Slach <bloodjazman@gmail.com>

* add SYSTEM RESTART REPLICA

Signed-off-by: Slach <bloodjazman@gmail.com>

* add all missed SYSTEM statement descriptions

Signed-off-by: Slach <bloodjazman@gmail.com>

* fix missed link

Signed-off-by: Slach <bloodjazman@gmail.com>

Co-authored-by: Ivan Blinkov <github@blinkov.ru>
2020-06-08 18:23:13 +03:00
zzsmdfj
174b687a44
update zh-docs-functions (#11464) 2020-06-08 08:29:08 +03:00
Alexander Tokmakov
e67837bc4a cleenup 2020-06-04 00:11:17 +03:00
Alexander Tokmakov
e3aa20708a Merge branch 'master' into merging_external_source_cassandra 2020-06-03 14:55:02 +03:00
Alexander Kuzmenkov
bd84c3be18
Merge branch 'master' into fuzz_data 2020-06-02 12:49:43 +03:00
BayoNet
1d9d1e256f
DOCS-573: system.data_type_families (#11344)
* DOCSUP-921 (#113)

* add the description of data_type_families system table

* add related link, change output example, correct columns description

* fix typos add links

* add russian description of data_type_families system table

* fix links to data_type_families system table

Co-authored-by: Sergei Shtykov <bayonet@yandex-team.ru>

* CLICKHOUSEDOCS-573: system.data_type_families

* CLICKHOUSEDOCS-573: Corrected the wording.

Co-authored-by: pewit-nk <62423826+pewit-nk@users.noreply.github.com>
Co-authored-by: Sergei Shtykov <bayonet@yandex-team.ru>
2020-06-02 08:10:59 +03:00
Alexander Tokmakov
8921041706 Merge branch 'master' into merging_external_source_cassandra 2020-05-29 18:20:39 +03:00
Andrei Nekrashevich
af469c0da5 fix issues 2020-05-29 05:06:21 +03:00
Alexander Kuzmenkov
0fc1268432
Merge pull request #11120 from azat/function-port
Add port() function
2020-05-27 15:27:06 +03:00
Alexander Tokmakov
940132adc4 Merge branch 'master' into merging_external_source_cassandra 2020-05-27 00:13:57 +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
Alexander Tokmakov
ac54d470da Merge branch 'master' into merging_external_source_cassandra 2020-05-22 17:27:40 +03:00
Ivan Blinkov
7d0ac4e20f
trigger ci 2020-05-21 00:08:04 +03:00
Alexander Tokmakov
31b6f5f0d2 Merge branch 'master' into merging_external_source_cassandra 2020-05-20 23:44:53 +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
Alexander Tokmakov
175b7aedf3 Merge branch 'master' into merging_external_source_cassandra 2020-05-19 05:21:27 +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