You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@iceberg.apache.org by dw...@apache.org on 2019/08/14 18:24:11 UTC
[incubator-iceberg] branch master updated: Do not use original
manifest list when adding filters. (#376)
This is an automated email from the ASF dual-hosted git repository.
dweeks 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 40c142b Do not use original manifest list when adding filters. (#376)
40c142b is described below
commit 40c142b77b01e2dee647ca8a84dd1c4494c24cdb
Author: Ryan Blue <rd...@users.noreply.github.com>
AuthorDate: Wed Aug 14 11:24:07 2019 -0700
Do not use original manifest list when adding filters. (#376)
---
core/src/main/java/org/apache/iceberg/ManifestGroup.java | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/core/src/main/java/org/apache/iceberg/ManifestGroup.java b/core/src/main/java/org/apache/iceberg/ManifestGroup.java
index 5381e8e..01fdf8b 100644
--- a/core/src/main/java/org/apache/iceberg/ManifestGroup.java
+++ b/core/src/main/java/org/apache/iceberg/ManifestGroup.java
@@ -148,7 +148,7 @@ class ManifestGroup {
// only scan manifests that have entries other than deletes
// remove any manifests that don't have any existing or added files. if either the added or
// existing files count is missing, the manifest must be scanned.
- matchingManifests = Iterables.filter(manifests,
+ matchingManifests = Iterables.filter(matchingManifests,
manifest -> manifest.hasAddedFiles() || manifest.hasExistingFiles());
}
@@ -156,7 +156,7 @@ class ManifestGroup {
// only scan manifests that have entries other than existing
// remove any manifests that don't have any deleted or added files. if either the added or
// deleted files count is missing, the manifest must be scanned.
- matchingManifests = Iterables.filter(manifests,
+ matchingManifests = Iterables.filter(matchingManifests,
manifest -> manifest.hasAddedFiles() || manifest.hasDeletedFiles());
}