You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
GpuSequence blows up when nulls exist in any of the inputs (start, stop, step), e.g.
Caused by: ai.rapids.cudf.CudfException: cuDF failure at: ../src/lists/sequences.cu:148: steps input column must not have nulls.
at ai.rapids.cudf.ColumnVector.sequences(Native Method)
at ai.rapids.cudf.ColumnVector.sequence(ColumnVector.java:533)
Steps/Code to reproduce bug
Launch a Spark shell with GPU support, and run Seq((1, 2), (3, 4)).toDF.repartition(1).selectExpr("*", "sequence(_1, _2, null)").show
Expected behavior
We should keep align with what Spark does for null cases.
The text was updated successfully, but these errors were encountered:
Describe the bug
GpuSequence blows up when nulls exist in any of the inputs (start, stop, step), e.g.
but Spark just returns nulls.
Steps/Code to reproduce bug
Launch a Spark shell with GPU support, and run
Seq((1, 2), (3, 4)).toDF.repartition(1).selectExpr("*", "sequence(_1, _2, null)").show
Expected behavior
We should keep align with what Spark does for null cases.
The text was updated successfully, but these errors were encountered: