diff --git a/cdc/sink/codec/craft/model.go b/cdc/sink/codec/craft/model.go index 61ea83098f1..823f96e642a 100644 --- a/cdc/sink/codec/craft/model.go +++ b/cdc/sink/codec/craft/model.go @@ -498,7 +498,7 @@ func (b *RowChangedEventBuffer) Size() int { return b.estimatedSize } -// Number of rows batched in this buffer +// RowsCount return Number of rows batched in this buffer func (b *RowChangedEventBuffer) RowsCount() int { return b.eventsCount }