[BUG] [JNI] Unknown scalar type: STRUCT in Scalar.toString
Open
0 - Backlog
bug
Java
- Dominant language
- C++
- Stars
- 9.8k
- Forks
- 1.1k
- Avg merge
- 3d 6m
- Merged PRs (30d)
- 278
Description
We are not able to call `toString` on a struct type `Scalar`, making working with the type hard during debug sessions, as we cannot log or debug these types:
```
scala> val emptyStructCol = ColumnVector.makeStruct(100)
scala> emptyStructCol.max()
java.lang.IllegalArgumentException: Unknown scalar type: STRUCT
at ai.rapids.cudf.Scalar.toString(Scalar.java:879)
at scala.runtime.ScalaRunTime$.inner$1(ScalaRunTime.scala:250)
at scala.runtime.ScalaRunTime$.stringOf(ScalaRunTime.scala:255)
at scala.runtime.ScalaRunTime$.replStringOf(ScalaRunTime.scala:263)
```
Contributor guide
Assessment
This issue has not been assessed yet.