harshmotw-db commented on PR #7778:
URL: https://github.com/apache/arrow-rs/pull/7778#issuecomment-3006563563

   The difference I am seeing is that when creating a Variant out of the JSON 
string `"{\"numbers\": [4, -3e0, 1.001], \"null\": null, \"booleans\": [true, 
false]}"`, I am seeing `"null"` get an ID of 0 and `"numbers"` get an ID of 1. 
In Spark, I would expect `"numbers"` to get an ID of zero since it is the first 
key.
   
   Adding `self.check_pending_field()` to the beginning of `insert(...)` fixes 
this. Is the current behavior intentional?


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

Reply via email to