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

Function query

datafusion-examples/examples/sql_ops/query.rs:38–42  ·  view source on GitHub ↗

Examples of various ways to execute queries using SQL [`query_memtable`]: a simple query against a [`MemTable`] [`query_parquet`]: a simple query against a directory with multiple Parquet files

()

Source from the content-addressed store, hash-verified

36/// [`query_memtable`]: a simple query against a [`MemTable`]
37/// [`query_parquet`]: a simple query against a directory with multiple Parquet files
38pub async fn query() -> Result<()> {
39 query_memtable().await?;
40 query_parquet().await?;
41 Ok(())
42}
43
44/// Run a simple query against a [`MemTable`]
45pub async fn query_memtable() -> Result<()> {

Callers 1

runMethod · 0.70

Calls 2

query_memtableFunction · 0.85
query_parquetFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…