Skip to content

Commit

Permalink
Merge branch '1.2-dev' into fix_duplicated_counting_row_size_to_1.2
Browse files Browse the repository at this point in the history
  • Loading branch information
mergify[bot] authored Jun 25, 2024
2 parents afd2b80 + e99f2a0 commit 4ebee28
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion pkg/vm/engine/disttae/util.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ import (
"bytes"
"context"
"fmt"
"regexp"
"strings"

"github.com/matrixorigin/matrixone/pkg/catalog"
Expand Down Expand Up @@ -674,8 +675,11 @@ func ConstructPKFilters(tableDef *plan.TableDef, dbName string,
return
}

// TODO(ghs) workaround for special tables, remove later
var specialPattern *regexp.Regexp = regexp.MustCompile(`mo_tables|mo_database|_mo_columns`)

func constructBasePKFilter(expr *plan.Expr, tblDef *plan.TableDef, proc *process.Process) (filter BasePKFilter) {
if expr == nil {
if expr == nil || specialPattern.MatchString(tblDef.Name) {
return
}

Expand Down

0 comments on commit 4ebee28

Please sign in to comment.