Ted-Jiang opened a new pull request #2063:
URL: https://github.com/apache/arrow-datafusion/pull/2063
# Which issue does this PR close?
Closes #2021.
# Rationale for this change
Thanks @alamb 's desgin to decouple between explain and planNode, No need
to change `tableScan` struct.
Now
```
❯ explain select c1, c2 from test where c2 = 0.000001;
+---------------+------------------------------------------------------------------------------------------------------------------------------------------------------+
| plan_type | plan
|
+---------------+------------------------------------------------------------------------------------------------------------------------------------------------------+
| logical_plan | Projection: #test.c1, #test.c2
|
| | Filter: #test.c2 = Float64(0.000001)
|
| | TableScan: test projection=Some([0, 1]),
partial_filters=[#test.c2 = Float64(0.000001)]
|
| physical_plan | ProjectionExec: expr=[c1@0 as c1, c2@1 as c2]
|
| | CoalesceBatchesExec: target_batch_size=4096
|
| | FilterExec: CAST(c2@1 AS Float64) = 0.000001
|
| | RepartitionExec: partitioning=RoundRobinBatch(16)
|
| | CsvExec:
files=[/Users/yangjiang/CLionProjects/github/arrow-datafusion/testing/data/csv/aggregate_test_100.csv],
has_header=true, limit=None |
| |
|
+---------------+------------------------------------------------------------------------------------------------------------------------------------------------------+
2 rows in set. Query took 0.004 seconds.
```
# What changes are included in this PR?
plan tree node `TableScan`
# Are there any user-facing changes?
<!--
If there are any breaking changes to public APIs, please add the `api
change` label.
-->
--
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]