Skip to content

Commit

Permalink
fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
ivanmorozov333 committed Jul 31, 2024
1 parent a2550a7 commit bd7af75
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions ydb/core/tx/schemeshard/ut_olap/ut_olap.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ static const TString defaultTableSchema = R"(
)";

static const TVector<NArrow::NTest::TTestColumn> defaultYdbSchema = {
NArrow::NTest::TTestColumn("timestamp", TTypeInfo(NTypeIds::Timestamp) ),
NArrow::NTest::TTestColumn("timestamp", TTypeInfo(NTypeIds::Timestamp).SetNullable(false) ),
NArrow::NTest::TTestColumn("data", TTypeInfo(NTypeIds::Utf8) )
};

Expand Down Expand Up @@ -713,7 +713,7 @@ Y_UNIT_TEST_SUITE(TOlap) {
TSet<ui64> txIds;
for (ui32 i = 0; i < 10; ++i) {
std::vector<ui64> writeIds;
NTxUT::WriteData(runtime, sender, shardId, ++writeId, pathId, data, defaultYdbSchema, &writeIds, NEvWrite::EModificationType::Upsert, { "timestamp" });
NTxUT::WriteData(runtime, sender, shardId, ++writeId, pathId, data, defaultYdbSchema, &writeIds, NEvWrite::EModificationType::Upsert);
NTxUT::ProposeCommit(runtime, sender, shardId, ++txId, writeIds);
txIds.insert(txId);
}
Expand All @@ -725,7 +725,7 @@ Y_UNIT_TEST_SUITE(TOlap) {

// trigger periodic stats at shard (after timeout)
std::vector<ui64> writeIds;
NTxUT::WriteData(runtime, sender, shardId, ++writeId, pathId, data, defaultYdbSchema, &writeIds, NEvWrite::EModificationType::Upsert, { "timestamp" });
NTxUT::WriteData(runtime, sender, shardId, ++writeId, pathId, data, defaultYdbSchema, &writeIds, NEvWrite::EModificationType::Upsert);
NTxUT::ProposeCommit(runtime, sender, shardId, ++txId, writeIds);
NTxUT::PlanCommit(runtime, sender, shardId, ++planStep, {txId});
}
Expand Down

0 comments on commit bd7af75

Please sign in to comment.