File tree 3 files changed +7
-3
lines changed
3 files changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -531,7 +531,7 @@ struct Schema : NIceDb::Schema {
531
531
struct Activity : Column<10 , NScheme::NTypeIds::Bool> {};
532
532
struct TierName : Column<11 , NScheme::NTypeIds::Utf8> {};
533
533
struct Stats : Column<12 , NScheme::NTypeIds::Utf8> {};
534
- struct Optimized : Column<13 , NScheme::NTypeIds::Bool > {};
534
+ struct RuntimeFeatures : Column<13 , NScheme::NTypeIds::Utf8 > {};
535
535
536
536
using TKey = TableKey<PathId, TabletId, PortionId>;
537
537
using TColumns = TableColumns<
@@ -547,7 +547,7 @@ struct Schema : NIceDb::Schema {
547
547
Activity,
548
548
TierName,
549
549
Stats,
550
- Optimized
550
+ RuntimeFeatures
551
551
>;
552
552
};
553
553
Original file line number Diff line number Diff line change @@ -185,6 +185,10 @@ class TPortionInfo {
185
185
return (RuntimeFeatures & (TRuntimeFeatures)feature);
186
186
}
187
187
188
+ TString GetRuntimeFeaturesDebugString () const {
189
+ return HasRuntimeFeature (ERuntimeFeature::Optimized) ? " Optimized" : " " ;
190
+ }
191
+
188
192
void FullValidation () const ;
189
193
190
194
bool HasIndexes (const std::set<ui32>& ids) const {
Original file line number Diff line number Diff line change @@ -32,7 +32,7 @@ void TStatsIterator::AppendStats(const std::vector<std::unique_ptr<arrow::ArrayB
32
32
auto statInfo = statReport.GetStringRobust ();
33
33
NArrow::Append<arrow::StringType>(*builders[11 ], arrow::util::string_view (statInfo.data (), statInfo.size ()));
34
34
35
- NArrow::Append<arrow::BooleanType >(*builders[12 ], portion.HasRuntimeFeature (TPortionInfo::ERuntimeFeature::Optimized ));
35
+ NArrow::Append<arrow::StringType >(*builders[12 ], portion.GetRuntimeFeaturesDebugString ( ));
36
36
}
37
37
38
38
ui32 TStatsIterator::PredictRecordsCount (const NAbstract::TGranuleMetaView& granule) const {
You can’t perform that action at this time.
0 commit comments