Hi, the existant configuration 'table.optimizer.source.predicate-pushdown-enabled' seems to do what you want. Can you describe more clearly the difference between what you want and this configuration ?
-- Best! Xuyang At 2023-10-24 14:12:14, "Jiabao Sun" <jiabao....@xtransfer.cn.INVALID> wrote: >Hi Devs, > >I would like to start a discussion on support configuration to disable filter >pushdown for Table/SQL Sources[1]. > >Currently, Flink SQL does not support the ability for users to enable or >disable filter pushdown. >However, filter pushdown has some side effects, such as additional >computational pressure on external systems. >Moreover, Improper queries can lead to issues such as full table scans, which >in turn can impact the stability of external systems. > >I propose to support configuration to disable filter push down for Table/SQL >sources to let user decide whether to perform filter pushdown. > >Looking forward to your feedback. > >[1] >https://docs.google.com/document/d/1QsbOi9InvmfwFr8YbrnnXOKLPnb8JnqhXIMbGd68SFU/edit?usp=sharing > >Best, >Jiabao