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

Method UpdateTime

cpp/src/arrow/acero/asof_join_node.cc:302–306  ·  view source on GitHub ↗

Updates the current time to `ts` if it is less. Returns true if updated.

Source from the content-addressed store, hash-verified

300
301 // Updates the current time to `ts` if it is less. Returns true if updated.
302 bool UpdateTime(OnType ts) {
303 bool update = current_time_ < ts;
304 if (update) current_time_ = ts;
305 return update;
306 }
307
308 void Store(const std::shared_ptr<RecordBatch>& batch, row_index_t row, OnType time,
309 DEBUG_ADD(ByType key, OnType for_time)) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected