Commit Graph

258 Commits

Author SHA1 Message Date
alexey-milovidov
3b58942f62
Merge pull request #1872 from BayoNet/master
Fixes of links and a separate symbol.
2018-02-07 23:56:38 +03:00
BayoNet
060d0f0ba2 Forgot english version for the previous commit 2018-02-07 22:16:25 +03:00
alexey-milovidov
b7a09d160d
Merge pull request #1857 from gerasim13/null-values-support-for-string-field
allow nulls in string field (mongodb dictionary)
2018-02-07 20:49:56 +03:00
BayoNet
509950b2c5 Some links are fixed. 2018-02-07 10:33:52 +03:00
Павел Литвиненко
8e61106450 add is_object_id property for determining when to use ObjectId 2018-02-07 00:34:56 +03:00
sundy-li
4c5324df5f Fix quantileTimingWeighted describe doc 2018-02-06 19:03:24 +08:00
sundy-li
c87629197b Fix en doc: varPop(x) 2018-02-06 18:42:41 +08:00
Alex Bocharov
9963e2f160 Fix uniqHLL12 and uniqCombined for cardinalities 100M+.
* Changing size() return type from UInt32 to UInt64 to prevent overflow (this shouldn't break back compatibility).
 * Removing "big cardinalities fix" for cardinalities >2^32/30 as it was very inaccurate and for estimates >2^32 it was trying to do 'log' of negative number which is NaN and it was casted to 0.
 * Adding python script to show that intHash32 is not a good choice for HyperLogLog algorithm when it's used for linear counting branch of it.
 * Adding bash script to test uniq, uniqHLL12, uniqCombined on different set cardinalities.
 * Altering documentation of uniq* aggregate functions with recommendations to use uniq instead of uniqHLL12 or uniqCombined.
2018-01-31 11:36:01 +00:00
Igor
ebc1ef34db Tabix - Change github repo 2018-01-29 22:35:35 +03:00
zhang2014
f9ffae4372 update typo with docs 2018-01-19 21:40:44 +03:00
BayoNet
f1cfca40b8 Fixed russian inclusions into english version of the document. 2018-01-19 21:12:08 +03:00
Alexey Milovidov
23a434f3bf Removed draft 2018-01-18 05:28:27 +03:00
Alexey Milovidov
3a839dbf70 Added russian version of changelog for the latest release 2018-01-18 05:28:10 +03:00
Alexey Milovidov
66e8526aa2 Added draft [#CLICKHOUSE-2]. 2018-01-18 00:39:55 +03:00
BayoNet
634968bea5 Merge remote-tracking branch 'upstream/master' 2018-01-17 15:08:45 +03:00
BayoNet
6766eee141 Fixed regular expression that patches links in single page version of the document. 2018-01-16 13:50:57 +03:00
Alexey Milovidov
b59e97175d Updated Style [#CLICKHOUSE-2]. 2018-01-10 21:35:04 +03:00
Ivan Blinkov
bd98072259 Some progress on website and docs (#1717)
* Add link to Beijing meetup

* ignore presentations

* introduce requirements.txt

* Apply hacks by bayonet@ using monkey patching

* Simplify and fix patching of "single" docs on Mac OS (it still has a bug on chunk borders though)
2017-12-29 18:45:21 +03:00
BayoNet
15a940b2cc Moving to MkDocs 2017-12-29 15:43:05 +03:00
BayoNet
13d9a4eebe Sources for english documentation switched to Markdown.
Edit page link is fixed too for both language versions of documentation.
2017-12-28 18:13:23 +03:00
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