kaveti commented on code in PR #17547:
URL: https://github.com/apache/iceberg/pull/17547#discussion_r3749861917


##########
gcp/src/main/java/org/apache/iceberg/gcp/gcs/GCSOutputFile.java:
##########
@@ -69,11 +67,7 @@ public PositionOutputStream create() {
 
   @Override
   public PositionOutputStream createOrOverwrite() {
-    try {
-      return new GCSOutputStream(storage(), blobId(), gcpProperties(), 
metrics());
-    } catch (IOException e) {
-      throw new UncheckedIOException("Failed to create output stream for 
location: " + uri(), e);
-    }
+    return new GCSOutputStream(storage(), blobId(), gcpProperties(), 
metrics());

Review Comment:
   let's keep try catch as it is



-- 
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]

Reply via email to