From 5cee1b17a3a6994cda0c35ab1947b2f00c28c8e2 Mon Sep 17 00:00:00 2001 From: Yang Jiang Date: Thu, 11 Jan 2024 10:19:37 +0800 Subject: [PATCH] Update datafusion/core/src/physical_optimizer/pruning.rs Co-authored-by: Andrew Lamb --- datafusion/core/src/physical_optimizer/pruning.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/datafusion/core/src/physical_optimizer/pruning.rs b/datafusion/core/src/physical_optimizer/pruning.rs index cc84353c4296..1102cbd3b4a4 100644 --- a/datafusion/core/src/physical_optimizer/pruning.rs +++ b/datafusion/core/src/physical_optimizer/pruning.rs @@ -936,7 +936,7 @@ const MAX_LIST_VALUE_SIZE_REWRITE: usize = 20; /// /// Returns the pruning predicate as an [`PhysicalExpr`] /// -/// Notice: For [`phys_expr::InListExpr`] if in list values more than 20, it will be rewritten to TRUE +/// Notice: Does not handle [`phys_expr::InListExpr`] greater than 20, which will be rewritten to TRUE fn build_predicate_expression( expr: &Arc, schema: &Schema,