dirtysalt commented on issue #15086:
URL: https://github.com/apache/iceberg/issues/15086#issuecomment-3775607910

   @RussellSpitzer thanks for looking into this issue.
   
   I think it works because it uses `SerializedObject` underneath.
   
   >    VariantObject variantObject = (VariantObject) Variants.value(metadata, 
objectBuffer);
   >     ---> return VariantValue.from(metadata, value);
   >         --->  return SerializedObject.from(metadata, value, header);
   
   But in my code I use `ShreddedObject` instead, and there is a bug in this 
class which I propose a fix in this pr 
https://github.com/apache/iceberg/pull/15087/changes
   
   >   ShreddedObject obj = Variants.object(metadata);
   


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