aokolnychyi commented on code in PR #8336:
URL: https://github.com/apache/iceberg/pull/8336#discussion_r1297508512
##########
core/src/main/java/org/apache/iceberg/BaseFile.java:
##########
@@ -460,7 +463,15 @@ public ByteBuffer keyMetadata() {
@Override
public List<Long> splitOffsets() {
- return ArrayUtil.toLongList(splitOffsets);
+ if (splitOffsetsAsList == null && splitOffsets != null) {
+ synchronized (this) {
Review Comment:
That's my feeling too, I'll update.
--
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]