Skip to content

Commit

Permalink
expression: Replace initialzied with initialized (#46208)
Browse files Browse the repository at this point in the history
  • Loading branch information
yahonda committed Aug 18, 2023
1 parent 0dad9f2 commit deba2b0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions expression/builtin_grouping.go
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,7 @@ func (b *BuiltinGroupingImplSig) grouping(groupingID uint64) int64 {
// evalInt evals a builtinGroupingSig.
func (b *BuiltinGroupingImplSig) evalInt(row chunk.Row) (int64, bool, error) {
if !b.isMetaInited {
return 0, false, errors.Errorf("Meta data is not initialzied")
return 0, false, errors.Errorf("Meta data is not initialized")
}
// grouping function should be rewritten from raw column ref to built gid column and groupingMarks meta.
groupingID, isNull, err := b.args[0].EvalInt(b.ctx, row)
Expand Down Expand Up @@ -261,7 +261,7 @@ func (b *BuiltinGroupingImplSig) groupingVec(groupingIds *chunk.Column, rowNum i

func (b *BuiltinGroupingImplSig) vecEvalInt(input *chunk.Chunk, result *chunk.Column) error {
if !b.isMetaInited {
return errors.Errorf("Meta data is not initialzied")
return errors.Errorf("Meta data is not initialized")
}
rowNum := input.NumRows()

Expand Down

0 comments on commit deba2b0

Please sign in to comment.