Skip to content

Commit

Permalink
fix range typo
Browse files Browse the repository at this point in the history
  • Loading branch information
loicalleyne committed Jan 17, 2025
1 parent e134319 commit 541ba51
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bufarrow.go
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ func (s *Schema[T]) Schema() *arrow.Schema {
func (s *Schema[T]) FieldNames() []string {
var fieldNames []string
fieldNames = make([]string, 0, len(s.msg.schema.Fields()))
for _, f := s.msg.schema.Fields() {
for _, f := range s.msg.schema.Fields() {
fieldNames = append(fieldNames, f.Name)
}
return fieldNames
Expand Down

0 comments on commit 541ba51

Please sign in to comment.