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

Function get_exec

datafusion/core/src/datasource/file_format/csv.rs:632–642  ·  view source on GitHub ↗
(
        state: &dyn Session,
        file_name: &str,
        projection: Option<Vec<usize>>,
        limit: Option<usize>,
        has_header: bool,
    )

Source from the content-addressed store, hash-verified

630 }
631
632 async fn get_exec(
633 state: &dyn Session,
634 file_name: &str,
635 projection: Option<Vec<usize>>,
636 limit: Option<usize>,
637 has_header: bool,
638 ) -> Result<Arc<dyn ExecutionPlan>> {
639 let root = format!("{}/csv", arrow_test_data());
640 let format = CsvFormat::default().with_has_header(has_header);
641 scan_format(state, &format, None, &root, file_name, projection, limit).await
642 }
643
644 #[tokio::test]
645 async fn test_csv_serializer() -> Result<()> {

Callers 3

read_small_batchesFunction · 0.70
read_limitFunction · 0.70
read_char_columnFunction · 0.70

Calls 2

scan_formatFunction · 0.85
with_has_headerMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…