jiangjiangtian opened a new pull request, #11331:
URL: https://github.com/apache/incubator-gluten/pull/11331

   ## What changes are proposed in this pull request?
   This PR introduces a new class named `ArrowColumnarArray`. Its 
implementation is copied from Spark-3.5, except that the `handleNull` parameter 
is set to true when we call `SpecializedGettersReader.read` in `get`, which 
means that when trying to access a value of array, it will check whether the 
value is null first. So this can avoid throwing exception when we try to access 
a null value of array.
   Besides, this PR introduces another new class named `ArrowColumnarMap`. This 
class defines two fields of type `ArrowColumnarArray` to represent keys and 
values, separately. With this class, we can also avoid throwing exception when 
we try to access a null value of map.
   
   ## How was this patch tested?
   unit tests.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to