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 HashAggregation Replayer #11176

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

duanmeng
Copy link
Collaborator

@duanmeng duanmeng commented Oct 6, 2024

Records input in HashAggregation and AggregationReplayer to support the replaying.

part of #9668

@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 Oct 6, 2024
Copy link

netlify bot commented Oct 6, 2024

Deploy Preview for meta-velox canceled.

Name Link
🔨 Latest commit f051233
🔍 Latest deploy log https://app.netlify.com/sites/meta-velox/deploys/670480e2b76a180008203af7

@duanmeng duanmeng force-pushed the agg_replayer branch 3 times, most recently from e332b68 to 204b90a Compare October 6, 2024 13:21
Copy link
Contributor

@xiaoxmeng xiaoxmeng left a comment

Choose a reason for hiding this comment

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

@duanmeng LGTM % nits. Thanks!

static std::string usage();

protected:
virtual core::PlanNodePtr createPlan() const = 0;
private:
Copy link
Contributor

Choose a reason for hiding this comment

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

protected?

const auto* replayNode = core::PlanNode::findFirstNode(
planFragment_.get(),
[this](const core::PlanNode* node) { return node->id() == nodeId_; });
const auto traceRoot = fmt::format("{}/{}", rootDir_, taskId_);
Copy link
Contributor

Choose a reason for hiding this comment

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

s/traceRoot/traceDir/

static core::PlanNodePtr createTableWrtierNode(
const core::TableWriteNode* node,
const std::string& targetDir,
core::PlanNodePtr createRepalyNode(
Copy link
Contributor

Choose a reason for hiding this comment

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

s/createRepalyNode/createPlanNode/

@facebook-github-bot
Copy link
Contributor

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

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.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants