[
https://issues.apache.org/jira/browse/CALCITE-4143?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17166394#comment-17166394
]
liupengcheng commented on CALCITE-4143:
---------------------------------------
[~Aron.tao]
>See line 6, we only use job#name as a filter, we do not need to project that
>after the filter.
>After debugging, I found at first, the filter is above the project, it is
>reasonable at that time the project has "NAME", but after the >filter
>pushdown, the "NAME" needn't be projected.
I don't think so, the project here is helpful, it can avoid emit all the
underlying columns in the table(the so called 'ColumnPruning'), you should
clarify that the filter doesn't do the project, it emit all the columns or
fields just the same as the underlying input.
> Trim fields after XXProjectTransposeRule
> ----------------------------------------
>
> Key: CALCITE-4143
> URL: https://issues.apache.org/jira/browse/CALCITE-4143
> Project: Calcite
> Issue Type: Improvement
> Components: core
> Reporter: Jiatao Tao
> Assignee: Jiatao Tao
> Priority: Major
>
--
This message was sent by Atlassian Jira
(v8.3.4#803005)