@@ -331,11 +331,6 @@ class TTableDescription::TImpl {
331
331
TtlSettings_ = std::move (*ttlSettings);
332
332
}
333
333
334
- // tiering
335
- if (proto.tiering ().size ()) {
336
- Tiering_ = proto.tiering ();
337
- }
338
-
339
334
if (proto.store_type ()) {
340
335
StoreType_ = (proto.store_type () == Ydb::Table::STORE_TYPE_COLUMN) ? EStoreType::Column : EStoreType::Row;
341
336
}
@@ -407,9 +402,7 @@ class TTableDescription::TImpl {
407
402
}
408
403
409
404
for (const auto & shardStats : Proto_.table_stats ().partition_stats ()) {
410
- PartitionStats_.emplace_back (
411
- TPartitionStats{shardStats.rows_estimate (), shardStats.store_size (), shardStats.leader_node_id ()}
412
- );
405
+ PartitionStats_.emplace_back (TPartitionStats{ shardStats.rows_estimate (), shardStats.store_size (), shardStats.leader_node_id () });
413
406
}
414
407
415
408
TableStats.Rows = Proto_.table_stats ().rows_estimate ();
@@ -566,10 +559,6 @@ class TTableDescription::TImpl {
566
559
return TtlSettings_;
567
560
}
568
561
569
- const std::optional<std::string>& GetTiering () const {
570
- return Tiering_;
571
- }
572
-
573
562
EStoreType GetStoreType () const {
574
563
return StoreType_;
575
564
}
@@ -650,7 +639,6 @@ class TTableDescription::TImpl {
650
639
std::vector<TIndexDescription> Indexes_;
651
640
std::vector<TChangefeedDescription> Changefeeds_;
652
641
std::optional<TTtlSettings> TtlSettings_;
653
- std::optional<std::string> Tiering_;
654
642
std::string Owner_;
655
643
std::vector<NScheme::TPermissions> Permissions_;
656
644
std::vector<NScheme::TPermissions> EffectivePermissions_;
@@ -718,7 +706,7 @@ std::optional<TTtlSettings> TTableDescription::GetTtlSettings() const {
718
706
}
719
707
720
708
std::optional<std::string> TTableDescription::GetTiering () const {
721
- return Impl_-> GetTiering () ;
709
+ return std::nullopt ;
722
710
}
723
711
724
712
EStoreType TTableDescription::GetStoreType () const {
@@ -941,10 +929,6 @@ void TTableDescription::SerializeTo(Ydb::Table::CreateTableRequest& request) con
941
929
ttl->SerializeTo (*request.mutable_ttl_settings ());
942
930
}
943
931
944
- if (const auto & tiering = Impl_->GetTiering ()) {
945
- request.set_tiering (TStringType{tiering.value ()});
946
- }
947
-
948
932
if (Impl_->GetStoreType () == EStoreType::Column) {
949
933
request.set_store_type (Ydb::Table::StoreType::STORE_TYPE_COLUMN);
950
934
}
0 commit comments