Content-Length: 263155 | pFad | http://github.com/apache/iceberg/pull/8168/commits/a3475bb3e15d6afcb1c221705408f4c56f78e01d

5B GCP: Add prefix and bulk operations to GCSFileIO by bryanck · Pull Request #8168 · apache/iceberg · GitHub
Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GCP: Add prefix and bulk operations to GCSFileIO #8168

Merged
merged 12 commits into from
Aug 5, 2023
Prev Previous commit
Next Next commit
spotless
  • Loading branch information
bryanck committed Aug 4, 2023
commit a3475bb3e15d6afcb1c221705408f4c56f78e01d
5 changes: 2 additions & 3 deletions gcp/src/main/java/org/apache/iceberg/gcp/gcs/GCSFileIO.java
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@
import org.apache.iceberg.io.SupportsBulkOperations;
import org.apache.iceberg.io.SupportsPrefixOperations;
import org.apache.iceberg.metrics.MetricsContext;
import org.apache.iceberg.relocated.com.google.common.collect.Iterables;
import org.apache.iceberg.relocated.com.google.common.collect.Iterators;
import org.apache.iceberg.relocated.com.google.common.collect.Streams;
import org.apache.iceberg.util.SerializableMap;
Expand Down Expand Up @@ -210,8 +209,8 @@ private long createTimeMillis(Blob blob) {
@Override
public void deletePrefix(String prefix) {
internalDeleteFiles(
Streams.stream(listPrefix(prefix))
.map(fileInfo -> BlobId.fromGsUtilUri(fileInfo.location())));
Streams.stream(listPrefix(prefix))
.map(fileInfo -> BlobId.fromGsUtilUri(fileInfo.location())));
}

@Override
Expand Down








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/apache/iceberg/pull/8168/commits/a3475bb3e15d6afcb1c221705408f4c56f78e01d

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy