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

Method ValidateSelectKOptions

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

Source from the content-addressed store, hash-verified

497 }
498
499 static Status ValidateSelectKOptions(const SelectKSinkNodeOptions& options) {
500 if (options.select_k_options.k <= 0) {
501 return Status::Invalid("`k` must be > 0");
502 }
503 return ValidateCommonOrderOptions(options);
504 }
505
506 Status InputReceived(ExecNode* input, ExecBatch batch) override {
507 auto scope = TraceInputReceived(batch);

Callers

nothing calls this directly

Calls 1

InvalidFunction · 0.50

Tested by

no test coverage detected