Skip to content

Commit

Permalink
[Go]: Fix return wrong error (#92)
Browse files Browse the repository at this point in the history
Signed-off-by: sunby <[email protected]>
  • Loading branch information
sunby committed Nov 22, 2023
1 parent a6a00c8 commit 85425ba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion go/storage/schema/schema.go
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ func (s *Schema) BuildDeleteSchema() error {
}
versionField, ok := s.schema.FieldsByName(s.options.VersionColumn)
if !ok {
return ErrPrimaryColumnNotFound
return ErrVersionColumnNotFound
}
fields := make([]arrow.Field, 0, 2)
fields = append(fields, pkColumn[0])
Expand Down

0 comments on commit 85425ba

Please sign in to comment.