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

   ### What changes were proposed in this pull request?
   
   This PR adds the functionality to format a variant value as a JSON string. 
It is exposed in the `to_json` expression by allowing the variant type (or a 
nested type containing the variant type) as its input.
   
   ### How was this patch tested?
   
   Unit tests that validate the `to_json` result. The input includes both 
`parse_json` results and manually constructed bytes.
   Negative cases with malformed inputs are also covered.
   
   Some tests disabled in https://github.com/apache/spark/pull/45479 are 
re-enabled.
   


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