Closed drmingdrmer closed 2 weeks ago
I hereby agree to the terms of the CLA available at: https://docs.databend.com/dev/policies/cla/
mget_id_value_compat([names]) fetch a list of name->id->value from meta-service with exact 2 mget() operations.
mget_id_value_compat([names])
name->id->value
This method can be used to optimize batch get operations. For example to get a list of (DatabaseNameIdent, DatabaseId, DatabaseMeta).
(DatabaseNameIdent, DatabaseId, DatabaseMeta)
This method requires the id type to be a Id<xxxId> type.
Id<xxxId>
This change isโ
I hereby agree to the terms of the CLA available at: https://docs.databend.com/dev/policies/cla/
Summary
refactor: add mget_id_value_compat()
mget_id_value_compat([names])
fetch a list ofname->id->value
from meta-service with exact 2 mget() operations.This method can be used to optimize batch get operations. For example to get a list of
(DatabaseNameIdent, DatabaseId, DatabaseMeta)
.This method requires the id type to be a
Id<xxxId>
type.Tests
Type of change
Related Issues
This change isโ