taiyang-li commented on issue #8021:
URL: 
https://github.com/apache/incubator-gluten/issues/8021#issuecomment-2492687320

   Reason: orc  requires `offsets[i+1] == offset[i]` when the i-th row is null 
in `MapVectorBatch`, otherwise the written orc batch is not consistent with CH 
column. So is `ListVectorBatch`.  But in CH, the nullable map column returned 
from function `str_to_map` maybe like:
   
   ```
   | nullmap | offsets | keys |
   |---------|---------|------|
   | 1       | 2      | [k1, k2]  |
   | 1       | 4      | [k3, k4]  |
   | 0       | 6      | [k5, k6]  |
   | 1       | 8      | [k7, k8]  |
   ```
   


-- 
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