Skip to content

Commit

Permalink
planner: fix dropping non-ScalarFunction when extractCol for memtable (
Browse files Browse the repository at this point in the history
  • Loading branch information
zhongzc authored Feb 1, 2023
1 parent ab1e576 commit 74e936c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions planner/core/memtable_predicate_extractor.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 74e936c

Please sign in to comment.