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

Method path_str

datafusion-examples/src/utils/datasets/mod.rs:51–59  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

49 }
50
51 pub fn path_str(&self) -> Result<String> {
52 let path = self.path();
53 path.to_str().map(String::from).ok_or_else(|| {
54 DataFusionError::Execution(format!(
55 "CSV directory path is not valid UTF-8: {}",
56 path.display()
57 ))
58 })
59 }
60
61 pub fn schema(&self) -> SchemaRef {
62 match self {

Callers 15

query_parquetFunction · 0.45
simple_plan_to_sql_demoFunction · 0.45
planner_apiFunction · 0.45
query_parquet_demoFunction · 0.45
read_parquetFunction · 0.45
register_cars_test_dataFunction · 0.45

Calls 2

pathMethod · 0.45
mapMethod · 0.45

Tested by 1