Ted-Jiang commented on issue #2021:
URL:
https://github.com/apache/arrow-datafusion/issues/2021#issuecomment-1069166428
@alamb, I think explain will print all `LogicalPlan` fields
Q1: is it ok add new field in `table_scan` like
```
pub struct TableScan {
/// The name of the table
pub table_name: String,
/// The source of the table
pub source: Arc<dyn TableProvider>,
/// Optional column indices to use as a projection
pub projection: Option<Vec<usize>>,
/// The schema description of the output
pub projected_schema: DFSchemaRef,
/// Optional expressions to be used as filters by the table provider
pub filters: Vec<Expr>,
/// Optional limit to skip reading
pub limit: Option<usize>,
/// Filter push down type (new added)
pub filter_push_down:TableProviderFilterPushDown,
}
```
Q2: If this is ok, there will be multiple filter expr in one `table_scan` ,
we should print all of them, right?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]