Commit Graph

238 Commits

Author SHA1 Message Date
BayoNet
6d95729960 Merge remote-tracking branch 'upstream/master' 2017-12-28 17:48:58 +03:00
BayoNet
68b2f06636 Removed server setting belongs to resharding.
Some links are fixed.
2017-12-28 17:27:52 +03:00
Alexey Milovidov
b79aa5db4e Update documentation about required ZK version; Miscellaneous #1458 2017-12-27 21:34:58 +03:00
Stanislav Pavlovichev
b86d3c73e4 Missing ReplicatedGraphiteMergeTree in docs 2017-12-26 19:30:52 +02:00
Stanislav Pavlovichev
4e636ca598 Missing ReplicatedReplacingMergeTree in docs 2017-12-26 19:20:10 +02:00
Kirill Shvakov
ae1ecae5a8 fix docs 2017-12-22 14:40:00 +02:00
Kirill Shvakov
af400da8eb add toStartOfFifteenMinutes function 2017-12-22 13:04:24 +02:00
alexey-milovidov
0ce6df8f19
Update date.rst 2017-12-22 07:02:23 +03:00
Alexey Milovidov
f11740653f Fixed docs about supported date range [#CLICKHOUSE-3]. 2017-12-21 21:22:09 +03:00
Marek Vavruša
fd260c31ba CapnpProtoRowInputStream: fixed build in current master, added docs 2017-12-21 00:46:50 +03:00
Marek Vavruša
c6e959d1e9 StorageKafka: extended configuration, parallel consumers, offset tracking
This contains many fixes and corrections for the Kafka engine.
Most notably it now supports extended configuration similarly to GraphiteMergeTree.
Now it also allows specification of consumer count to parallelize consumption of
multiple partitions both in materialized views and in SELECT queries.

The offsets are now committed in the insertSuffix() method after all rows
are successfully read. If an exception is thrown during reading, affected consumer
unsubscribes from all assignments and rejoins the consumer group to rewind offsets.
This means that the consumer won't lose messages in case of write failures.
2017-12-21 00:46:50 +03:00
Andrey Dudin
7060b8a3d9
Create dictionary.md 2017-12-18 20:54:10 +03:00
alexey-milovidov
dc96f2101f
Merge branch 'master' into patch-1 2017-12-13 23:47:27 +03:00
lomberts
871557fa96 Fix data loading (3XX response code) (#1624) 2017-12-13 16:06:47 +03:00
Okada Haruki
d2732fc79a
Fix links
`http:` is redirected to `https:` for now.
2017-12-13 17:22:32 +09:00
Alexey Milovidov
7d04e67262 Merge branch 'write-buffer-from-arena' 2017-12-11 21:25:03 +03:00
Alexey Milovidov
90848adc6b Fixed translation [#CLICKHOUSE-2]. 2017-12-11 21:19:35 +03:00
BayoNet
078b3ddaeb Headers markup is unified through the document. 2017-12-11 17:50:55 +03:00
BayoNet
e19c3b3a46 Headers markup is unified through the document. 2017-12-11 15:07:26 +03:00
alexey-milovidov
7802278791
Update float.md 2017-12-08 11:20:41 +03:00
BayoNet
0cc47114a7 Merge remote-tracking branch 'upstream/master' 2017-12-07 19:18:29 +03:00
BayoNet
36ae4376e3 Concept on floating point numbers is rewrited. 2017-12-07 19:16:11 +03:00
Alexey Milovidov
d0932394fb Added links to RClickHouse to the site [#CLICKHOUSE-3460]. 2017-12-05 04:07:30 +03:00
Alexey Zatelepin
fb9c7ab81d remove experimental_allow_extended_storage_definition_syntax Setting (turn on by default) [#CLICKHOUSE-3000] 2017-12-04 22:45:18 +03:00
Alexey Milovidov
739b7e0e37 Removed BlockTabSeparated format as it was totally useless [#CLICKHOUSE-2]. 2017-12-02 00:44:12 +03:00
Alexey Milovidov
5bbd3a3a48 Updated build instruction [#CLICKHOUSE-2]. 2017-12-01 22:09:20 +03:00
Alexey Milovidov
557357e8da Better [#CLICKHOUSE-2]. 2017-12-01 21:58:18 +03:00
alexey-milovidov
8b14584df7
Update reference.md 2017-12-01 19:14:55 +03:00
BayoNet
5707e3cbe2 Minor symbols edit. 2017-11-30 15:48:13 +03:00
BayoNet
5d9faf4f21 Function descriptions are fixed. 2017-11-30 15:38:43 +03:00
BayoNet
92fabedfa3 Merge remote-tracking branch 'upstream/master' 2017-11-28 15:27:33 +03:00
BayoNet
4927d36ab9 anyHeavy and topK functions are described. 2017-11-28 15:26:29 +03:00
alexey-milovidov
61b76f34dd
Merge pull request #1533 from BayoNet/master
Array functions arrayConcat, arraySlice, arrayPopFront, arrayPopBack,arrayPushFront, arrayPushBack are described.
2017-11-25 01:41:52 +03:00
BayoNet
ff7c9e114c Array functions topic is edited following developer comments. 2017-11-24 12:52:25 +03:00
Maks Skorokhod
a06ca9cb82
:octocat: merge with master 2017-11-23 11:57:10 +03:00
Maks Skorokhod
46b71ed5c3
📝 upd docs for gcd/lcm functions 2017-11-23 11:46:51 +03:00
BayoNet
6c9a1872f6 sed commands are added to fix unresolved internal links in single-page html 2017-11-23 11:01:36 +03:00
BayoNet
411f60924f Merge remote-tracking branch 'upstream/master' 2017-11-22 09:28:31 +03:00
BayoNet
62128eff70 Array functions arrayConcat, arraySlice, arrayPopFront, arrayPopBack, arrayPushFront, arrayPushBack are described. 2017-11-22 09:14:09 +03:00
Pavel Yakunin
09616149c4 updating docs for dictionaries 2017-11-19 15:11:23 +03:00
Pavel Yakunin
975a9dcab9 updating docs for dictionaries 2017-11-19 15:07:08 +03:00
Pavel Yakunin
bb967007ff merged master 2017-11-19 10:55:46 +03:00
Pavel Yakunin
753b862e45 Docs changed to support substitutions in dictionaries 2017-11-19 10:32:36 +03:00
Alexey Milovidov
729b114c15 Removed unsupported functionality [#CLICKHOUSE-2]. 2017-11-18 05:34:00 +03:00
alexey-milovidov
c74dc219c6
Update syntax.rst 2017-11-17 23:09:13 +03:00
BayoNet
c56ada3200 Links fixed to standard MD syntax and the docs sources are the linked GitHub site.
Russian sources are updated following the english ones.
2017-11-17 21:39:58 +03:00
BayoNet
af96036860 Links fixed to standard MD syntax and the docs sources are the linked GitHub site.
Russian sources are updated following the english ones.
2017-11-17 17:12:34 +03:00
Alexey Milovidov
edcbf791fb Miscellaneous [#CLICKHOUSE-2]. 2017-11-16 20:40:54 +03:00
Иванов Евгений
48636ac601 Added support UUID type for dictionaries 2017-11-15 23:31:53 +03:00
Marek Vavruša
c07b48075b StorageKafka: fixed messages not showing when EOF is reached in current batch
This prevents messages from being read if there's less than 16 messages to read in Kafka.
Updated documentation with more detailed description.
2017-11-15 23:17:22 +03:00
Marek Vavruša
64a892c0e6 DataStreams: CapnProto uses <format_schema_path> config option
This addresses one of the remarks in the PR.

All format schemas are required to be in the <format_schema_path> directory.
This makes loading schema files less tedious, as the path can be omitted.
2017-11-15 23:17:22 +03:00
Alexey Milovidov
c229c8115e Updated actual gcc version [#CLICKHOUSE-2]. 2017-11-12 20:02:05 +03:00
Alexey Milovidov
e611e1cc66 Fixed documentation for "hex" (thanks, StarWix) [#CLICKHOUSE-3]. 2017-11-12 03:43:12 +03:00
Ivan Zhukov
43382f0f76 Fix documentation rst markup 2017-11-10 21:41:53 +03:00
Alexey Zatelepin
8378979326 add RU docs draft for custom partitioning key [#CLICKHOUSE-3000] 2017-11-09 19:41:50 +03:00
Alexey Zatelepin
0919ae6338 remove obsolete requirement from docs for the has() function 2017-11-09 16:39:57 +03:00
BayoNet
f2395516e1 Merge remote-tracking branch 'upstream/master' 2017-11-09 09:32:19 +03:00
BayoNet
9fcf76fead Syncronization with the 'rst' sources. 2017-11-07 14:39:22 +03:00
Sergey Elantsev
f6de5a20de update tabix links in russian docs 2017-11-04 19:48:25 +03:00
sundyli
d4f4e950e6
Fix code indent 2017-11-01 22:56:55 +08:00
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
BayoNet
3c3c8751ac Markup bugs fix. 2017-10-25 13:11:54 +03:00
BayoNet
4f10568f2d Replacing 'RestructuredText' sources with the 'Markdown' ones. 2017-10-25 08:55:22 +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