From ec91866a5cf5520d82ed09a82340b58b56aeaf74 Mon Sep 17 00:00:00 2001 From: shaoyue Date: Wed, 22 Dec 2021 19:31:51 +0800 Subject: [PATCH] [skip e2e] Add comment for internal/storage.Int8FieldData (#13992) Signed-off-by: shaoyue.chen --- internal/storage/data_codec.go | 1 + 1 file changed, 1 insertion(+) diff --git a/internal/storage/data_codec.go b/internal/storage/data_codec.go index 5cf6365d15..33845cb909 100644 --- a/internal/storage/data_codec.go +++ b/internal/storage/data_codec.go @@ -187,6 +187,7 @@ func (data *BoolFieldData) GetMemorySize() int { return binary.Size(data.NumRows) + binary.Size(data.Data) } +// GetMemorySize implements FieldData.GetMemorySize func (data *Int8FieldData) GetMemorySize() int { return binary.Size(data.NumRows) + binary.Size(data.Data) }