ggershinsky commented on a change in pull request #3471:
URL: https://github.com/apache/iceberg/pull/3471#discussion_r803628682
##########
File path: core/src/main/java/org/apache/iceberg/util/JsonUtil.java
##########
@@ -146,6 +148,11 @@ public static String getStringOrNull(String property,
JsonNode node) {
.build();
}
+ public static ByteBuffer getBytesOrNull(String property, JsonNode node) {
+ String bytesStr = getStringOrNull(property, node);
+ return bytesStr == null ? null : StandardCharsets.UTF_8.encode(bytesStr);
Review comment:
same as below (Base64 decoding)
--
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]