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

Function get_batches

datafusion/core/tests/dataframe/dataframe_functions.rs:78–80  ·  view source on GitHub ↗

Executes an expression on the test dataframe as a select.

(expr: Expr)

Source from the content-addressed store, hash-verified

76
77/// Executes an expression on the test dataframe as a select.
78async fn get_batches(expr: Expr) -> Result<Vec<RecordBatch>> {
79 get_batches_with_limit(expr, 10).await
80}
81
82async fn get_batches_with_limit(expr: Expr, limit: usize) -> Result<Vec<RecordBatch>> {
83 let df = create_test_table().await?;

Callers 15

test_fn_bit_lengthFunction · 0.85
test_fn_btrim_with_charsFunction · 0.85
test_fn_nullifFunction · 0.85
test_fn_arrow_castFunction · 0.85
test_nvlFunction · 0.85
test_nvl2Function · 0.85
test_nvl2_short_circuitFunction · 0.85
test_fn_arrow_typeofFunction · 0.85
test_fn_structFunction · 0.85
test_fn_named_structFunction · 0.85
test_fn_coalesceFunction · 0.85
test_fn_character_lengthFunction · 0.85

Calls 1

get_batches_with_limitFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…