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

Method scan_with_args

datafusion/catalog/src/cte_worktable.rs:93–103  ·  view source on GitHub ↗
(
        &self,
        _state: &dyn Session,
        args: ScanArgs<'a>,
    )

Source from the content-addressed store, hash-verified

91 }
92
93 async fn scan_with_args<'a>(
94 &self,
95 _state: &dyn Session,
96 args: ScanArgs<'a>,
97 ) -> Result<ScanResult> {
98 Ok(ScanResult::new(Arc::new(WorkTableExec::new(
99 self.name.clone(),
100 Arc::clone(&self.table_schema),
101 args.projection().map(|p| p.to_vec()),
102 )?)))
103 }
104
105 fn supports_filters_pushdown(
106 &self,

Callers 1

scanMethod · 0.45

Calls 5

newFunction · 0.85
to_vecMethod · 0.80
cloneMethod · 0.45
mapMethod · 0.45
projectionMethod · 0.45

Tested by

no test coverage detected