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

Method ValidateCommonOrderOptions

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

Source from the content-addressed store, hash-verified

465 }
466
467 static Status ValidateCommonOrderOptions(const SinkNodeOptions& options) {
468 if (options.backpressure.should_apply_backpressure()) {
469 return Status::Invalid("Backpressure cannot be applied on an ordering sink node");
470 }
471 return ValidateOptions(options);
472 }
473
474 static Status ValidateOrderByOptions(const OrderBySinkNodeOptions& options) {
475 if (options.sort_options.sort_keys.empty()) {

Callers

nothing calls this directly

Calls 2

InvalidFunction · 0.50
ValidateOptionsFunction · 0.50

Tested by

no test coverage detected