Commit Graph

4 Commits

Author SHA1 Message Date
proller
c96c950096
Tests: making 100% pass with other than 'test' database (#5047) 2019-04-18 21:48:04 +03:00
proller
f1cc83ca9e
Tests: Allow use any test database (remove test. hardcode where it possible) (#5008) 2019-04-16 17:13:13 +03:00
Marek Vavruša
5c87a91aaf SummingSortedBlockInputStream: fix explicitly configured columns to sum
This fixes a variant of SummingMergeTree() in which
the columns to sum are explicitly configured.
Previously columns not in that list were ignored,
instead of writing last value.

This also fixes summation of invalid maps with
with only one key column and no value columns.

Modified test to work around compaction limitation
in which a zero-value column isn’t compacted
immediately if the inputs are non-zero but the
output is zero (+1 -1).
2017-10-25 22:21:59 +03:00
Michael Kolupaev
c6194d47f4 Merge 2014-05-07 15:44:14 +04:00