mihaibudiu commented on PR #3947:
URL: https://github.com/apache/calcite/pull/3947#issuecomment-2518442295

   We are actually using this feature extensively in our Rust-based runtime, 
but our runtime implementation is slightly different. I plan to make the Java 
implementation a bit closer.
   
   This is a *very* powerful feature. Once you have variant you can do many 
things which are very difficult otherwise, including recursive data types (like 
JSON). One other thing we use VARIANT for is error reporting. You can have a 
dynamic error type (a VARIANT MAP) which can include any other type, including 
any SQL record inside!


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