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

Method Validate

cpp/src/arrow/acero/fetch_node.cc:128–137  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

126 }
127
128 Status Validate() const override {
129 ARROW_RETURN_NOT_OK(ExecNode::Validate());
130 if (inputs_[0]->ordering().is_unordered()) {
131 return Status::Invalid(
132 "Fetch node's input has no meaningful ordering and so limit/offset will be "
133 "non-deterministic. Please establish order in some way (e.g. by inserting an "
134 "order_by node)");
135 }
136 return Status::OK();
137 }
138
139 Status StartProducing() override {
140 NoteStartProducing(ToStringExtra());

Callers

nothing calls this directly

Calls 3

ValidateFunction · 0.85
InvalidFunction · 0.50
OKFunction · 0.50

Tested by

no test coverage detected