Skip to content

Commit 781aba9

Browse files
added compatibility tests for bool (#27544)
1 parent fb1fb25 commit 781aba9

File tree

2 files changed

+11
-3
lines changed

2 files changed

+11
-3
lines changed

ydb/tests/compatibility/test_data_type.py

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,7 @@ def setup(self, store_type):
5656
extra_feature_flags={
5757
"enable_parameterized_decimal": True,
5858
"enable_table_datetime64": True,
59+
"enable_columnshard_bool": True,
5960
},
6061
column_shard_config={
6162
"disabled_on_scheme_shard": False,
@@ -256,7 +257,11 @@ def parametrized_check_table(self):
256257
def test_data_type(self):
257258
if any("Decimal" in type_name for type_name in self.all_types.keys()) and self.store_type == "COLUMN":
258259
if (min(self.versions) < (25, 1)):
259-
pytest.skip("Decimal types are not supported in columnshard in this version")
260+
types_not_supported_yet_in_columnshard.add("Decimal")
261+
262+
if any("Bool" in type_name for type_name in self.all_types.keys()) and self.store_type == "COLUMN":
263+
if (min(self.versions) < (26, 1)):
264+
types_not_supported_yet_in_columnshard.add("Bool")
260265

261266
self.create_table()
262267

@@ -273,7 +278,11 @@ def test_data_type(self):
273278
def test_parametrized_data_type(self):
274279
if any("Decimal" in type_name for type_name in self.all_types.keys()) and self.store_type == "COLUMN":
275280
if (min(self.versions) < (25, 1)):
276-
pytest.skip("Decimal types are not supported in columnshard in this version")
281+
types_not_supported_yet_in_columnshard.add("Decimal")
282+
283+
if any("Bool" in type_name for type_name in self.all_types.keys()) and self.store_type == "COLUMN":
284+
if (min(self.versions) < (26, 1)):
285+
types_not_supported_yet_in_columnshard.add("Bool")
277286

278287
self.create_table()
279288

ydb/tests/datashard/lib/types_of_variables.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -250,7 +250,6 @@ def cleanup_type_name(type_name):
250250
}
251251

252252
types_not_supported_yet_in_columnshard = {
253-
"Bool",
254253
"DyNumber",
255254
"UUID",
256255
"Interval"

0 commit comments

Comments
 (0)