[
https://issues.apache.org/jira/browse/FLINK-15556?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17015486#comment-17015486
]
hailong wang commented on FLINK-15556:
--------------------------------------
Yes, I think only the same tablesource can be reuse. For different tablesources
may have different fields, type and description, so the digests are also
different. If the plan has different tablesources, it is better to control one
tablesource whether to push down fields or not. If we add a swich, it will
affects all tablesources.
But, I have no idea where to add a table hint, in the with properties?
> Add a switch for PushProjectIntoTableSourceScanRule
> ---------------------------------------------------
>
> Key: FLINK-15556
> URL: https://issues.apache.org/jira/browse/FLINK-15556
> Project: Flink
> Issue Type: Improvement
> Components: Table SQL / Planner
> Affects Versions: 1.10.0
> Reporter: hailong wang
> Priority: Minor
> Fix For: 1.11.0
>
>
> In some case, For the project push down, The digest of tableSource maybe
> different. For example, If we create a jdbc tablesource, and is used twice
> after it for different column, the source can not be reused for the different
> digest. In this case, the query io will more precious, So we can add a switch
> to turn off project push down, and the reused the source.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)