Skip to content

Commit 7a9927a

Browse files
authored
Compatibility tests: tpch column (#16518)
1 parent 048e65e commit 7a9927a

File tree

1 file changed

+11
-7
lines changed

1 file changed

+11
-7
lines changed

ydb/tests/functional/compatibility/test_stress.py

Lines changed: 11 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,10 @@ def setup(self, request):
3131
binary_paths=binary_paths,
3232
# uncomment for 64 datetime in tpc-h/tpc-ds
3333
# extra_feature_flags={"enable_table_datetime64": True},
34+
35+
column_shard_config={
36+
'disabled_on_scheme_shard': False,
37+
},
3438
)
3539

3640
self.cluster = KiKiMR(self.config)
@@ -56,7 +60,7 @@ def get_command_prefix_log(self, subcmds: list[str], path: str) -> list[str]:
5660
+ ["--path", path]
5761
)
5862

59-
@pytest.mark.parametrize("store_type", ["row"])
63+
@pytest.mark.parametrize("store_type", ["row", "column"])
6064
def test_log(self, store_type):
6165
timeout_scale = 60
6266

@@ -122,13 +126,13 @@ def test_log(self, store_type):
122126
select.wait()
123127

124128
@pytest.mark.skip(reason="Too huge logs")
125-
@pytest.mark.parametrize("mode", ["row"])
126-
def test_simple_queue(self, mode: str):
127-
with Workload(f"grpc://localhost:{self.cluster.nodes[1].grpc_port}", "/Root", 180, mode) as workload:
129+
@pytest.mark.parametrize("store_type", ["row", "column"])
130+
def test_simple_queue(self, store_type: str):
131+
with Workload(f"grpc://localhost:{self.cluster.nodes[1].grpc_port}", "/Root", 180, store_type) as workload:
128132
for handle in workload.loop():
129133
handle()
130134

131-
@pytest.mark.parametrize("store_type", ["row"])
135+
@pytest.mark.parametrize("store_type", ["row", "column"])
132136
def test_kv(self, store_type):
133137
init_command_prefix = [
134138
yatest.common.binary_path(os.getenv("YDB_CLI_BINARY")),
@@ -198,7 +202,7 @@ def test_kv(self, store_type):
198202
yatest.common.execute(init_command, wait=True, stdout=self.output_f, stderr=self.output_f)
199203
yatest.common.execute(run_command, wait=True, stdout=self.output_f, stderr=self.output_f)
200204

201-
@pytest.mark.parametrize("store_type", ["row"])
205+
@pytest.mark.parametrize("store_type", ["row", "column"])
202206
def test_tpch1(self, store_type):
203207
init_command = [
204208
yatest.common.binary_path(os.getenv("YDB_CLI_BINARY")),
@@ -253,7 +257,7 @@ def test_tpch1(self, store_type):
253257
yatest.common.execute(run_command, wait=True, stdout=self.output_f, stderr=self.output_f)
254258

255259
@pytest.mark.skip(reason="Not stabilized yet")
256-
@pytest.mark.parametrize("store_type", ["row"])
260+
@pytest.mark.parametrize("store_type", ["row", "column"])
257261
def test_tpcds1(self, store_type):
258262
init_command = [
259263
yatest.common.binary_path(os.getenv("YDB_CLI_BINARY")),

0 commit comments

Comments
 (0)