proller
43180682f8
Fix contrib/zstd build
2017-10-27 15:55:08 +03:00
Nikolai Kochetov
c1cbfdc2ad
decreased accuracy threshold for catboost python tests [#CLICKHOUSE-3305]
2017-10-27 15:41:08 +03:00
Nikolai Kochetov
8f84d51a5d
added optional features count validation [#CLICKHOUSE-3305]
2017-10-27 15:23:26 +03:00
proller
67b406dfb9
Fix contrib/zstd build
2017-10-27 15:14:03 +03:00
proller
e319a1abeb
Fix contrib/zstd build
2017-10-27 15:12:15 +03:00
Nikolai Kochetov
fea2bed3da
added optional features count validation [#CLICKHOUSE-3305]
2017-10-27 11:39:54 +03:00
proller
12c518c6fa
Fix submodules
2017-10-27 01:15:56 +03:00
Nikolai Kochetov
9c3c3231f4
added optional features count validation [#CLICKHOUSE-3305]
2017-10-26 23:12:40 +03:00
Nikolai Kochetov
0d356f9a6a
fix build [#CLICKHOUSE-3305]
2017-10-26 22:14:25 +03:00
Nikolai Kochetov
46dfa7bf8d
changed boost::dll to SharedLibrary; removed boost::dll [#CLICKHOUSE-3305]
2017-10-26 22:00:27 +03:00
Alexey Milovidov
41c05f22be
Removed very old obsolete tests [#CLICKHOUSE-2].
2017-10-26 21:49:48 +03:00
Nikolai Kochetov
3757c9682e
style fixes [#CLICKHOUSE-3305]
2017-10-26 21:49:23 +03:00
Nikolai Kochetov
b66577e38a
changed ExternalLoaderUpdateSettings [#CLICKHOUSE-3305]
2017-10-26 21:39:55 +03:00
Alexey Milovidov
6022201c26
Removed very old obsolete test [#CLICKHOUSE-2].
2017-10-26 21:38:40 +03:00
Alexey Milovidov
a27981b4ef
Get rid of double whitespaces [#CLICKHOUSE-2].
2017-10-26 21:36:23 +03:00
Nikolai Kochetov
10bbf0871b
added comments [#CLICKHOUSE-3305]
2017-10-26 21:30:28 +03:00
Alexey Milovidov
1f81797adc
Don't use direct IO in test as it doesn't work in encrypted FS and is irrelevant for the test [#CLICKHOUSE-2].
2017-10-26 21:11:09 +03:00
Alexey Milovidov
ac5062d592
Fixed incorrect usage of "toRelative" family of functions in tests [#CLICKHOUSE-2].
2017-10-26 21:09:02 +03:00
Vitaliy Lyudvichenko
51265506f8
Convey session setting up to inner table creation for MV. [#CLICKHOUSE-3381]
2017-10-26 18:39:56 +03:00
Vitaliy Lyudvichenko
3b466ec57b
Add deduplication test. [#CLICKHOUSE-3381]
2017-10-26 18:22:34 +03:00
Vitaliy Lyudvichenko
a0d06c5ee0
Don't deduplicate a block inserted from MV if the source block is Ok. [#CLICKHOUSE-3381]
2017-10-26 17:58:00 +03:00
Nikolai Kochetov
371e234f01
changed ExternalLoader::getObjectsMap return type [#CLICKHOUSE-3305]
2017-10-26 17:26:03 +03:00
Vitaliy Lyudvichenko
602560cb2e
Update system.parts table. [#CLICKHOUSE-3178]
2017-10-26 17:20:21 +03:00
Vitaliy Lyudvichenko
483dfd1b44
Fixed "No part error" in replicated sender. [#CLICKHOUSE-3178]
2017-10-26 17:16:06 +03:00
Vitaliy Lyudvichenko
397b8bcf92
Smarter parts deletion. [#CLICKHOUSE-3178]
2017-10-26 17:16:06 +03:00
Vitaliy Lyudvichenko
a5e29f2166
Add integration test. [#CLICKHOUSE-3178]
2017-10-26 17:16:06 +03:00
Vitaliy Lyudvichenko
d6ea9c3dcf
Fixed awful copypaste. [#CLICKHOUSE-3178]
2017-10-26 17:16:06 +03:00
Vitaliy Lyudvichenko
b5c7eaa80e
Force data parts cleanup before repeat fetch. [#CLICKHOUSE-3178]
2017-10-26 17:16:06 +03:00
Vitaliy Lyudvichenko
71833a7f0f
More correct procedure of parts deleting. [#CLICKHOUSE-3178]
2017-10-26 17:16:06 +03:00
Vitaliy Lyudvichenko
db3a67a421
Add clearer RangeFiltered implementation. [#CLICKHOUSE-3178]
2017-10-26 17:16:06 +03:00
Vitaliy Lyudvichenko
e2a12d1088
Introduced logic for MergeTree parts states. [#CLICKHOUSE-3178]
2017-10-26 17:16:06 +03:00
Vitaliy Lyudvichenko
5787e8b257
Add state for MergeTree parts. [#CLICKHOUSE-3178]
...
And Removed obsolete code.
2017-10-26 17:16:06 +03:00
Nikolai Kochetov
092567af39
changed CatBoost model evaluate signature [#CLICKHOUSE-3305]
2017-10-26 17:10:51 +03:00
Nikolai Kochetov
4204a94b20
changed CatBoost model evaluate signature [#CLICKHOUSE-3305]
2017-10-26 17:08:05 +03:00
Alexey Zatelepin
ec963e3397
save evaluated storage parameters in ATTACH queries [#CLICKHOUSE-3000]
2017-10-26 17:07:15 +03:00
Nikolai Kochetov
2e6b1dfd92
renamed cloneObject to clone in IExternalLoadable [#CLICKHOUSE-3305]
2017-10-26 16:42:14 +03:00
Nikolai Kochetov
c3d104f53b
changed IDictionary clone [#CLICKHOUSE-3305]
2017-10-26 16:41:51 +03:00
Alexey Zatelepin
f130d2df65
fix creation of system log tables [#CLICKHOUSE-2]
2017-10-26 15:44:47 +03:00
Nikolai Kochetov
fd8eb13dcc
refactoring [#CLICKHOUSE-3305]
2017-10-26 15:18:37 +03:00
Alexey Zatelepin
88c4ea1ac3
allow specifying ENGINE for CREATE TEMPORARY TABLE (but only if it is Memory) [#CLICKHOUSE-2]
2017-10-26 15:15:33 +03:00
proller
9ccba5fad1
Fix includes
2017-10-26 14:46:57 +03:00
Alexey Zatelepin
6ada6d9aa5
remove dead code [#CLICKHOUSE-2]
2017-10-26 07:53:52 +03:00
Alexey Zatelepin
01c39dcf1c
fix CREATE TABLE bugs and idiosyncrasies: [#CLICKHOUSE-3000]
...
* fix segfault on ATTACH MATERIALIZED VIEW
* allow only TEMPORARY TABLEs (not databases or views)
* forbid choosing ENGINE for TEMPORARY tables
* fix segfault on CREATE TABLE t1 AS t2 where t2 is a View
2017-10-26 07:53:52 +03:00
Alexey Milovidov
2cc3fdae9b
Useless modifications for cppcheck [#CLICKHOUSE-2].
2017-10-26 04:47:03 +03:00
Marek Vavruša
ee22253857
tests: added tests for sumWithOverflow(x) preserving input type
2017-10-25 22:21:59 +03:00
Marek Vavruša
c0458999f9
SummingSortedBlockInputStream: fix summing of multiple blocks
...
Previously the destination columns were only computed for the first
block, so that subsequently written blocks failed to write
aggregation results to corrent columns.
2017-10-25 22:21: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
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
Marek Vavruša
fa098b469c
AggregateFunctionSumMap: compact keys with zero value
...
This allows `sumMap(k, v)` to compact all keys
for which the values are all zero.
2017-10-25 22:21:59 +03:00
Alexey Milovidov
65982a1642
Fixed exception messages [#CLICKHOUSE-2].
2017-10-25 22:17:37 +03:00