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
The existing java Scalar API for nulls fromNull returns an incomplete typed scalar for lists. fromNull only takes a DType to try and construct a null scalar, but for nested types a DType does not describe enough information. A LIST of STRING is very different from a LIST of INT32. The on device buffers are not different, but the metadata on the CPU is. That information is lost when creating the scalar. We really should just throw an exception in these cases. Instead we should have listFromColumnView check to see if the single row is null or not and go off of that instead.
The text was updated successfully, but these errors were encountered:
Describe the bug
The existing java Scalar API for nulls
fromNull
returns an incomplete typed scalar for lists.fromNull
only takes a DType to try and construct a null scalar, but for nested types a DType does not describe enough information. A LIST of STRING is very different from a LIST of INT32. The on device buffers are not different, but the metadata on the CPU is. That information is lost when creating the scalar. We really should just throw an exception in these cases. Instead we should havelistFromColumnView
check to see if the single row is null or not and go off of that instead.The text was updated successfully, but these errors were encountered: