Commit Graph

126 Commits

Author SHA1 Message Date
alexey-milovidov
9e200bdfd9
Merge branch 'master' into materialized-view-to 2017-10-27 23:21:27 +03:00
alexey-milovidov
08d6051f5d Update capnproto.rst 2017-10-27 23:03:51 +03:00
Marek Vavruša
0d942a69c5 DataStreams: added Cap’n Proto format support
Cap'n Proto is a binary message format.
Like Protocol Buffers and Thrift (but unlike JSON or MessagePack), Cap'n Proto messages are strongly-typed and not self-describing. Due to this, it requires a schema setting to specify schema file and the root object. The schema is parsed on runtime and cached for each SQL statement.
2017-10-27 23:03:51 +03:00
Vitaliy Lyudvichenko
2dd26349fb Update docs. [#CLICKHOUSE-3] 2017-10-27 16:07:59 +03:00
Marek Vavruša
e936c4d066 AggregateFunctionSum: implemented sumWithOverflow(x)
By default sum(x) promotes the result type to
largest possible integral type to avoid
arithmetic overflow when summing values from
smaller data types.

This is generally desirable behaviour, but it doesn’t
work with summing merge tree, as the result is
expected to be of same type as the input.
2017-10-25 22:21:59 +03:00
alexey-milovidov
b5155916a8 Merge branch 'master' into materialized-view-to 2017-10-24 22:39:24 +03:00
alexey-milovidov
d5cf664297 Update build.rst 2017-10-24 02:50:54 +03:00
Marek Vavruša
5f53df7dbe ParserCreateQuery: allow ATTACH TABLE x shorthand statement
Allow `ATTACH TABLE [db.]name` if the table was previously detached,
an the table structure can be read from disk. This makes reattaching
tables less cumbersome:

```
CREATE TABLE test.t (x UInt8) ENGINE = Null;
DETACH TABLE test.t;
ATTACH TABLE test.t;
```
2017-10-21 13:38:39 -07:00
Marek Vavruša
975a7ada42 StorageMaterializedView: allow CREATE MATERIALIZED VIEW x TO y
This allows creation of materialized views without inner tables,
using an existing table for materialized rows instead.
This is useful for cases when you want to detach the materializing
view, but keep the already materialized data readable, especially
when the inner table is replicated.
2017-10-21 13:34:59 -07:00
alexey-milovidov
9ccdb5420b Merge branch 'master' into upstream-add-kafka 2017-10-13 23:52:42 +03:00
Tangaev
35c6c2a535 Примечание к описанию условного оператора
Предлагаю внести данное примечание, так как момент неочевидный (у меня ушло несколько часов чтобы понять в чем проблема, жалко, если кто-то потратит еще столько же).
2017-10-13 21:47:03 +03:00
Lev Borodin
942a4df2bd Fix section tabulation 2017-10-13 00:22:31 +03:00
Yuri Dyachenko
dfb64cf0c0 append yurial/clickhouse-client to docs/interfaces 2017-10-11 23:42:01 +03:00
Mikhail Filimonov
bc4a78f168 Fixing documentation fragment about "default" user. It is not mandatory anymore. 2017-10-11 23:27:59 +03:00
Ivan Blinkov
5505013ba9 Switch links to next event (#1332)
* update presentations

* CLICKHOUSE-2936: redirect from clickhouse.yandex.ru and clickhouse.yandex.com

* update submodule

* lost files

* CLICKHOUSE-2981: prefer sphinx docs over original reference

* CLICKHOUSE-2981: docs styles more similar to main website + add flags to switch language links

* update presentations

* Less confusing directory structure (docs -> doc/reference/)

* Minify sphinx docs too

* Website release script: fail fast + pass docker hash on deploy

* Do not underline links in docs

* shorter

* cleanup docker images

* tune nginx config

* CLICKHOUSE-3043: get rid of habrastorage links

* Lost translation

* CLICKHOUSE-2936: temporary client-side redirect

* behaves weird in test

* put redirect back

* CLICKHOUSE-3047: copy docs txts to public too

* move to proper file

* remove old pages to avoid confusion

* Remove reference redirect warning for now

* Refresh README.md

* Yellow buttons in docs

* Use svg flags instead of unicode ones in docs

* fix test website instance

* Put flags to separate files

* wrong flag

* Copy Yandex.Metrica introduction from main page to docs

* Yet another home page structure change, couple new blocks (CLICKHOUSE-3045)

* Update Contacts section

* CLICKHOUSE-2849: more detailed legal information

* CLICKHOUSE-2978 preparation - split by files

* More changes in Contacts block

* Tune texts on index page

* update presentations

* One more benchmark

* Add usage sections to index page, adapted from slides

* Get the roadmap started, based on slides from last ClickHouse Meetup

* CLICKHOUSE-2977: some rendering tuning

* Get rid of excessive section in the end of getting started

* Make headers linkable

* CLICKHOUSE-2981: links to editing reference - https://github.com/yandex/ClickHouse/issues/849

* CLICKHOUSE-2981: fix mobile styles in docs

* Ban crawling of duplicating docs

* Open some external links in new tab

* Ban old docs too

* Lots of trivial fixes in english docs

* Lots of trivial fixes in russian docs

* Remove getting started copies in markdown

* Add Yandex.Webmaster

* Fix some sphinx warnings

* More warnings fixed in english docs

* More sphinx warnings fixed

* Add code-block:: text

* More code-block:: text

* These headers look not that well

* Better switch between documentation languages

* merge use_case.rst into ya_metrika_task.rst

* Edit the agg_functions.rst texts

* Add lost empty lines

* Lost blank lines

* Add new logo sizes

* update presentations

* Next step in migrating to new documentation

* Fix all warnings in en reference

* Fix all warnings in ru reference

* Re-arrange existing reference

* Move operation tips to main reference

* Fix typos noticed by milovidov@

* Get rid of zookeeper.md

* Looks like duplicate of tutorial.html

* Fix some mess with html tags in tutorial

* No idea why nobody noticed this before, but it was completely not clear whet to get the data

* Match code block styling between main and tutorial pages (in favor of the latter)

* Get rid of some copypaste in tutorial

* Normalize header styles

* Move example_datasets to sphinx

* Move presentations submodule to website

* Move and update README.md

* No point in duplicating articles from habrahabr here

* Move development-related docs as is for now

* doc/reference/ -> docs/ (to match the URL on website)

* Adapt links to match the previous commit

* Adapt development docs to rst (still lacks translation and strikethrough support)

* clean on release

* blacklist presentations in gulp

* strikethrough support in sphinx

* just copy development folder for now

* fix weird introduction in style article

* Style guide translation (WIP)

* Finish style guide translation to English

* gulp clean separately

* Update year in LICENSE

* Initial CONTRIBUTING.md

* Fix remaining links to old docs in tutorial

* Some tutorial fixes

* Typo

* Another typo

* Update list of authors from yandex-team accoding to git log

* Fix diff with master

* couple fixes in en what_is_clickhouse.rst

* Try different link to blog in Russian

* Swap words

* Slightly larger line height

* CLICKHOUSE-3089: disable hyphenation in docs

* update presentations

* Fix copying of txt files

* update submodule

* CLICKHOUSE-3108: fix overflow issues in mobile version

* Less weird tutorial header in mobile version

* CLICKHOUSE-3073: skip sourcemaps by default

* CLICKHOUSE-3067: rename item in docs navigation

* fix list markup

* CLICKHOUSE-3067: some documentation style tuning

* CLICKHOUSE-3067: less laggy single page documentation

* update presentations

* YQL-3278: add some links to ClickHouse Meetup in Berlin on October 5, 2017

* Add "time series" keyword

* Switch link to next event

* Switch link to next event #2

* smaller font
2017-10-11 14:19:17 +03:00
Marek Vavruša
7fc08389c9 Storages: added Kafka table engine (read-only)
Added a new table engine backed by Apache Kafka,
it allows near real-time ingestion or ETL with
exactly-once semantics.

It doesn’t store any data on disk, so data must
be materialized into a physical table to allow
random access.

Currently it only supports reading, no insertion.
2017-10-10 08:33:00 -07:00
Andrey Dudin
51e003bed6 Update cli.rst
Ru docs
2017-10-03 22:07:05 +03:00
Andrey Dudin
4f990bcad6 Update cli.rst
Add example of clickhouse-client conf (en)
2017-10-03 22:07:05 +03:00
alexey-milovidov
abe0cd6a1e Merge pull request #1284 from BayoNet/master
Documentation update.
2017-09-30 14:09:07 +03:00
KochetovNicolai
9fbfde65ec Update third-party_client_libraries.rst 2017-09-26 11:58:30 +03:00
KochetovNicolai
e14b23f52e Update third-party_client_libraries.rst
Added ch-encode and ch-insert libraries.
2017-09-26 11:49:41 +03:00
Alexey Milovidov
e10ecb7c08 Fixed bad contents in documentation [#CLICKHOUSE-2]. 2017-09-25 15:07:26 +03:00
BayoNet
2f19c69bf9 Merge remote-tracking branch 'upstream/master'
Restructured articles of "aggregate functions" are added.

Conflicted changes in index.rst are merged.
2017-09-25 14:52:47 +03:00
BayoNet
c3b9e32e9f 1. "Aggregate functions" chapter is restructured.
2. Combinator -ForEach for aggregate functions is described.
3. Description of system.parts is actualized.
4. groupArrayInsertAt function if described.
.
2017-09-25 14:21:45 +03:00
alexey-milovidov
448d488add Merge pull request #1267 from bozerkins/patch-2
added another php clickhouse client (ru version)
2017-09-20 04:58:00 +03:00
Bogdan
40a4ef7a83 added another php clickhouse client (ru version) 2017-09-20 01:20:48 +03:00
Bogdan
03698ece22 one more PHP client for clickhouse 2017-09-20 01:18:49 +03:00
alexey-milovidov
99d1ba6f8c Update build.rst 2017-09-19 21:36:05 +03:00
alexey-milovidov
4610b5aa06 Update build.rst 2017-09-19 21:35:43 +03:00
alexey-milovidov
76e3f7ac0c Merge pull request #1250 from bocharov/master
Add new aggregate function sumMap(key, value).
2017-09-19 21:31:24 +03:00
Alex Bocharov
e99c969a1c Aggregate function sumMap: improve insertResultInto method and change return type to Tuple(Array(K), Array(V)). 2017-09-19 13:35:25 +01:00
alexey-milovidov
bb2433ffc3 Update queries.rst 2017-09-18 10:39:17 +03:00
alexey-milovidov
b0f0521b75 Update settings.rst 2017-09-18 10:38:21 +03:00
8b0d48f478 Merge remote-tracking branch 'upstream/master' 2017-09-18 09:49:56 +03:00
Alex Bocharov
591cd5c009 Add new aggregate function sumMap(key, value). 2017-09-15 12:14:19 +01:00
4b3e2cd61e force_index_by_date and force_primary_key are documented. 2017-09-15 12:00:53 +03:00
Alexey Milovidov
a4c5cf0009 Fixed bad translation [#CLICKHOUSE-3]. 2017-09-12 22:47:39 +03:00
Alexey Milovidov
12cf25bbe2 Added link to RPM packages in documentation [#CLICKHOUSE-3]. 2017-09-12 22:43:30 +03:00
Alexey Milovidov
9ab64b4706 Added link to Go library by Denis Korolev [#CLICKHOUSE-3]. 2017-09-11 21:03:32 +03:00
Alexey Milovidov
4ba8d5a3c6 Updated build instruction [#CLICKHOUSE-3174]. 2017-09-09 06:30:31 +03:00
Ivan Blinkov
3022d0b8a0 YQL-3278: add some links to ClickHouse Meetup in Berlin on October 5, 2017 (#1199)
* update presentations

* CLICKHOUSE-2936: redirect from clickhouse.yandex.ru and clickhouse.yandex.com

* update submodule

* lost files

* CLICKHOUSE-2981: prefer sphinx docs over original reference

* CLICKHOUSE-2981: docs styles more similar to main website + add flags to switch language links

* update presentations

* Less confusing directory structure (docs -> doc/reference/)

* Minify sphinx docs too

* Website release script: fail fast + pass docker hash on deploy

* Do not underline links in docs

* shorter

* cleanup docker images

* tune nginx config

* CLICKHOUSE-3043: get rid of habrastorage links

* Lost translation

* CLICKHOUSE-2936: temporary client-side redirect

* behaves weird in test

* put redirect back

* CLICKHOUSE-3047: copy docs txts to public too

* move to proper file

* remove old pages to avoid confusion

* Remove reference redirect warning for now

* Refresh README.md

* Yellow buttons in docs

* Use svg flags instead of unicode ones in docs

* fix test website instance

* Put flags to separate files

* wrong flag

* Copy Yandex.Metrica introduction from main page to docs

* Yet another home page structure change, couple new blocks (CLICKHOUSE-3045)

* Update Contacts section

* CLICKHOUSE-2849: more detailed legal information

* CLICKHOUSE-2978 preparation - split by files

* More changes in Contacts block

* Tune texts on index page

* update presentations

* One more benchmark

* Add usage sections to index page, adapted from slides

* Get the roadmap started, based on slides from last ClickHouse Meetup

* CLICKHOUSE-2977: some rendering tuning

* Get rid of excessive section in the end of getting started

* Make headers linkable

* CLICKHOUSE-2981: links to editing reference - https://github.com/yandex/ClickHouse/issues/849

* CLICKHOUSE-2981: fix mobile styles in docs

* Ban crawling of duplicating docs

* Open some external links in new tab

* Ban old docs too

* Lots of trivial fixes in english docs

* Lots of trivial fixes in russian docs

* Remove getting started copies in markdown

* Add Yandex.Webmaster

* Fix some sphinx warnings

* More warnings fixed in english docs

* More sphinx warnings fixed

* Add code-block:: text

* More code-block:: text

* These headers look not that well

* Better switch between documentation languages

* merge use_case.rst into ya_metrika_task.rst

* Edit the agg_functions.rst texts

* Add lost empty lines

* Lost blank lines

* Add new logo sizes

* update presentations

* Next step in migrating to new documentation

* Fix all warnings in en reference

* Fix all warnings in ru reference

* Re-arrange existing reference

* Move operation tips to main reference

* Fix typos noticed by milovidov@

* Get rid of zookeeper.md

* Looks like duplicate of tutorial.html

* Fix some mess with html tags in tutorial

* No idea why nobody noticed this before, but it was completely not clear whet to get the data

* Match code block styling between main and tutorial pages (in favor of the latter)

* Get rid of some copypaste in tutorial

* Normalize header styles

* Move example_datasets to sphinx

* Move presentations submodule to website

* Move and update README.md

* No point in duplicating articles from habrahabr here

* Move development-related docs as is for now

* doc/reference/ -> docs/ (to match the URL on website)

* Adapt links to match the previous commit

* Adapt development docs to rst (still lacks translation and strikethrough support)

* clean on release

* blacklist presentations in gulp

* strikethrough support in sphinx

* just copy development folder for now

* fix weird introduction in style article

* Style guide translation (WIP)

* Finish style guide translation to English

* gulp clean separately

* Update year in LICENSE

* Initial CONTRIBUTING.md

* Fix remaining links to old docs in tutorial

* Some tutorial fixes

* Typo

* Another typo

* Update list of authors from yandex-team accoding to git log

* Fix diff with master

* couple fixes in en what_is_clickhouse.rst

* Try different link to blog in Russian

* Swap words

* Slightly larger line height

* CLICKHOUSE-3089: disable hyphenation in docs

* update presentations

* Fix copying of txt files

* update submodule

* CLICKHOUSE-3108: fix overflow issues in mobile version

* Less weird tutorial header in mobile version

* CLICKHOUSE-3073: skip sourcemaps by default

* CLICKHOUSE-3067: rename item in docs navigation

* fix list markup

* CLICKHOUSE-3067: some documentation style tuning

* CLICKHOUSE-3067: less laggy single page documentation

* update presentations

* YQL-3278: add some links to ClickHouse Meetup in Berlin on October 5, 2017
2017-09-06 22:28:19 +03:00
6885f6cfaa Minor text edits. 2017-09-06 08:48:35 +03:00
BayoNet
0140c14094 Getting external dictionary from MySQL through the sockets. (#1184) 2017-09-01 20:12:46 +03:00
188d5cfbd8 Getting external dictionary from MySQL through the sockets. 2017-09-01 16:43:05 +03:00
proller
3269b1da57 libmariadb as submodule (CLICKHOUSE-3261) (#1181)
* Use bundled libmariadbclient (CLICKHOUSE-3261)

* wip

* wip

* wip

* Update docs about git clone. move docs/en/development/build_*.sh -> utils/build/build_debian.sh
2017-08-31 20:11:30 +03:00
alexey-milovidov
2ced5f8bb5 Merge pull request #1180 from BayoNet/master
"INSERT" query and "strict_insert_defaults" parameter descripions
2017-08-31 16:45:17 +03:00
alexey-milovidov
d064232f26 Update queries.rst 2017-08-31 16:42:27 +03:00
alexey-milovidov
55f6330d53 Update queries.rst 2017-08-31 16:36:19 +03:00
alexey-milovidov
da0e8e3325 Update queries.rst 2017-08-31 16:33:08 +03:00
47ff950420 "INSERT" query descripion is updated. Information on performance of query is added.
Session parameter "strict_insert_defaults" is desribed.
2017-08-31 16:17:51 +03:00