| 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()) { |
nothing calls this directly
no test coverage detected