Dandandan commented on code in PR #20160:
URL: https://github.com/apache/datafusion/pull/20160#discussion_r2807877494
##########
datafusion/common/src/config.rs:
##########
@@ -1115,6 +1115,34 @@ config_namespace! {
/// See:
<https://trino.io/docs/current/admin/dynamic-filtering.html#dynamic-filter-collection-thresholds>
pub hash_join_inlist_pushdown_max_distinct_values: usize, default = 150
+ /// Minimum number of rows to process before making a selectivity
decision
+ /// for adaptive filtering of join dynamic filters.
+ ///
+ /// The filter will remain in a tracking state until this many rows
have been
+ /// processed. This ensures statistical stability before making the
disable decision.
+ /// Only used when `enable_adaptive_filter_selectivity_tracking` is
true.
+ pub adaptive_filter_min_rows_for_selectivity: usize, default = 100_000
+
+ /// Selectivity threshold for adaptive disabling of join dynamic
filters.
Review Comment:
This looks now for any filter, no?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]