Skip to content

Comments

[HUDI-6095] Refactor the judgment condition of WorkloadProfile#8491

Merged
danny0405 merged 3 commits intoapache:masterfrom
huangxiaopingRD:HUDI-6095-workloadProfile
May 7, 2023
Merged

[HUDI-6095] Refactor the judgment condition of WorkloadProfile#8491
danny0405 merged 3 commits intoapache:masterfrom
huangxiaopingRD:HUDI-6095-workloadProfile

Conversation

@huangxiaopingRD
Copy link
Contributor

Change Logs

Remove the isWorkloadProfileNeeded which is always return true

Impact

No

Risk level (write none, low medium or high below)

None

Documentation Update

Contributor's checklist

  • Read through contributor's guide
  • Change Logs and Impact were stated clearly
  • Adequate tests were added if applicable
  • CI passed

protected boolean isWorkloadProfileNeeded() {
return true;
}

Copy link
Contributor

Choose a reason for hiding this comment

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

There is no use case for it to return false right?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

yes, it always returns true in all code.

Copy link
Contributor

@danny0405 danny0405 left a comment

Choose a reason for hiding this comment

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

+1, guess this is a legacy code.

@danny0405
Copy link
Contributor

@hudi-bot run azure

1 similar comment
@danny0405
Copy link
Contributor

@hudi-bot run azure

@huangxiaopingRD huangxiaopingRD force-pushed the HUDI-6095-workloadProfile branch from a7e4751 to f116e9c Compare April 20, 2023 02:50
@huangxiaopingRD huangxiaopingRD force-pushed the HUDI-6095-workloadProfile branch from 3305fe5 to e14ff9c Compare April 20, 2023 03:03
@huangxiaopingRD
Copy link
Contributor Author

gently ping @danny0405

@hudi-bot
Copy link
Collaborator

hudi-bot commented May 6, 2023

CI report:

Bot commands @hudi-bot supports the following commands:
  • @hudi-bot run azure re-run the last Azure build

@danny0405 danny0405 merged commit ec9cb3c into apache:master May 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

3 participants