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

ui: Add Query Nagging for Sampling #1468

Merged
merged 30 commits into from
Jun 27, 2024
Merged

Conversation

zhangvi7
Copy link
Contributor

@zhangvi7 zhangvi7 commented Jun 25, 2024

Context

During query runs, if it is taking more than 10 seconds and the query could be sampled, we show a suggestion to users that they can cancel their current query and run a sampled version instead.

Test Plan

naggingtest

@zhangvi7 zhangvi7 requested review from jczhong84, czgu and kgopal492 June 25, 2024 16:22
@zhangvi7 zhangvi7 self-assigned this Jun 25, 2024
docId={docId}
key={selectedExecution.id}
changeCellContext={changeCellContext}
onSamplingInfoClick={onSamplingInfoClick}
Copy link
Contributor Author

@zhangvi7 zhangvi7 Jun 27, 2024

Choose a reason for hiding this comment

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

Only change in this file was passing 2 props here, rest is auto formatted changes

@zhangvi7
Copy link
Contributor Author

  • Removed rerun button + updated styling
  • Updated test plan screenshot

@zhangvi7 zhangvi7 requested a review from czgu June 27, 2024 17:00
@zhangvi7 zhangvi7 requested a review from jczhong84 June 27, 2024 20:30
@zhangvi7 zhangvi7 merged commit 11caa51 into pinterest:master Jun 27, 2024
3 checks passed
@zhangvi7 zhangvi7 deleted the query-nagging branch June 27, 2024 21:20
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.

3 participants