Commit Graph

836 Commits

Author SHA1 Message Date
Nikita Vasilev
a1b0dede07 Data Skipping Indices (#4143)
* made index parser

* added index parsing

* some fixes

* added index interface and factory

* fixed compilation

* ptrs

* added indexParts

* indextypes

* index condition

* IndexCondition

* added indexes in selectexecutor

* fix

* changed comment

* fix

* added granularity

* comments

* fix

* fix

* added writing indexes

* removed indexpart class

* fix

* added setSkipIndexes

* add rw for MergeTreeIndexes

* fixes

* upd error

* fix

* fix

* reading

* test index

* fixed nullptr error

* fixed

* fix

* unique names

* asts -> exprlist

* minmax index

* fix

* fixed select

* fixed merging

* fixed mutation

* working minmax

* removed test index

* fixed style

* added indexes to checkDataPart

* added tests for minmax index

* fixed constructor

* fix style

* fixed includes

* fixed setSkipIndexes

* added indexes meta to zookeeper

* added parsing

* removed throw

* alter cmds parse

* fix

* added alter

* fix

* alters fix

* fix alters

* fix "after"

* fixed alter

* alter fix + test

* fixes

* upd setSkipIndexes

* fixed alter bug with drop all indices

* fix metadata editing

* new test and repl fix

* rm test files

* fixed repl alter

* fix

* fix

* indices

* MTReadStream

* upd test for bug

* fix

* added useful parsers and ast classes

* fix

* fix comments

* replaced columns

* fix

* fixed parsing

* fixed printing

* fix err

* basic IndicesDescription

* go to IndicesDescr

* moved indices

* go to indicesDescr

* fix test minmax_index*

* fixed MT alter

* fixed bug with replMT indices storing in zk

* rename

* refactoring

* docs ru

* docs ru

* docs en

* refactor

* rename tests

* fix docs

* refactoring

* fix

* fix

* fix

* fixed style

* unique idx

* unique

* fix

* better minmax calculation

* upd

* added getBlock

* unique_condition

* added termForAST

* unique

* fixed not

* uniqueCondition::mayBeTrueOnGranule

* fix

* fixed bug with double column

* is always true

* fix

* key set

* spaces

* test

* tests

* fix

* unique

* fix

* fix

* fixed bug with duplicate column

* removed unused data

* fix

* fixes

* __bitSwapLastTwo

* fix
2019-02-05 17:50:25 +03:00
BayoNet
af7c9bd2d7 DOCAPI-4994: Requirements, Monitoring and Troubleshooting are translated into Russian (#4269) 2019-02-05 17:35:58 +03:00
Vitaly Baranov
8259e8f1e2 Add instruction about installing dirmngr to the documentation. 2019-02-05 15:54:43 +03:00
BayoNet
c32969a8ff DOCAPI-4994: Requirements, Monitoring and Troubleshooting are translated into Russian (#4260)
* Update of english version of descriprion of the table function `file`.

* New syntax for ReplacingMergeTree.
Some improvements in text.

* Significantly change article about SummingMergeTree.
Article is restructured, text is changed in many places of the document. New syntax for table creation is described.

* Descriptions of AggregateFunction and AggregatingMergeTree are updated. Russian version.

* New syntax for new syntax of CREATE TABLE

* Added english docs on Aggregating, Replacing and SummingMergeTree.

* CollapsingMergeTree docs. English version.

* 1. Update of CollapsingMergeTree. 2. Minor changes in markup

* Update aggregatefunction.md

* Update aggregatefunction.md

* Update aggregatefunction.md

* Update aggregatingmergetree.md

* GraphiteMergeTree docs update.
New syntax for creation of Replicated* tables.
Minor changes in *MergeTree tables creation syntax.

* Markup fix

* Markup and language fixes

* Clarification in the CollapsingMergeTree article

* DOCAPI-4821. Sync between ru and en versions of docs.

* Fixed the ambiguity in geo functions description.

* Example of JOIN in ru docs

* Deleted misinforming example.

* Fixed links to IN operators.

* Updated the description of ALTER MODIFY.

* [RU] Updated ALTER MODIFY description.

* Fixed anchors.

* DOCAPI-4994: Server operation articles are added. Some links are fixed.

* DOCAPI-4994: Edited after review by Ivan.

* DOCAPI-4994: Fixed headers

* DOCAPI-4994: Russian translation for Requirements, Monitoring and Troubleshooting.

* DOCAPI-4994-Registry. Docs fixes.

* DOCAPI-4994: Docs fix.

* DOCAPI-4994: New files removed
2019-02-04 22:09:53 +03:00
BayoNet
f48d27beda Docapi 3818 stripe log (#4191)
* Update of english version of descriprion of the table function `file`.

* New syntax for ReplacingMergeTree.
Some improvements in text.

* Significantly change article about SummingMergeTree.
Article is restructured, text is changed in many places of the document. New syntax for table creation is described.

* Descriptions of AggregateFunction and AggregatingMergeTree are updated. Russian version.

* New syntax for new syntax of CREATE TABLE

* Added english docs on Aggregating, Replacing and SummingMergeTree.

* CollapsingMergeTree docs. English version.

* 1. Update of CollapsingMergeTree. 2. Minor changes in markup

* Update aggregatefunction.md

* Update aggregatefunction.md

* Update aggregatefunction.md

* Update aggregatingmergetree.md

* GraphiteMergeTree docs update.
New syntax for creation of Replicated* tables.
Minor changes in *MergeTree tables creation syntax.

* Markup fix

* Markup and language fixes

* Clarification in the CollapsingMergeTree article

* DOCAPI-4821. Sync between ru and en versions of docs.

* Fixed the ambiguity in geo functions description.

* Example of JOIN in ru docs

* Deleted misinforming example.

* Fixed links to IN operators.

* Updated the description of ALTER MODIFY.

* [RU] Updated ALTER MODIFY description.

* Fixed anchors.

* DOCAPI-3818: The Family of Log engines. StripeLog. Tocs sync.

* DOCAPI-3818: Edits after review by Ivan Blinkov.
2019-02-04 17:52:31 +03:00
BayoNet
37b1d8369c Docapi 4994 registry (#4214) 2019-02-04 16:30:28 +03:00
Fadi Hadzh
b711009c19
add tcp clickhouse_exporter to integrations (en) 2019-02-02 10:02:45 +03:00
Fadi Hadzh
9925df673d
add tcp clickhouse_exporter to integrations 2019-02-02 10:01:15 +03:00
Alex Zatelepin
4efddf7a3d
Update build_osx.md 2019-01-31 19:37:27 +03:00
alexey-milovidov
c1b53e5ad4
Update build_osx.md 2019-01-31 18:55:59 +03:00
ogorbacheva
c7ed73ea27 fix settings default values (#4204) 2019-01-31 15:23:18 +03:00
Maxim Fedotov
b501bafe95 Update clickhouse documentation. Add puppet module for Clickhouse (#4182)
* Update clickhouse documentation. Add puppet module for Clickhouse

* remote extra whitespace
2019-01-30 22:49:23 +03:00
Winter Zhang
b52bc2466d ISSUES-3890 sync system functions to en document (#4168)
* ISSUES-3890 sync system functions to en document

* ISSUES-3890 fix review

* ISSUES-3890 add parseDateTimeBestEffort docs

* ISSUES-3890 fix review

* ISSUES-3890 better sql example
2019-01-30 13:39:46 +03:00
fessmage
f985e6453e describe option insert_sample_with_metadata in docs (#4185)
* describe option insert_sample_with_metadata in docs

* reply-to-review

* fix
2019-01-30 13:39:12 +03:00
achulkov2
c63cd3524c
Update index.md 2019-01-29 15:25:14 +03:00
alesapin
f87b1568bb Replace Array-style create table with nested; add max_insert_block_size param 2019-01-28 15:51:44 +03:00
alesapin
395d71ec33 Rename files 2019-01-28 13:08:15 +03:00
alesapin
218856a16b Review fixes 2019-01-28 13:01:49 +03:00
alesapin
ababd7749d Add docs to anonymized Yandex.Metrika datasets 2019-01-28 12:45:29 +03:00
Alexey Milovidov
81460315c4 Updated description of "Star schema" benchmark 2019-01-28 02:08:08 +03:00
alexey-milovidov
fbefc99fb1
Merge pull request #4129 from ercolanelli-leo/sumMapFiltered
implement sumMapFiltered
2019-01-24 21:27:03 +03:00
alesapin
b8d7922e42 CLICKHOUSE-4170: Add docs for datasets downloading (#4144)
* CLICKHOUSE-4170: Add docs for datasets downloading

* CLICKHOUSE-4170: Fix Review remarks
2019-01-24 19:10:05 +03:00
George G
af81d3cf0d docs: Fix sudo position in CPU scaling governor command (#4142) 2019-01-24 17:55:59 +03:00
Léo Ercolanelli
8ad1a55f3b implement sumMapFiltered 2019-01-23 15:23:04 +01:00
Danila Kutenin
7f4b0f3c04 added powerpc build support 2019-01-23 17:18:19 +03:00
BayoNet
38945cfca4 Fixed anchors in docs (#4127) 2019-01-23 14:55:07 +03:00
Danila Kutenin
d8ce005983 Docs for multi string search (#4123) 2019-01-23 11:38:32 +03:00
ogorbacheva
a9054e05f0 Doc fix: edit info about escaping (#4118)
* Doc fix: delete VerticalRaw format and remove escaping from Pretty and Vertical formats

* Doc fix: editing text about escaping

* Doc fix: fix example in pretty format

* Doc fix: fix example in pretty format

* Doc fix: last fixes

* Doc fix: last fixes

* Doc fix
2019-01-22 16:21:20 +03:00
Ivan Blinkov
a74df23b08
Minor docs fixes (#4098)
* CLICKHOUSE-4063: less manual html @ index.md

* CLICKHOUSE-4063: recommend markdown="1" in README.md

* CLICKHOUSE-4003: manually purge custom.css for now

* CLICKHOUSE-4064: expand <details> before any print (including to pdf)

* CLICKHOUSE-3927: rearrange interfaces/formats.md a bit

* CLICKHOUSE-3306: add few http headers

* Remove copy-paste introduced in #3392

* Hopefully better chinese fonts #3392

* get rid of tabs @ custom.css

* Apply comments and patch from #3384

* Add jdbc.md to ToC and some translation, though it still looks badly incomplete

* minor punctuation

* Add some backlinks to official website from mirrors that just blindly take markdown sources

* Do not make fonts extra light

* find . -name '*.md' -type f | xargs -I{} perl -pi -e 's//g' {}

* find . -name '*.md' -type f | xargs -I{} perl -pi -e 's/ sql/g' {}

* Remove outdated stuff from roadmap.md

* Not so light font on front page too

* Refactor Chinese formats.md to match recent changes in other languages

* Update some links on front page

* Remove some outdated comment

* Add twitter link to front page

* More front page links tuning

* Add Amsterdam meetup link

* Smaller font to avoid second line

* Add Amsterdam link to README.md

* Proper docs nav translation

* Back to 300 font-weight except Chinese

* fix docs build

* Update Amsterdam link

* remove symlinks

* more zh punctuation

* apply lost comment by @zhang2014

* Apply comments by @zhang2014 from #3417

* Remove Beijing link

* rm incorrect symlink

* restore content of docs/zh/operations/table_engines/index.md

* CLICKHOUSE-3751: stem terms while searching docs

* CLICKHOUSE-3751: use English stemmer in non-English docs too

* CLICKHOUSE-4135 fix

* Remove past meetup link

* Add blog link to top nav

* Add ContentSquare article link

* Add form link to front page + refactor some texts

* couple markup fixes

* minor

* Introduce basic ODBC driver page in docs

* More verbose 3rd party libs disclaimer

* Put third-party stuff into a separate folder

* Separate third-party stuff in ToC too

* Update links

* Move stuff that is not really (only) a client library into a separate page

* Add clickhouse-hdfs-loader link

* Some introduction for "interfaces" section

* Rewrite tcp.md

* http_interface.md -> http.md

* fix link

* Remove unconvenient error for now

* try to guess anchor instead of failing

* remove symlink

* Remove outdated info from introduction

* remove ru roadmap.md

* replace ru roadmap.md with symlink

* Update roadmap.md

* lost file

* Title case in toc_en.yml

* Sync "Functions" ToC section with en

* Remove reference to pretty old ClickHouse release from docs

* couple lost symlinks in fa

* Close quote in proper place

* Rewrite en/getting_started/index.md

* Sync en<>ru getting_started/index.md

* minor changes

* Some gui.md refactoring

* Translate DataGrip section to ru

* Translate DataGrip section to zh

* Translate DataGrip section to fa

* Translate DBeaver section to fa

* Translate DBeaver section to zh

* Split third-party GUI to open-source and commercial

* Mention some RDBMS integrations + ad-hoc translation fixes

* Add rel="external nofollow" to outgoing links from docs

* Lost blank lines

* Fix class name

* More rel="external nofollow"

* Apply suggestions by @sundy-li

* Mobile version of front page improvements

* test

* test 2

* test 3

* Update LICENSE

* minor docs fix

* Highlight current article as suggested by @sundy-li

* fix link destination

* Introduce backup.md (only "en" for now)

* Mention INSERT+SELECT in backup.md

* Some improvements for replication.md

* Add backup.md to toc

* Mention clickhouse-backup tool

* Mention LightHouse in third-party GUI list

* Introduce interfaces/third-party/proxy.md

* Add clickhouse-bulk to proxy.md

* Major extension of integrations.md contents

* fix link target

* remove unneeded file

* better toc item name

* fix markdown

* better ru punctuation

* Add yet another possible backup approach

* Simplify copying permalinks to headers

* Support non-eng link anchors in docs + update some deps

* Generate anchors for single-page mode automatically

* Remove anchors to top of pages

* Remove anchors that nobody links to

* build fixes

* fix few links

* restore css

* fix some links

* restore gifs

* fix lost words

* more docs fixes

* docs fixes

* NULL anchor

* update urllib3 dependency

* more fixes

* Remove excessive content from print version

* Try short license again

* Back to long license for now

* Introduce anchor integrity checks for single-page docs

* Add --save-raw-single-page option to build.py (helps to debug incorrect anchors)

* fix kafka engine links

* fix one class of broken anchors

* fix some broken links

* Add https://github.com/hatarist/clickhouse-cli to third-party section (in gui.md for now, maybe will add cli.md later)

* fix one more class of links to nowhere

* less duplicate anchors

* get rid of weird anchors

* fix anchor

* fix link

* fix couple links

* rearrange integrations.md a bit + sync zh version

* Mention nagios plugin in other languages

* port summingmergetree.md fix to zh

* Make doc links to nowhere fatal

* additional check in markdown extension

* add option to skip pdf

* 2019 have started

* minor fixes

* Inline custom_compression_codec.md into create.md for now
2019-01-18 19:18:46 +03:00
BayoNet
84f1fe6e75 Docapi 4479 merge tree new syntax translate (#4085)
* Update of english version of descriprion of the table function `file`.

* New syntax for ReplacingMergeTree.
Some improvements in text.

* Significantly change article about SummingMergeTree.
Article is restructured, text is changed in many places of the document. New syntax for table creation is described.

* Descriptions of AggregateFunction and AggregatingMergeTree are updated. Russian version.

* New syntax for new syntax of CREATE TABLE

* Added english docs on Aggregating, Replacing and SummingMergeTree.

* CollapsingMergeTree docs. English version.

* 1. Update of CollapsingMergeTree. 2. Minor changes in markup

* Update aggregatefunction.md

* Update aggregatefunction.md

* Update aggregatefunction.md

* Update aggregatingmergetree.md

* GraphiteMergeTree docs update.
New syntax for creation of Replicated* tables.
Minor changes in *MergeTree tables creation syntax.

* Markup fix

* Markup and language fixes

* Clarification in the CollapsingMergeTree article

* DOCAPI-4821. Sync between ru and en versions of docs.

* Fixed the ambiguity in geo functions description.

* Example of JOIN in ru docs

* Deleted misinforming example.

* Fixed links to IN operators.

* Updated the description of ALTER MODIFY.

* [RU] Updated ALTER MODIFY description.

* DOCAPI-4479. English changes are translated into russian.

* DOCAPI-4479. Minor text and markup fixes.

* DOCAPI-4479. Minor text edits.
2019-01-18 19:07:48 +03:00
proller
0939387514
Build fixes (#4076)
Move copy_headers.sh and formath.sh from root.
Debian: use default build dir (obj-x86_64-linux-gnu)
Debian: add test after build (GLIBC_required_version)
cmake: dont run copy headers if already copied
2019-01-18 18:19:53 +03:00
Nikhil Raman
05b71c9d60 Fix toStartOfFiveMinute doc. (#4096) 2019-01-18 16:29:12 +03:00
alesapin
9cb95470bd
Merge pull request #4073 from alex-krash/doc_compression_codec
Add doc for per-column compression codecs
2019-01-18 16:27:12 +03:00
Alexandr Krasheninnikov
382f8ebc3a Review fixes 2019-01-18 11:29:21 +03:00
alexey-milovidov
908015aa4b
Merge pull request #4088 from proller/fix14
CLICKHOUSE-4257 remoteSecure
2019-01-18 00:48:55 +03:00
Evgenii Pravda
809ed37fa4 Fix typos 2019-01-17 22:04:21 +03:00
proller
f2bbac6523 CLICKHOUSE-4257 remoteSecure 2019-01-17 20:55:44 +03:00
Alexandr Krasheninnikov
925a79501a Review fix 2019-01-17 18:58:39 +03:00
Alexandr Krasheninnikov
6b12ada18f Review fixes 2019-01-17 18:57:25 +03:00
Alexandr Krasheninnikov
5dade4a588 Add doc for per-column compression codecs 2019-01-16 15:50:14 +03:00
BayoNet
833e5ad161 DOCAPI-4149: Update of query language syntax description. (#4065)
* Update of english version of descriprion of the table function `file`.

* New syntax for ReplacingMergeTree.
Some improvements in text.

* Significantly change article about SummingMergeTree.
Article is restructured, text is changed in many places of the document. New syntax for table creation is described.

* Descriptions of AggregateFunction and AggregatingMergeTree are updated. Russian version.

* New syntax for new syntax of CREATE TABLE

* Added english docs on Aggregating, Replacing and SummingMergeTree.

* CollapsingMergeTree docs. English version.

* 1. Update of CollapsingMergeTree. 2. Minor changes in markup

* Update aggregatefunction.md

* Update aggregatefunction.md

* Update aggregatefunction.md

* Update aggregatingmergetree.md

* GraphiteMergeTree docs update.
New syntax for creation of Replicated* tables.
Minor changes in *MergeTree tables creation syntax.

* Markup fix

* Markup and language fixes

* Clarification in the CollapsingMergeTree article

* DOCAPI-4821. Sync between ru and en versions of docs.

* Fixed the ambiguity in geo functions description.

* Example of JOIN in ru docs

* Deleted misinforming example.

* Fixed links to IN operators.

* Updated the description of ALTER MODIFY.

* [RU] Updated ALTER MODIFY description.

* Update of query language syntax desctiption.

* Update of query language syntax description.

* Typo fixes.
2019-01-15 14:51:52 +03:00
ogorbacheva
c41f48c5a4 Small doc fix: translate "and" into russian in docs/ru (#4066) 2019-01-15 14:27:53 +03:00
ogorbacheva
f4a18ccb32 PR2: Adding description of the functions for working with UUID (#4059)
* PR2: add description of UUID functions

* Fix type of returned value
2019-01-15 11:04:52 +03:00
ogorbacheva
0a334b2dde Adding description of the CHECK TABLE query to the 'ru' doc (#4043)
* translation for CHECK TABLE query to russian

* fix link to nowhere
2019-01-14 10:04:00 +03:00
alexey-milovidov
974e1cbe6f
Update array.md 2019-01-13 22:44:24 +03:00
Nikolay Kirsh
e4fce8291e Update copyright (#4039)
2019 have started
2019-01-11 18:27:45 +03:00
BayoNet
baafb84018 merge_tree settings (#4024)
* Update of english version of descriprion of the table function `file`.

* New syntax for ReplacingMergeTree.
Some improvements in text.

* Significantly change article about SummingMergeTree.
Article is restructured, text is changed in many places of the document. New syntax for table creation is described.

* Descriptions of AggregateFunction and AggregatingMergeTree are updated. Russian version.

* New syntax for new syntax of CREATE TABLE

* Added english docs on Aggregating, Replacing and SummingMergeTree.

* CollapsingMergeTree docs. English version.

* 1. Update of CollapsingMergeTree. 2. Minor changes in markup

* Update aggregatefunction.md

* Update aggregatefunction.md

* Update aggregatefunction.md

* Update aggregatingmergetree.md

* GraphiteMergeTree docs update.
New syntax for creation of Replicated* tables.
Minor changes in *MergeTree tables creation syntax.

* Markup fix

* Markup and language fixes

* Clarification in the CollapsingMergeTree article

* DOCAPI-4821. Sync between ru and en versions of docs.

* Fixed the ambiguity in geo functions description.

* Example of JOIN in ru docs

* Deleted misinforming example.

* Fixed links to IN operators.

* Updated the description of ALTER MODIFY.

* [RU] Updated ALTER MODIFY description.

* merge_tree_* settings description.

* Fixed link anchor.
2019-01-11 12:43:02 +03:00
Ivan Blinkov
1c2140515f
fix mistype 2019-01-11 11:24:40 +03:00
sundyli
df5e56cb28 Add zh/tests doc translate (#4034)
* add development tests translate

* add development toc
2019-01-11 10:59:16 +03:00
Nikolay Kirsh
708a7744f6 fix page.title on 'hidden' pages (#4033)
* fix page.title on 'hidden' pages

* Update base.html

* Update base.html

* Update base.html
2019-01-11 09:58:16 +03:00