Skip to content

Conversation

@MaxGekk
Copy link
Member

@MaxGekk MaxGekk commented Oct 25, 2022

What changes were proposed in this pull request?

In the PR, I propose to fix a typo by renaming the error class INCORRECT_RUMP_UP_RATE to INCORRECT_RAMP_UP_RATE, and rename the method incorrectRumpUpRate() to incorrectRampUpRate().

Why are the changes needed?

To don't confuse user, and fix the typo.

Does this PR introduce any user-facing change?

No. The error class hasn't released yet.

How was this patch tested?

By running the affected tests:

$ build/sbt "test:testOnly *RateStreamProviderSuite"
$ build/sbt "core/testOnly *SparkThrowableSuite"

@MaxGekk
Copy link
Member Author

MaxGekk commented Oct 25, 2022

cc @khalidmammadov

@khalidmammadov
Copy link
Contributor

khalidmammadov commented Oct 25, 2022

Sorry for the typo... and thanks a lot for fixing!

Shall we change function name as well?

@MaxGekk
Copy link
Member Author

MaxGekk commented Oct 25, 2022

Shall we change function name as well?

Sure, I'll rename it too. Thanks.

@MaxGekk
Copy link
Member Author

MaxGekk commented Oct 26, 2022

@cloud-fan @HyukjinKwon @srielau Are you ok with the trivial changes? If so, please, approve the PR.

@MaxGekk
Copy link
Member Author

MaxGekk commented Oct 26, 2022

Merging the trivial changes to master. Thank you, @khalidmammadov for review.

Copy link
Contributor

@itholic itholic left a comment

Choose a reason for hiding this comment

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

LGTM

@MaxGekk MaxGekk closed this in b59b9e1 Oct 26, 2022
SandishKumarHN pushed a commit to SandishKumarHN/spark that referenced this pull request Dec 12, 2022
…P_RATE`

### What changes were proposed in this pull request?
In the PR, I propose to fix a typo by renaming the error class INCORRECT_RUMP_UP_RATE to INCORRECT_RAMP_UP_RATE, and rename the method `incorrectRumpUpRate()` to `incorrectRampUpRate()`.

### Why are the changes needed?
To don't confuse user, and fix the typo.

### Does this PR introduce _any_ user-facing change?
No. The error class hasn't released yet.

### How was this patch tested?
By running the affected tests:
```
$ build/sbt "test:testOnly *RateStreamProviderSuite"
$ build/sbt "core/testOnly *SparkThrowableSuite"
```

Closes apache#38391 from MaxGekk/rename-INCORRECT_RUMP_UP_RATE.

Authored-by: Max Gekk <[email protected]>
Signed-off-by: Max Gekk <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants