chenhao-db opened a new pull request, #47310:
URL: https://github.com/apache/spark/pull/47310

   ### What changes were proposed in this pull request?
   
   It uses `UnsafeRow` to represent struct result in the JSON parser. It saves 
memory compared to the current `GenericInternalRow`. The change is guarded by a 
flag and disabled by default.
   
   ### Why are the changes needed?
   
   It reduces the memory requirement of JSON-related query.
   
   ### Does this PR introduce _any_ user-facing change?
   
   No.
   
   ### How was this patch tested?
   
   A new JSON unit test with the config flag on.
   
   ### Was this patch authored or co-authored using generative AI tooling?
   
   No.


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