From 1a4785d61e877d839584a9eb7de06f934f5e10d0 Mon Sep 17 00:00:00 2001 From: olliemath Date: Sat, 14 Aug 2021 11:36:10 +0100 Subject: [PATCH] Compatibility: get tests working with CH 21.1 --- tests/test_engines.py | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/tests/test_engines.py b/tests/test_engines.py index 765ce6e..354089d 100644 --- a/tests/test_engines.py +++ b/tests/test_engines.py @@ -227,7 +227,7 @@ class EnginesTestCase(_EnginesHelperTestCase): ) class TestCollapseModel(SampleModel): - sign = Int8Field() + sign = Int8Field(default=-1) engine = CollapsingMergeTree( sign_col="sign", @@ -259,7 +259,7 @@ class EnginesTestCase(_EnginesHelperTestCase): ) class TestCollapseModel(SampleModel): - sign = Int8Field() + sign = Int8Field(default=1) engine = CollapsingMergeTree( sign_col="sign", @@ -427,10 +427,6 @@ class DistributedTestCase(_EnginesHelperTestCase): res[1].to_dict(include_readonly=include_readonly), ) - @unittest.skip( - "Bad support of materialized fields in Distributed tables " - "https://groups.google.com/forum/#!topic/clickhouse/XEYRRwZrsSc" - ) def test_insert_distributed_select_local(self): return self._test_insert_select(local_to_distributed=False)