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
While working on a test for issue #11736. I see failures with below stack trace when booleans that have nullable=false are passed into structs with nullable=true .
Caused by: ai.rapids.cudf.CudfException: CUDF failure at: /home/jenkins/agent/workspace/jenkins-spark-rapids-jni-release-4-cuda12/thirdparty/cudf/cpp/src/io/orc/writer_impl.cu:586: Mismatch in metadata prescribed nullability and input column. Metadata for input column with nulls cannot prescribe nullability = false
E at ai.rapids.cudf.Table.writeORCChunk(Native Method)
E at ai.rapids.cudf.Table.access$1300(Table.java:41)
E at ai.rapids.cudf.Table$ORCTableWriter.write(Table.java:2038)
E at com.nvidia.spark.rapids.ColumnarOutputWriter.$anonfun$encodeAndBufferToHost$1(ColumnarOutputWriter.scala:205)
E at com.nvidia.spark.rapids.ColumnarOutputWriter.$anonfun$encodeAndBufferToHost$1$adapted(ColumnarOutputWriter.scala:196)
E at com.nvidia.spark.rapids.Arm$.withResource(Arm.scala:30)
E at com.nvidia.spark.rapids.ColumnarOutputWriter.encodeAndBufferToHost(ColumnarOutputWriter.scala:196)
E at com.nvidia.spark.rapids.ColumnarOutputWriter.$anonfun$bufferBatchAndClose$2(ColumnarOutputWriter.scala:180)
E at com.nvidia.spark.rapids.ColumnarOutputWriter.$anonfun$bufferBatchAndClose$2$adapted(ColumnarOutputWriter.scala:179)
Steps/Code to reproduce bug orc_write_test.py , pass BooleanGen(nullable=False) to StructGen and run the tests.
mattahrens
changed the title
[BUG] Nullable bools in a struct that is not-nullable fails
[BUG] Non-nullable bools in a nullable struct fails
Nov 26, 2024
Describe the bug
While working on a test for issue #11736. I see failures with below stack trace when booleans that have
nullable=false
are passed into structs withnullable=true
.Steps/Code to reproduce bug
orc_write_test.py
, passBooleanGen(nullable=False)
toStructGen
and run the tests.Run command :
Expected behavior
Not error, fallback or ideally allow for Spark parity with nullables being reflected thru the metadata field.
Environment details (please complete the following information)
The text was updated successfully, but these errors were encountered: