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

Function execute

datafusion/core/tests/sql/mod.rs:142–144  ·  view source on GitHub ↗

Execute query and return result set as 2-d table of Vecs `result[row][column]`

(ctx: &SessionContext, sql: &str)

Source from the content-addressed store, hash-verified

140/// Execute query and return result set as 2-d table of Vecs
141/// `result[row][column]`
142async fn execute(ctx: &SessionContext, sql: &str) -> Vec<Vec<String>> {
143 result_vec(&execute_to_batches(ctx, sql).await)
144}
145
146/// Execute SQL and return results
147async fn execute_with_partition(

Callers 4

csv_explain_verboseFunction · 0.70

Calls 2

result_vecFunction · 0.85
execute_to_batchesFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…