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, including details regarding any error messages, version, and platform.
When a nullable type is being decoded (String?, Int8?, Int32?...) the doDecode check will always return nil as nullable type is not convertible to a non null type (Int8? != Int8).
Adding IsNull methods to the decoder class to resolve this issue.
Component(s)
Swift
The text was updated successfully, but these errors were encountered:
### Rationale for this change
There is an issue when decoding nullable types. The previous method of checking for nil values always returned false for nullable types due too the ArrowArray types being non nullable.
### What changes are included in this PR?
This PR adds a IsNull method to the ArrowDecoder to be used for null checks. Also, a check for nullable types has been added to the Unkeyed decode method.
### Are these changes tested?
Yes, tests have been added/modified to test this fix.
* GitHub Issue: #42041
Authored-by: Alva Bandy <[email protected]>
Signed-off-by: Sutou Kouhei <[email protected]>
Describe the bug, including details regarding any error messages, version, and platform.
When a nullable type is being decoded (String?, Int8?, Int32?...) the doDecode check will always return nil as nullable type is not convertible to a non null type (Int8? != Int8).
Adding IsNull methods to the decoder class to resolve this issue.
Component(s)
Swift
The text was updated successfully, but these errors were encountered: