Fix summing merge tree docs. (#2793)

* CLICKHOUSE-3863: Add HTTPS support for interserver replication

* CLICKHOUSE-3863: Add more convinient exception message

* Fix summingmergetree docs
This commit is contained in:
alesapin 2018-08-02 22:43:35 +03:00 committed by alexey-milovidov
parent 6b8fdb16f6
commit c83721a02d

View File

@ -14,7 +14,7 @@ SummingMergeTree(EventDate, (OrderID, EventDate, BannerID, ...), 8192, (Shows, C
The columns to total are set explicitly (the last parameter Shows, Clicks, Cost, ...). When merging, all rows with the same primary key value have their values totaled in the specified columns. The specified columns also must be numeric and must not be part of the primary key.
If the values were null in all of these columns, the row is deleted. (The exception is cases when the data part would not have any rows left in it.)
If the values were zero in all of these columns, the row is deleted. (The exception is cases when the data part would not have any rows left in it.)
For the other columns that are not part of the primary key, the first value that occurs is selected when merging. But if a column is of AggregateFunction type, then it is merged according to that function, which effectively makes this engine behave like `AggregatingMergeTree`.