MCPcopy Create free account
hub / github.com/apache/datafusion / extend

Method extend

datafusion/expr/src/window_state.rs:281–285  ·  view source on GitHub ↗
(&mut self, batch: &RecordBatch)

Source from the content-addressed store, hash-verified

279 }
280
281 pub fn extend(&mut self, batch: &RecordBatch) -> Result<()> {
282 self.record_batch =
283 concat_batches(&self.record_batch.schema(), [&self.record_batch, batch])?;
284 Ok(())
285 }
286
287 pub fn set_most_recent_row(&mut self, batch: RecordBatch) {
288 // It is enough for the batch to contain only a single row (the rest

Callers 15

get_excluded_columnsFunction · 0.45
expand_wildcardFunction · 0.45
collect_subquery_colsFunction · 0.45
newMethod · 0.45
newMethod · 0.45
newMethod · 0.45
lit_with_metadataFunction · 0.45
test_accept_exprsFunction · 0.45
to_fieldMethod · 0.45
newMethod · 0.45
get_valid_types_with_udfFunction · 0.45

Calls 1

schemaMethod · 0.45

Tested by 1

test_accept_exprsFunction · 0.36