NVIDIA / NVIDIA/cudf

[BUG][JNI] java.lang.IllegalArgumentException: Unknown scalar type: STRUCT

Open
#14,855 0 comments 0 reactions 0 assignees View on GitHub
bug Java
Dominant language
C++
Stars
9.8k
Forks
1.1k
Avg merge
3d 6m
Merged PRs (30d)
278

Description

**Describe the bug**
cuDF Java supports creating Scalar types to represent structs, but printing them for debug purposes causes an exception.

```
java.lang.IllegalArgumentException: Unknown scalar type: STRUCT
```

**Steps/Code to reproduce bug**
Create a scalar using `Scalar.structFromNull` or `Scalar.structFromColumnViews` and then call its `toString` method or try and print it using `System.out.println`

**Expected behavior**
Should print some useful debug info as per other scalar types, rather than throw an exception.

**Environment overview (please complete the following information)**
N/A

**Environment details**

**Additional context**

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.