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

Function get_query_path

benchmarks/src/clickbench.rs:113–117  ·  view source on GitHub ↗

Get the SQL file path

(query_dir: &Path, query: usize)

Source from the content-addressed store, hash-verified

111
112/// Get the SQL file path
113pub fn get_query_path(query_dir: &Path, query: usize) -> PathBuf {
114 let mut query_path = query_dir.to_path_buf();
115 query_path.push(format!("q{query}.sql"));
116 query_path
117}
118
119/// Get the SQL statement from the specified query file
120pub fn get_query_sql(query_path: &Path) -> Result<Option<String>> {

Callers 1

runMethod · 0.85

Calls 1

pushMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…