Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add bytes fetched in query frontend #37

Merged
merged 7 commits into from
May 18, 2024

Conversation

yuchen-db
Copy link

@yuchen-db yuchen-db commented May 17, 2024

add title
port forward querier and run query frontend locally

  • I added CHANGELOG entry for this change.
  • Change is not relevant to the end user.

Changes

Verification

@yuchen-db yuchen-db requested review from a team, christopherzli, jnyi and hczhu-db and removed request for a team May 17, 2024 18:08
for _, resp := range responses {
for _, hdr := range resp.GetHeaders() {
if hdr.GetName() == QueryBytesFetchedHeaderName {
for _, v := range hdr.Values {
Copy link
Collaborator

@jnyi jnyi May 17, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

curious why a header will have an array of values?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Collaborator

@jnyi jnyi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nice, would you test if the bronson page show bytes fetched from m3 backend?

@yuchen-db
Copy link
Author

nice, would you test if the bronson page show bytes fetched from m3 backend?

do we need to modify the frontend code to show it on the UI? or in the header is enough?

@yuchen-db yuchen-db requested a review from jnyi May 17, 2024 21:59
@christopherzli
Copy link

nice, would you test if the bronson page show bytes fetched from m3 backend?

do we need to modify the frontend code to show it on the UI? or in the header is enough?

the header should be enough

@yuchen-db yuchen-db requested a review from hczhu-db May 17, 2024 23:44
Copy link
Collaborator

@jnyi jnyi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thank you for working on this, please consider adding one unit test

@yuchen-db yuchen-db merged commit 9299649 into databricks:db_main May 18, 2024
12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants