You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@iceberg.apache.org by bl...@apache.org on 2019/08/12 18:10:26 UTC
[incubator-iceberg] branch master updated: Return full stats for
added files from Snapshot (#369)
This is an automated email from the ASF dual-hosted git repository.
blue pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-iceberg.git
The following commit(s) were added to refs/heads/master by this push:
new c81486e Return full stats for added files from Snapshot (#369)
c81486e is described below
commit c81486e8bb196213c7daf0c01f9f8162e1be37d7
Author: Ryan Blue <rd...@users.noreply.github.com>
AuthorDate: Mon Aug 12 11:10:21 2019 -0700
Return full stats for added files from Snapshot (#369)
---
core/src/main/java/org/apache/iceberg/BaseSnapshot.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/core/src/main/java/org/apache/iceberg/BaseSnapshot.java b/core/src/main/java/org/apache/iceberg/BaseSnapshot.java
index ff44a9c..cf7f3f1 100644
--- a/core/src/main/java/org/apache/iceberg/BaseSnapshot.java
+++ b/core/src/main/java/org/apache/iceberg/BaseSnapshot.java
@@ -167,7 +167,7 @@ class BaseSnapshot implements Snapshot {
for (ManifestEntry entry : entries) {
switch (entry.status()) {
case ADDED:
- adds.add(entry.file().copyWithoutStats());
+ adds.add(entry.file().copy());
break;
case DELETED:
deletes.add(entry.file().copyWithoutStats());