Skip to content

Commit

Permalink
Fix JNI deprecation of all, put it on the wrong version before (#7501)
Browse files Browse the repository at this point in the history
A while ago I deprecated the API that I wanted to keep and didn't do the one that should go away. This fixes that.

Authors:
  - Robert (Bobby) Evans (@revans2)

Approvers:
  - Jason Lowe (@jlowe)

URL: #7501
  • Loading branch information
revans2 authored Mar 3, 2021
1 parent 2f1feaa commit 5bd6f94
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions java/src/main/java/ai/rapids/cudf/ColumnView.java
Original file line number Diff line number Diff line change
Expand Up @@ -1106,9 +1106,7 @@ public Scalar any(DType outType) {
* Returns a boolean scalar that is true if all of the elements in
* the column are true or non-zero otherwise false.
* Null values are skipped.
* @deprecated the only output type supported is BOOL8.
*/
@Deprecated
public Scalar all() {
return all(DType.BOOL8);
}
Expand All @@ -1118,7 +1116,9 @@ public Scalar all() {
* if all of the elements in the column are true or non-zero
* otherwise false or 0.
* Null values are skipped.
* @deprecated the only output type supported is BOOL8.
*/
@Deprecated
public Scalar all(DType outType) {
return reduce(Aggregation.all(), outType);
}
Expand Down

0 comments on commit 5bd6f94

Please sign in to comment.