File tree Expand file tree Collapse file tree 2 files changed +6
-1
lines changed
core/tx/columnshard/engines/insert_table
library/formats/arrow/modifier Expand file tree Collapse file tree 2 files changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -25,7 +25,8 @@ class TInsertedDataMeta {
2525
2626public:
2727 ui64 GetTxVolume () const {
28- return 2 * sizeof (ui64) + sizeof (ui32) + sizeof (OriginalProto) + (SpecialKeysParsed ? SpecialKeysParsed->GetMemoryBytes () : 0 );
28+ return 512 + 2 * sizeof (ui64) + sizeof (ui32) + sizeof (OriginalProto) + (SpecialKeysParsed ? SpecialKeysParsed->GetMemoryBytes () : 0 ) +
29+ SchemaSubset.GetTxVolume ();
2930 }
3031
3132 TInsertedDataMeta (const NKikimrTxColumnShard::TLogicalMetadata& proto)
Original file line number Diff line number Diff line change @@ -14,6 +14,10 @@ class TSchemaSubset {
1414 TSchemaSubset () = default ;
1515 TSchemaSubset (const std::set<ui32>& fieldsIdx, const ui32 fieldsCount);
1616
17+ ui64 GetTxVolume () const {
18+ return FieldBits.size () + FieldIdx.size () * sizeof (ui32) + 1 ;
19+ }
20+
1721 static TSchemaSubset AllFieldsAccepted () {
1822 TSchemaSubset result;
1923 result.Exclude = true ;
You can’t perform that action at this time.
0 commit comments