good first issue
仓库指标
- Star
- (4,937 star)
- PR 合并指标
- (平均合并 6天 7小时) (30 天内合并 186 个 PR)
描述
/tables/{tableName}/metadata endpoint should take an additional parameter such as excludeReplacedSegments as found in getSegments in order to discern between reporting stats with consistent push accounted for or not.
Currently, the table returns TableMetadata with info such as diskSizeInBytes, numSegments and numRows approximately doubled when consistent push is in-place, and users who are unaware of the consistent push concept may incorrectly interpret the result, e.g. leading to provisioning 2x the storage by mistake.
This should be done in a backward compatible manner, with the default behavior being the current one if the additional param is not explicitly set.