Uh oh!
There was an error while loading. Please reload this page.
GH-36240: [Python] Refactor CumulativeSumOptions to a separate class for independent deprecation - #36977
Conversation
Hi, reviewers,here are two choices to handle the problem the PR can't pass
|
danepitkin
left a comment
There was a problem hiding this comment.
For the failing test, we can just add an explicit check for CumulativeSumOptions == CumulativeOptions. We can add a TODO comment to remove the check when the deprecated class is removed.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
danepitkin
commented
Aug 11, 2023
One suggestion, otherwise LGTM! Nice work! I'll add an Arrow committer to the reviewer's list. |
Co-authored-by: Dane Pitkin <48041712+danepitkin@users.noreply.github.com>
AlenkaF
left a comment
There was a problem hiding this comment.
LGTM +1
Just a small nitpick suggestion for clearer understanding of the TODO, then I will merge 👍
Uh oh!
There was an error while loading. Please reload this page.
Co-authored-by: Alenka Frim <AlenkaF@users.noreply.github.com>
AlenkaF
commented
Aug 22, 2023
Thanks! |
After merging your PR, Conbench analyzed the 6 benchmarking runs that have been run so far on merge-commit fe750ed. There were no benchmark performance regressions. 🎉 The full Conbench report has more details. It also includes information about possible false positives for unstable benchmarks that are known to sometimes produce them. |
…eSumOptions refactor (#37305) ### Rationale for this change Merging of #36977 caused a CI failure due to a test giving a warning. ### What changes are included in this PR? Add a `filterwarnings` mark to the failing tests. This also tests the deprecation message. ### Are these changes tested? Yes. ### Are there any user-facing changes? No. * Closes: #37303 Authored-by: AlenkaF <frim.alenka@gmail.com> Signed-off-by: Joris Van den Bossche <jorisvandenbossche@gmail.com>
…class for independent deprecation (apache#36977) **Rationale for this change** As apache#36240 says, we refactor CumulativeSumOptions to a separate class. **What changes are included in this PR?** - independent CumulativeSumOptions - the original simple test before apache#32190 - fix a typo in CumulativeOptions **Are these changes tested?** No. Actually, the PR can't pass the `test_option_class_equality` in test_compute.py ([Error example](https://github.com/apache/arrow/actions/runs/5728571658/job/15523443371?pr=36977)). Cause CumulativeSumOptions's C++ part is also CumulativeOptions.  **Are there any user-facing changes?** No. Closes: apache#36240 * Closes: apache#36240 Lead-authored-by: Junming Chen <junming.chen.r@outlook.com> Co-authored-by: Dane Pitkin <48041712+danepitkin@users.noreply.github.com> Co-authored-by: Alenka Frim <AlenkaF@users.noreply.github.com> Signed-off-by: AlenkaF <frim.alenka@gmail.com>
…ulativeSumOptions refactor (apache#37305) ### Rationale for this change Merging of apache#36977 caused a CI failure due to a test giving a warning. ### What changes are included in this PR? Add a `filterwarnings` mark to the failing tests. This also tests the deprecation message. ### Are these changes tested? Yes. ### Are there any user-facing changes? No. * Closes: apache#37303 Authored-by: AlenkaF <frim.alenka@gmail.com> Signed-off-by: Joris Van den Bossche <jorisvandenbossche@gmail.com>
Rationale for this change
As #36240 says, we refactor CumulativeSumOptions to a separate class.
What changes are included in this PR?
Are these changes tested?

No.
Actually, the PR can't pass the
test_option_class_equalityin test_compute.py (Error example). Cause CumulativeSumOptions's C++ part is also CumulativeOptions.Are there any user-facing changes?
No.
Closes: #36240