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 {
13
13
std::shared_ptr<TSimplePortionsGroupInfo> PortionsInfo = std::make_shared<TSimplePortionsGroupInfo>();
14
14
15
15
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;
23
17
const std::shared_ptr<IStoragesManager> StoragesManager;
24
18
const std::shared_ptr<arrow::Schema> PrimaryKeysSchema;
25
19
virtual std::vector<TTaskDescription> DoGetTasksDescription () const override {
You can’t perform that action at this time.
0 commit comments