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

[SPARK-38100][SQL] Remove unused private method in Decimal #35392

Closed
wants to merge 1 commit into from

Conversation

LuciferYang
Copy link
Contributor

What changes were proposed in this pull request?

There is an unused private method overflowException in org.apache.spark.sql.types.Decimal, this method add by SPARK-28741 and the relevant invocations are replaced by QueryExecutionErrors.castingCauseOverflowError directly after SPARK-35060. So this pr remove this unused method.

Why are the changes needed?

Remove unused method.

Does this PR introduce any user-facing change?

No

How was this patch tested?

Pass GA

@github-actions github-actions bot added the SQL label Feb 3, 2022
@huaxingao huaxingao closed this in 7a613ec Feb 3, 2022
huaxingao pushed a commit that referenced this pull request Feb 3, 2022
### What changes were proposed in this pull request?
There is an unused `private` method `overflowException` in `org.apache.spark.sql.types.Decimal`, this method add by SPARK-28741 and  the relevant invocations are replaced by `QueryExecutionErrors.castingCauseOverflowError` directly after SPARK-35060. So this pr remove this unused method.

### Why are the changes needed?
Remove unused method.

### Does this PR introduce _any_ user-facing change?
No

### How was this patch tested?
Pass GA

Closes #35392 from LuciferYang/SPARK-38100.

Authored-by: yangjie01 <yangjie01@baidu.com>
Signed-off-by: huaxingao <huaxin_gao@apple.com>
(cherry picked from commit 7a613ec)
Signed-off-by: huaxingao <huaxin_gao@apple.com>
@huaxingao
Copy link
Contributor

Thanks! Merged to master/3.2.

@LuciferYang
Copy link
Contributor Author

thanks

kazuyukitanimura pushed a commit to kazuyukitanimura/spark that referenced this pull request Aug 10, 2022
### What changes were proposed in this pull request?
There is an unused `private` method `overflowException` in `org.apache.spark.sql.types.Decimal`, this method add by SPARK-28741 and  the relevant invocations are replaced by `QueryExecutionErrors.castingCauseOverflowError` directly after SPARK-35060. So this pr remove this unused method.

### Why are the changes needed?
Remove unused method.

### Does this PR introduce _any_ user-facing change?
No

### How was this patch tested?
Pass GA

Closes apache#35392 from LuciferYang/SPARK-38100.

Authored-by: yangjie01 <yangjie01@baidu.com>
Signed-off-by: huaxingao <huaxin_gao@apple.com>
(cherry picked from commit 7a613ec)
Signed-off-by: huaxingao <huaxin_gao@apple.com>
(cherry picked from commit 4cd3fd3)
@LuciferYang LuciferYang deleted the SPARK-38100 branch October 22, 2023 07:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
2 participants