Skip to content

Commit

Permalink
refactor read data
Browse files Browse the repository at this point in the history
Signed-off-by: shaoting-huang <[email protected]>
  • Loading branch information
shaoting-huang committed Jun 17, 2024
1 parent b1cf6ab commit 1fb1893
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/storage/payload_writer.go
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,7 @@ func (w *NativePayloadWriter) AddInt16ToPayload(data []int16) error {
}

if len(data) == 0 {
return errors.New("can't add empty msgs into int16 payload")
return errors.New("can't add empty msgs into int64 payload")
}

builder, ok := w.builder.(*array.Int16Builder)
Expand Down

0 comments on commit 1fb1893

Please sign in to comment.