[
https://issues.apache.org/jira/browse/DRILL-8245?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17553288#comment-17553288
]
ASF GitHub Bot commented on DRILL-8245:
---------------------------------------
vvysotskyi opened a new pull request, #2572:
URL: https://github.com/apache/drill/pull/2572
# [DRILL-8245](https://issues.apache.org/jira/browse/DRILL-8245): Project
pushdown depends on rules order and might not happen
## Description
Fixed `DrillScanRel` cost to prefer scan with the pushed project columns and
removed a hack of adding a dynamic star to columns for the case of creating
`DrillScanRel` using scan rule, so dependency on rules order is removed.
This change exposed another bug in httpd plugin, for some cases, it was
dependent on the presence of a dynamic star, though a specific column was
selected, fixed this issue here also.
## Documentation
NA
## Testing
All unit tests pass.
> Project pushdown depends on rules order and might not happen
> ------------------------------------------------------------
>
> Key: DRILL-8245
> URL: https://issues.apache.org/jira/browse/DRILL-8245
> Project: Apache Drill
> Issue Type: Bug
> Reporter: Vova Vysotskyi
> Assignee: Vova Vysotskyi
> Priority: Major
>
> When the ProjectRomoveRule deletes the project before applying the rule that
> pushes the project to scan, Drill converts scan to DrillScanRel and adds
> explicitly star column so all columns will be read.
--
This message was sent by Atlassian Jira
(v8.20.7#820007)