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

Class TableScan

datafusion/expr/src/logical_plan/plan.rs:2770–2783  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2768/// Produces rows from a table provider by reference or from the context
2769#[derive(Clone)]
2770pub struct TableScan {
2771 /// The name of the table
2772 pub table_name: TableReference,
2773 /// The source of the table
2774 pub source: Arc<dyn TableSource>,
2775 /// Optional column indices to use as a projection
2776 pub projection: Option<Vec<usize>>,
2777 /// The schema description of the output
2778 pub projected_schema: DFSchemaRef,
2779 /// Optional expressions to be used as filters by the table provider
2780 pub filters: Vec<Expr>,
2781 /// Optional number of rows to read
2782 pub fetch: Option<usize>,
2783}
2784
2785impl Debug for TableScan {
2786 fn fmt(&self, f: &mut Formatter) -> fmt::Result {

Callers 13

with_new_exprsMethod · 0.85
test_filter_is_scalarFunction · 0.85
test_transform_explainFunction · 0.85
map_expressionsMethod · 0.85
from_table_sourceFunction · 0.85
test_csv_scan_with_nameFunction · 0.85
apply_projectionFunction · 0.85
rewriteMethod · 0.85
rewriteMethod · 0.85

Calls

no outgoing calls

Used in the wild real call sites across dependent graphs

searching dependent graphs…