Skip to content

Commit

Permalink
Aggregate.go - fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
assaf758 authored Jun 20, 2024
2 parents d5fd8d3 + af8802f commit 6719dc5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/aggregate/aggregate.go
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ func SchemaFieldFromString(aggregates []string, col string) ([]config.SchemaFiel
} else {
field, ok := aggrToSchemaField[trimmed]
if !ok {
return nil, fmt.Errorf("invalid aggragator type '%s'", trimmed)
return nil, fmt.Errorf("invalid aggregator type '%s'", trimmed)
}
fieldList = append(fieldList, getAggrFullName(field, col))
}
Expand Down Expand Up @@ -179,7 +179,7 @@ func FromString(aggrString string) (AggrType, error) {
}
aggr, ok := aggrTypeString[trimmed]
if !ok {
return 0, fmt.Errorf("invalid aggragate type: %v", trimmed)
return 0, fmt.Errorf("invalid aggregate type: %v", trimmed)
}
return aggr, nil
}
Expand Down

0 comments on commit 6719dc5

Please sign in to comment.