This is an automated email from the ASF dual-hosted git repository.

caogaofei pushed a commit to branch rc/1.3.3
in repository https://gitbox.apache.org/repos/asf/iotdb-client-go.git

commit a9ebffb10a46018dfb4ee6f99477aea31dcc9b32
Author: Beyyes <[email protected]>
AuthorDate: Mon Nov 4 16:06:50 2024 +0800

    fix error of insertAlignedTablets
---
 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,

Reply via email to