| 2768 | /// Produces rows from a table provider by reference or from the context |
| 2769 | #[derive(Clone)] |
| 2770 | pub 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 | |
| 2785 | impl Debug for TableScan { |
| 2786 | fn fmt(&self, f: &mut Formatter) -> fmt::Result { |
no outgoing calls
searching dependent graphs…