File tree Expand file tree Collapse file tree 1 file changed +1
-7
lines changed
ydb/core/tx/columnshard/engines/storage/optimizer/lcbuckets/planner Expand file tree Collapse file tree 1 file changed +1
-7
lines changed Original file line number Diff line number Diff line change @@ -13,13 +13,7 @@ class TOptimizerPlanner: public IOptimizerPlanner {
1313 std::shared_ptr<TSimplePortionsGroupInfo> PortionsInfo = std::make_shared<TSimplePortionsGroupInfo>();
1414
1515 std::vector<std::shared_ptr<IPortionsLevel>> Levels;
16- class TReverseSorting {
17- public:
18- bool operator ()(const ui64 l, const ui64 r) const {
19- return r < l;
20- }
21- };
22- std::map<ui64, std::shared_ptr<IPortionsLevel>, TReverseSorting> LevelsByWeight;
16+ std::map<ui64, std::shared_ptr<IPortionsLevel>, std::greater<ui64>> LevelsByWeight;
2317 const std::shared_ptr<IStoragesManager> StoragesManager;
2418 const std::shared_ptr<arrow::Schema> PrimaryKeysSchema;
2519 virtual std::vector<TTaskDescription> DoGetTasksDescription () const override {
You can’t perform that action at this time.
0 commit comments