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

fix: Fix operator finishTiming metrics #12316

Closed

Conversation

zhli1142015
Copy link
Contributor

@zhli1142015 zhli1142015 commented Feb 13, 2025

Issue: We record the execution time of nextOp->noMoreInput() to op's
finishTiming metrics. This issue is noticeable in the OrderBy, Window, and
HashBuild operators, where computationally intensive tasks are executed within
the noMoreInput() function—for example, sorting occurs in noMoreInput(). As
a result, the recorded wall time is incorrectly added to upstream operators.

@facebook-github-bot facebook-github-bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Feb 13, 2025
Copy link

netlify bot commented Feb 13, 2025

Deploy Preview for meta-velox canceled.

Name Link
🔨 Latest commit f4e7228
🔍 Latest deploy log https://app.netlify.com/sites/meta-velox/deploys/67adab0f37e91a0008c28e2c

@zhli1142015
Copy link
Contributor Author

@pedroerp @xiaoxmeng @Yuhta could you please help review this? Thanks.

@Yuhta Yuhta added the ready-to-merge PR that have been reviewed and are ready for merging. PRs with this tag notify the Velox Meta oncall label Feb 13, 2025
@facebook-github-bot
Copy link
Contributor

@pedroerp has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator.

@facebook-github-bot
Copy link
Contributor

@pedroerp merged this pull request in 8ed7b0b.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. Merged ready-to-merge PR that have been reviewed and are ready for merging. PRs with this tag notify the Velox Meta oncall
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants