Compatibility: get tests working with CH 21.1

This commit is contained in:
olliemath 2021-08-14 11:36:10 +01:00
parent 817825e878
commit 1a4785d61e

View File

@ -227,7 +227,7 @@ class EnginesTestCase(_EnginesHelperTestCase):
) )
class TestCollapseModel(SampleModel): class TestCollapseModel(SampleModel):
sign = Int8Field() sign = Int8Field(default=-1)
engine = CollapsingMergeTree( engine = CollapsingMergeTree(
sign_col="sign", sign_col="sign",
@ -259,7 +259,7 @@ class EnginesTestCase(_EnginesHelperTestCase):
) )
class TestCollapseModel(SampleModel): class TestCollapseModel(SampleModel):
sign = Int8Field() sign = Int8Field(default=1)
engine = CollapsingMergeTree( engine = CollapsingMergeTree(
sign_col="sign", sign_col="sign",
@ -427,10 +427,6 @@ class DistributedTestCase(_EnginesHelperTestCase):
res[1].to_dict(include_readonly=include_readonly), 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): def test_insert_distributed_select_local(self):
return self._test_insert_select(local_to_distributed=False) return self._test_insert_select(local_to_distributed=False)