mirror of https://github.com/milvus-io/milvus.git
Add aliases return value in describeCollection task (#17516)
Signed-off-by: xingzhao <xing.zhao@zilliz.com> Co-authored-by: 赵星 <zhaoxing@zhaoxings-MacBook-Pro.local>pull/17538/head
parent
a0d3f37c0d
commit
e9dcda161f
|
@ -979,6 +979,7 @@ func (dct *describeCollectionTask) Execute(ctx context.Context) error {
|
|||
dct.result.CreatedUtcTimestamp = result.CreatedUtcTimestamp
|
||||
dct.result.ShardsNum = result.ShardsNum
|
||||
dct.result.ConsistencyLevel = result.ConsistencyLevel
|
||||
dct.result.Aliases = result.Aliases
|
||||
for _, field := range result.Schema.Fields {
|
||||
if field.FieldID >= common.StartOfUserFieldID {
|
||||
dct.result.Schema.Fields = append(dct.result.Schema.Fields, &schemapb.FieldSchema{
|
||||
|
|
Loading…
Reference in New Issue