From 223b9e0a7ad47e8dbb422b2623be9327a9fa20cb Mon Sep 17 00:00:00 2001 From: Beyyes Date: Mon, 4 Nov 2024 16:32:15 +0800 Subject: [PATCH] fix error of insertAlignedTablets (#108) --- client/session.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/session.go b/client/session.go index 288faf0..2859d8c 100644 --- a/client/session.go +++ b/client/session.go @@ -884,7 +884,7 @@ func (s *Session) genInsertTabletsReq(tablets []*Tablet, isAligned bool) (*rpc.T valuesList[index] = values timestampsList[index] = tablet.GetTimestampBytes() typesList[index] = tablet.getDataTypes() - sizeList[index] = int32(tablet.maxRowNumber) + sizeList[index] = int32(tablet.RowSize) } request := rpc.TSInsertTabletsReq{ SessionId: s.sessionId,