Skip to content

Add numConsumingSegmentsProcessed and numConsumingSegmentsMatched into the query response metadata #7144

@Jackie-Jiang

Description

@Jackie-Jiang

Currently we have the following metadata in the query response:

  • numSegmentsQueried: number of segments queried by the broker
  • numSegmentsProcessed: number of segments processed after the server-side segment pruning
  • numSegmentsMatched: number of segments that has records matched
  • numConsumingSegmentsQueried: number of consuming segments queried by the broker

We want to also add numConsumingSegmentsProcessed and numConsumingSegmentsMatched to the query response metadata.

Note: In the DataTable.MetadataKeys, we mistakenly use NUM_CONSUMING_SEGMENTS_PROCESSED to represent the numConsumingSegmentsQueried

Metadata

Metadata

Assignees

Labels

beginner-taskSmall task for new contributors to ramp up

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions