question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Add `numConsumingSegmentsProcessed` and `numConsumingSegmentsMatched` into the query response metadata

See original GitHub issue

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

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:5 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
Jackie-Jiangcommented, Jul 20, 2022

@ravishankar15 Yes, reopened it

0reactions
jackjllicommented, Jul 20, 2022

Oops, when I merged the PR, the issue is closed automatically. Thanks @Jackie-Jiang for reopening it!

Read more comments on GitHub >

github_iconTop Results From Across the Web

4. Metadata Design - REST API Design Rulebook [Book]
In responses, this header is important for two reasons. ... Therefore, the REST API interprets the request as an insert and creates a...
Read more >
ResponseMetaData | Google Analytics Data API
Stay organized with collections Save and categorize content based on your preferences. Response's metadata carrying additional information ...
Read more >
Metadata with GenerateAnswer API - QnA Maker
QnA Maker lets you add metadata, in the form of key/value pairs, to your question/answer pairs. You can filter results to user queries, ......
Read more >
What are the best practices to add metadata to a RESTful ...
You have several means to pass metadata in a RESTful API: Http Status Code; Headers; Response Body. For the metadata.status, use the Http ......
Read more >
Retrieve instance metadata - Amazon Elastic Compute Cloud
A request for a general metadata resource (the URI ends with a /) returns a list of available resources, or a 404 -...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found