diff --git a/planner/core/memtable_predicate_extractor.go b/planner/core/memtable_predicate_extractor.go index b4fa83d335a36..07ad325f92163 100644 --- a/planner/core/memtable_predicate_extractor.go +++ b/planner/core/memtable_predicate_extractor.go @@ -210,6 +210,7 @@ func (helper extractHelper) extractCol( for _, expr := range predicates { fn, ok := expr.(*expression.ScalarFunction) if !ok { + remained = append(remained, expr) continue } var colName string