mirror of https://github.com/milvus-io/milvus.git
[skip e2e] Add comment for internal/storage.PayloadWriter (#13993)
Signed-off-by: shaoyue.chen <shaoyue.chen@zilliz.com>pull/14008/head
parent
ec91866a5c
commit
cd410c6069
|
@ -89,6 +89,7 @@ func NewPayloadWriter(colType schemapb.DataType) (*PayloadWriter, error) {
|
|||
return &PayloadWriter{payloadWriterPtr: w, colType: colType}, nil
|
||||
}
|
||||
|
||||
// AddDataToPayload adds @msgs into payload, if @msgs is vector, dimension should be specified by @dim
|
||||
func (w *PayloadWriter) AddDataToPayload(msgs interface{}, dim ...int) error {
|
||||
switch len(dim) {
|
||||
case 0:
|
||||
|
|
Loading…
Reference in New Issue