Skip to content

Commit 38d009f

Browse files
committed
fix orderby
1 parent e6cff63 commit 38d009f

File tree

1 file changed

+3
-1
lines changed
  • flex/engines/graph_db/runtime/execute/ops/retrieve

1 file changed

+3
-1
lines changed

flex/engines/graph_db/runtime/execute/ops/retrieve/order_by.cc

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,9 @@ std::pair<std::unique_ptr<IReadOperator>, ContextMeta> OrderByOprBuilder::Build(
8888
keys.emplace_back(pair.key(), asc);
8989
}
9090

91-
const auto [key, order] = keys[0];
91+
const auto key = keys[0].first;
92+
const auto order = keys[0].second;
93+
9294
auto func = [key, order, upper](const Context& ctx)
9395
-> std::optional<std::function<std::optional<std::vector<size_t>>(
9496
const GraphReadInterface& graph, const Context& ctx)>> {

0 commit comments

Comments
 (0)