You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by "HaoYang670 (via GitHub)" <gi...@apache.org> on 2023/02/07 05:41:29 UTC

[GitHub] [arrow-datafusion] HaoYang670 commented on a diff in pull request #5188: bugfix: fix `TableScan` may contain fields not included in `schema`

HaoYang670 commented on code in PR #5188:
URL: https://github.com/apache/arrow-datafusion/pull/5188#discussion_r1098186569


##########
datafusion/optimizer/src/push_down_projection.rs:
##########
@@ -291,6 +291,10 @@ fn optimize_plan(
         // scans:
         // * remove un-used columns from the scan projection
         LogicalPlan::TableScan(scan) => {
+            // filter expr mayn't exist in expr in projection.

Review Comment:
   ```suggestion
               // filter expr may not exist in expr in projection.
   ```



-- 
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-unsubscribe@arrow.apache.org

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