kbendick opened a new pull request, #4696:
URL: https://github.com/apache/iceberg/pull/4696

   Using `JsonUtils::getLongOrNull` in 
https://github.com/apache/iceberg/pull/4693, it seems that the functions 
`getIntOrNull` and `getLongOrNull` do not properly handle an explicit null.
   
   As you can see in the `Preconditions` check, after getting the property, if 
the JsonNode of the nullable Integer or Long is explicitly `null`, the 
Precondition check will fail.
   
   cc @rdblue @RussellSpitzer 


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