MCPcopy Create free account
hub / github.com/apache/arrow / ValidateOrderByOptions

Method ValidateOrderByOptions

cpp/src/arrow/acero/sink_node.cc:474–479  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

472 }
473
474 static Status ValidateOrderByOptions(const OrderBySinkNodeOptions& options) {
475 if (options.sort_options.sort_keys.empty()) {
476 return Status::Invalid("At least one sort key should be specified");
477 }
478 return ValidateCommonOrderOptions(options);
479 }
480
481 // A sink node that receives inputs and then compute top_k/bottom_k.
482 static Result<ExecNode*> MakeSelectK(ExecPlan* plan, std::vector<ExecNode*> inputs,

Callers

nothing calls this directly

Calls 2

InvalidFunction · 0.50
emptyMethod · 0.45

Tested by

no test coverage detected