Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

OptionTypeDefault value
source.aggregate-push-down.enabledBooleantrue
...Booleantrue


Add a new source ability options in the TableSourceOptions class.

Code Block
languagejava
@PublicEvolving
public class TableSourceOptions {


    public static final ConfigOption<String> ENABLE_FILTER_PUSH_DOWN =
            key("source.filter-push-down.enabled")
                    .booleanType()
                    .defaultValue(true)
                    .withDescription("Whether to enable filter push down.");
    ......
}


Proposed Changes

For sources that need to support disabling filter pushdown, it is necessary to check this configuration in the applyFilters method to determine whether to perform predicate pushdown.

...