You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@iceberg.apache.org by GitBox <gi...@apache.org> on 2021/11/03 19:01:34 UTC
[GitHub] [iceberg] kbendick edited a comment on pull request #3455: Spark - Fix AddFilesProcedure throws NumberFormatException on empty path based import
kbendick edited a comment on pull request #3455:
URL: https://github.com/apache/iceberg/pull/3455#issuecomment-959830183
> LGTM, nit , will just changing get() to getOrDefault(..., "0") be a bit less verbose?
I initially thought that too. My one concern is that if there is an actual `null` stored in the map as the value for that key, we'll still get `null`.
I'll add some unit tests to see.
--
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: issues-unsubscribe@iceberg.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org
For additional commands, e-mail: issues-help@iceberg.apache.org