chenkovsky opened a new pull request, #15693: URL: https://github.com/apache/datafusion/pull/15693
## Which issue does this PR close? - Closes #15688. ## Rationale for this change There are two issues. 1. projection in scan table is dropped in try_transform_to_simple_table_scan_with_filters 2. projection in selectbuilder can only be setted once. it's ok if there's a projection plan outside, but for dataframe api or optimized logical plan. it's not always true. for join expression, we need to add selected expressions from left plan, and selected expressions from right plan. ## What changes are included in this PR? 1. add projection in try_transform_to_simple_table_scan_with_filters 2. enable setting projection in selectbuilder twice for join logical plan. ## Are these changes tested? UT ## Are there any user-facing changes? No -- 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