From d1f922f8a78073536f81288d038e5d48a1b19bef Mon Sep 17 00:00:00 2001 From: vlad-gogov Date: Wed, 11 Sep 2024 22:28:10 +0300 Subject: [PATCH] Update test KqpOlapSysView::DisabledAlterCompression --- ydb/core/kqp/ut/olap/sys_view_ut.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/ydb/core/kqp/ut/olap/sys_view_ut.cpp b/ydb/core/kqp/ut/olap/sys_view_ut.cpp index 581384ba4450..aa275ff81d6d 100644 --- a/ydb/core/kqp/ut/olap/sys_view_ut.cpp +++ b/ydb/core/kqp/ut/olap/sys_view_ut.cpp @@ -225,6 +225,9 @@ Y_UNIT_TEST_SUITE(KqpOlapSysView) { TTypedLocalHelper helper("", kikimr, "olapTable", "olapStore"); helper.CreateTestOlapTable(); helper.FillPKOnly(0, 1); + helper.ExecuteSchemeQuery( + "ALTER OBJECT `/Root/olapStore/olapTable` (TYPE TABLE) SET (ACTION=ALTER_COLUMN, NAME=pk_int, " + "`SERIALIZER.CLASS_NAME`=`ARROW_SERIALIZER`, `COMPRESSION.TYPE`=`zstd`);", NYdb::EStatus::SCHEME_ERROR); helper.ExecuteSchemeQuery( "ALTER OBJECT `/Root/olapStore` (TYPE TABLESTORE) SET (ACTION=ALTER_COLUMN, NAME=pk_int, " "`SERIALIZER.CLASS_NAME`=`ARROW_SERIALIZER`, `COMPRESSION.TYPE`=`zstd`);", NYdb::EStatus::PRECONDITION_FAILED);