szehon-ho commented on code in PR #11437:
URL: https://github.com/apache/iceberg/pull/11437#discussion_r1826111628
##########
core/src/main/java/org/apache/iceberg/TableMetadata.java:
##########
@@ -486,6 +489,10 @@ public int propertyAsInt(String property, int
defaultValue) {
return PropertyUtil.propertyAsInt(properties, property, defaultValue);
}
+ public int propertyTryAsInt(String property, int defaultValue) {
+ return NumberUtils.toInt(property, defaultValue);
Review Comment:
Yea I think it is unfortunate it crept in, but I guess we could remove it
later.
--
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]