fix: fix DescribeCollection always returning db_id = 0 (#46092)

fix: #46089

Signed-off-by: huanghaoyuanhhy <haoyuan.huang@zilliz.com>
This commit is contained in:
huanghaoyuanhhy 2025-12-12 20:03:14 +08:00 committed by GitHub
parent d24cd6200b
commit addb66f89c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -931,6 +931,7 @@ func (t *describeCollectionTask) Execute(ctx context.Context) error {
t.result.Aliases = result.Aliases
t.result.Properties = result.Properties
t.result.DbName = result.GetDbName()
t.result.DbId = result.GetDbId()
t.result.NumPartitions = result.NumPartitions
t.result.UpdateTimestamp = result.UpdateTimestamp
t.result.UpdateTimestampStr = result.UpdateTimestampStr