holicc commented on PR #11035:
URL: https://github.com/apache/datafusion/pull/11035#issuecomment-2283073156

   I found a problem here. When we use a dynamic file source, it makes the 
logical plan resolve the relations using the file path, which makes the logical 
plan unreadable.
   
   ```
   Projection: 
./test/arrow-datafusion/datafusion/common/../../testing/data/csv/aggregate_test_100.csv.c1,
 
MIN(./test/arrow-datafusion/datafusion/common/../../testing/data/csv/aggregate_test_100.csv.c12),
 
MAX(./test/arrow-datafusion/datafusion/common/../../testing/data/csv/aggregate_test_100.csv.c12)
     Aggregate: 
groupBy=[[./test/arrow-datafusion/datafusion/common/../../testing/data/csv/aggregate_test_100.csv.c1]],
 
aggr=[[MIN(./test/arrow-datafusion/datafusion/common/../../testing/data/csv/aggregate_test_100.csv.c12),
 
MAX(./test/arrow-datafusion/datafusion/common/../../testing/data/csv/aggregate_test_100.csv.c12)]]
       Filter: 
./test/arrow-datafusion/datafusion/common/../../testing/data/csv/aggregate_test_100.csv.c11
 > Float64(0.1) AND 
./test/arrow-datafusion/datafusion/common/../../testing/data/csv/aggregate_test_100.csv.c11
 < Float64(0.9)
         TableScan: 
./test/arrow-datafusion/datafusion/common/../../testing/data/csv/aggregate_test_100.csv
   ```
   
   Is there any way we can improve this?


-- 
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: github-unsubscr...@datafusion.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: github-unsubscr...@datafusion.apache.org
For additional commands, e-mail: github-h...@datafusion.apache.org

Reply via email to