Commit Graph

98 Commits

Author SHA1 Message Date
Alexey Milovidov
e7ac04b857 Merge branch 'master' of https://github.com/bitquery/ClickHouse into bitquery-master 2020-06-21 18:03:13 +03:00
Azat Khuzhin
fb30629ff2 Add settings to control nesting level for shards skipping optimization
- optimize_skip_unused_shards_nesting (allows control nesting level for
  shards skipping optimization)
- force_skip_optimize_shards_nesting (allows control nesting level for
  checking was shards skipped or not)
- deprecates force_skip_optimize_shards_no_nested
2020-06-21 15:27:01 +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
long2ice
6e18001bd8
add mysql2ch in docs (#11680)
* add mysql2ch

add mysql2ch

* Update integrations.md

* Update integrations.md

* Update integrations.md

* Update integrations.md

* Update integrations.md

* Update integrations.md

* Update integrations.md
2020-06-15 18:25:13 +03:00
Ivan Blinkov
3d9424fd5a perl -pi -e 's/repo\.yandex\.ru\/clickhouse/repo.clickhouse.tech/g' {} 2020-06-10 21:54:55 +03:00
Vladimir Golovchenko
fe89a667d7 Fixed wrong links in 'developer-instruction.md'.
Please enter the commit message for your changes. Lines starting
2020-06-04 15:05:55 -07:00
Saulius Valatka
8d26cdd388
add reference to stream-loader in Third Party Integration docs (#11040) 2020-05-19 14:51:58 +03:00
Yatsishin Ilya
111902a018 Merge #10600 2020-05-15 16:14:39 +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
ImgBotApp
d78eeab8b3
[ImgBot] Optimize images
*Total -- 643.66kb -> 611.81kb (4.95%)

/website/images/yandex.png -- 4.24kb -> 2.04kb (52.04%)
/docs/fr/images/row-oriented.gif -- 40.60kb -> 38.36kb (5.51%)
/docs/tr/images/row-oriented.gif -- 40.60kb -> 38.36kb (5.51%)
/docs/en/images/row-oriented.gif -- 40.60kb -> 38.36kb (5.51%)
/docs/es/images/row-oriented.gif -- 40.60kb -> 38.36kb (5.51%)
/docs/ja/images/row-oriented.gif -- 40.60kb -> 38.36kb (5.51%)
/docs/zh/images/row-oriented.gif -- 40.60kb -> 38.36kb (5.51%)
/docs/ru/images/row-oriented.gif -- 40.60kb -> 38.36kb (5.51%)
/docs/fa/images/row-oriented.gif -- 40.60kb -> 38.36kb (5.51%)
/docs/en/images/column-oriented.gif -- 44.42kb -> 42.75kb (3.77%)
/docs/ja/images/column-oriented.gif -- 44.42kb -> 42.75kb (3.77%)
/docs/tr/images/column-oriented.gif -- 44.42kb -> 42.75kb (3.77%)
/docs/fa/images/column-oriented.gif -- 44.42kb -> 42.75kb (3.77%)
/docs/zh/images/column-oriented.gif -- 44.42kb -> 42.75kb (3.77%)
/docs/ru/images/column-oriented.gif -- 44.42kb -> 42.75kb (3.77%)
/docs/es/images/column-oriented.gif -- 44.42kb -> 42.75kb (3.77%)
/docs/zh/images/logo.svg -- 0.37kb -> 0.36kb (1.06%)
/docs/tr/images/logo.svg -- 0.37kb -> 0.36kb (1.06%)
/docs/en/images/logo.svg -- 0.37kb -> 0.36kb (1.06%)
/docs/fr/images/logo.svg -- 0.37kb -> 0.36kb (1.06%)
/docs/ru/images/logo.svg -- 0.37kb -> 0.36kb (1.06%)
/docs/ja/images/logo.svg -- 0.37kb -> 0.36kb (1.06%)
/docs/es/images/logo.svg -- 0.37kb -> 0.36kb (1.06%)
/docs/fa/images/logo.svg -- 0.37kb -> 0.36kb (1.06%)
/website/images/mkdocs/copy.svg -- 0.76kb -> 0.76kb (0.38%)

Signed-off-by: ImgBotApp <ImgBotHelp@gmail.com>
2020-05-11 03:31:47 +00: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
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
Aleksey
c39b85ea69
Update docs/es/interfaces/third-party/integrations.md
Co-authored-by: Ilya Yatsishin <2159081+qoega@users.noreply.github.com>
2020-05-06 19:11:31 +03:00
Aleksey
b218198ab8
Update docs/es/interfaces/third-party/integrations.md
Co-authored-by: Ivan Blinkov <github@blinkov.ru>
2020-05-06 19:10:28 +03:00
Ivan Blinkov
e5c892eecf
DOCS-624: re-generate select.md (#10689)
* lost redirect

* re-generate select.md
2020-05-06 13:20:58 +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
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
Ivan Blinkov
b028288350
Switch to httpS://repo.clickhouse.tech for deb packages (#10529)
* Switch to httpS://repo.clickhouse.tech for deb packages

* deduplicate install instructions
2020-04-28 19:39:50 +03:00
Aleksey
fd53a8c155
Added Ruby integration 2020-04-27 11:40:39 +03:00
Vladimir
647ea5e810
Fixed the wrong link. (#10518) 2020-04-27 11:30:12 +03:00
Azat Khuzhin
83ab91f1ad docs/kafka: use ATTACH TABLE over ATTACH MATERIALIZED VIEW (all langs)
Since later requires full specification (engine and so on).
2020-04-25 03:08:00 +03:00
Ivan Blinkov
388bcffec9
Rearrange includes at docs+changelog and move description templates (#10472)
* temp commit

* rearrange includes
2020-04-24 12:50:22 +03:00
Ivan Blinkov
54e09dc20a
Draft of ANSI SQL compatibility article (#10457) 2020-04-24 10:02:44 +03:00
BayoNet
51922d3f3c
DOCS-595: Updated the example for MergeTree storage config (#10410)
* CLICKHOUSEDOCS-595: Updated the example.

* CLICKHOUSEDOCS-595: Fixed in other languages.

Co-authored-by: Sergei Shtykov <bayonet@yandex-team.ru>
2020-04-23 11:05:27 +03:00
Ivan Blinkov
ab150f96a1
[website] get rid of remnants of old markup (from benchmark pages) (#10412)
* rm outdated nginx config

* get rid of most outdated markup of benchmark.html

* reformat js

* get rid of ru comments + wrap benchmark.js in a function call

* split benchmark results into separate files

* adjust links to benchmarks

* refactor hardware benchmarks as well

* adjust links

* fix filtering for hardware

* additional markup tuning
2020-04-22 14:30:33 +03:00
Ivan Blinkov
80873d79e3
[docs] tuning of <details> tag, search menu colours and hidden pages (#10313)
* improve hidden page title

* adjust docsearch menu colors

* enable pymdownx.details

* some <details> styling

* remove useless example
2020-04-16 21:03:52 +03:00
Ivan Blinkov
03c575934b
Minor docs content improvements (#10304)
* Add link to flink-clickhouse-sink + fixes nearby

* Add link to dbal-doctrine

* cleanup ru toc root

* Sort out russian docs ToC a little bit

* Add link collection of commercial support services
2020-04-16 15:55:32 +03:00
BohuTANG
f5c463e9ad Fix path and typo in the tests.md 2020-04-12 21:28:36 +08:00
Ivan Blinkov
344be40068
Re-attach index.md to better place in nav + hide empty articles (#10182) 2020-04-10 22:22:15 +03:00
Ivan Blinkov
564bec176e
Update codebrowser links (#10166)
* Put single-page content into a separate js file

* move break comments

* Update codebrowser links
2020-04-10 13:40:59 +03:00
BohuTANG
b3b0731c36
Documentation: change testsies to queries in tests.md (#10122) 2020-04-08 16:21:55 +03:00
Ivan Blinkov
f6f4fb0000
Documentation issues fixes (#10112) 2020-04-08 12:09:59 +03:00
Dmitry Belyavtsev
d300a7da3c
Add ruby library clickhouse-activerecord to list in docs (#10069)
* Add ruby library clickhouse-activerecord to list in docs

* Add library clickhouse-activerecord in docsfor other locales
2020-04-07 10:48:41 +03:00
Ivan Blinkov
765dd7c495
Update some docs translations (#10044) 2020-04-04 12:15:31 +03:00
Ivan Lezhankin
06446b4f08 dbms/ → src/ 2020-04-03 18:14:31 +03:00
Ivan
97f2a2213e
Move all folders inside /dbms one level up (#9974)
* Move some code outside dbms/src folder
* Fix paths
2020-04-02 02:51:21 +03:00
Jochen Schalanda
1b4725bdf4 Fix typo in Table Engines -> Introduction
Typo "Intergation" -> "Integration"
2020-03-31 14:02:58 +02:00
Ivan Blinkov
cc60f0edaf
Custom mkdocs theme (#9874) 2020-03-30 11:25:29 +03:00
Azat Khuzhin
8ffbff85f0 docs: fix force_optimize_skip_unused_shards link
Refs: #9803
2020-03-23 22:07:29 +03:00
Mikhail f. Shiryaev
c965e5e07c
Third party check (#9824)
* Add link to nagios plugin for clickhouse

* Add missing links to clickhouse_exporter
2020-03-23 16:20:37 +03:00
Ilya Yatsishin
ed789a4d52
Update documentation for dictionary regarding ON CLUSTER clause for C… (#9817)
* Update documentation for dictionary regarding ON CLUSTER clause for CREATE DICTIONARY

* add es

Co-authored-by: Guillaume Tassery <gtassery@partners.accedian.com>
2020-03-23 14:56:23 +03:00
Ivan Blinkov
bdb94fab45
make_links.sh run (#9807) 2020-03-22 18:55:22 +03:00
Denis Zhuravlev
b1ddbd247c
Doc. Update create table visits with a new syntax. (#9801) 2020-03-22 15:13:19 +03:00
Ivan Blinkov
790704d081
Restore some old manual anchors in docs (#9803)
* Simplify 404 page

* add es array_functions.md

* restore some old manual anchors

* update sitemaps

* trigger checks

* restore more old manual anchors

* refactor test.md + temporary disable failure again

* fix mistype
2020-03-22 12:14:59 +03:00
Šimon Podlipský
e4a18367cf
Add PHP simpod/clickhouse-client (#9794)
Yet another ClickHouse client

- all formats support leveraging PHP generics for type safety
- lightweight
- swappable http client
- guarded by Infection + PHPStan and PSalm max levels
2020-03-21 18:14:02 +03:00
Šimon Podlipský
4505e408c0
Change PHP client names to <vendor/lib> format (#9795)
- change name format to help distinguish clients
- use packagist links that are more helpful for library consumers
2020-03-21 18:08:13 +03:00
Ivan Blinkov
f315e5079b
More complete "es" translation (#9791)
* replace exit with assert in test_single_page

* improve save_raw_single_page docs option

* More grammar fixes

* "Built from" link in new tab

* fix mistype

* Example of include in docs

* add anchor to meeting form

* Draft of translation helper

* WIP on translation helper

* Replace some fa docs content with machine translation

* add normalize-en-markdown.sh

* normalize some en markdown

* normalize some en markdown

* admonition support

* normalize

* normalize

* normalize

* support wide tables

* normalize

* normalize

* normalize

* normalize

* normalize

* normalize

* normalize

* normalize

* normalize

* normalize

* normalize

* normalize

* normalize

* lightly edited machine translation of introdpection.md

* lightly edited machhine translation of lazy.md

* WIP on translation utils

* Normalize ru docs

* Normalize other languages

* some fixes

* WIP on normalize/translate tools

* add requirements.txt

* [experimental] add es docs language as machine translated draft

* remove duplicate script

* Back to wider tab-stop (narrow renders not so well)

* Links to nowhere check at least for English

* use f string

* More complete es translation
2020-03-21 12:17:06 +03:00
Ivan Blinkov
2e1f6bc56d
[experimental] add "es" docs language as machine translated draft (#9787)
* replace exit with assert in test_single_page

* improve save_raw_single_page docs option

* More grammar fixes

* "Built from" link in new tab

* fix mistype

* Example of include in docs

* add anchor to meeting form

* Draft of translation helper

* WIP on translation helper

* Replace some fa docs content with machine translation

* add normalize-en-markdown.sh

* normalize some en markdown

* normalize some en markdown

* admonition support

* normalize

* normalize

* normalize

* support wide tables

* normalize

* normalize

* normalize

* normalize

* normalize

* normalize

* normalize

* normalize

* normalize

* normalize

* normalize

* normalize

* normalize

* lightly edited machine translation of introdpection.md

* lightly edited machhine translation of lazy.md

* WIP on translation utils

* Normalize ru docs

* Normalize other languages

* some fixes

* WIP on normalize/translate tools

* add requirements.txt

* [experimental] add es docs language as machine translated draft

* remove duplicate script

* Back to wider tab-stop (narrow renders not so well)
2020-03-21 07:11:51 +03:00