Skip to content

Commit

Permalink
fix orderby
Browse files Browse the repository at this point in the history
  • Loading branch information
liulx20 committed Jan 15, 2025
1 parent e6cff63 commit 38d009f
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,9 @@ std::pair<std::unique_ptr<IReadOperator>, ContextMeta> OrderByOprBuilder::Build(
keys.emplace_back(pair.key(), asc);
}

const auto [key, order] = keys[0];
const auto key = keys[0].first;
const auto order = keys[0].second;

auto func = [key, order, upper](const Context& ctx)
-> std::optional<std::function<std::optional<std::vector<size_t>>(
const GraphReadInterface& graph, const Context& ctx)>> {
Expand Down

0 comments on commit 38d009f

Please sign in to comment.