fallintoplace opened a new pull request, #1626:
URL: https://github.com/apache/iceberg-go/pull/1626

   Decoding UDF metadata into a reused receiver currently retains fields 
omitted from the new JSON document. A malformed document without `definitions` 
can therefore pass validation using definitions from an earlier decode, and the 
cached definition index can also remain stale after a successful replacement.
   
   Decode and validate fresh metadata state before assigning it to the 
receiver, then initialize the lookup cache against the replacement state.
   
   Tests: `go test ./udf -count=1`


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