aokolnychyi commented on code in PR #8959:
URL: https://github.com/apache/iceberg/pull/8959#discussion_r1377997350
##########
spark/v3.2/spark/src/main/java/org/apache/iceberg/spark/actions/RewriteManifestsSparkAction.java:
##########
@@ -133,15 +143,17 @@ public RewriteManifestsSparkAction
rewriteIf(Predicate<ManifestFile> newPredicat
@Override
public RewriteManifestsSparkAction stagingLocation(String
newStagingLocation) {
- this.stagingLocation = newStagingLocation;
+ if (shouldStageManifests) {
+ this.outputLocation = newStagingLocation;
+ } else {
+ LOG.warn("Ignoring provided staging location as new manifests will be
committed directly");
+ }
return this;
}
@Override
public RewriteManifests.Result execute() {
- String desc =
- String.format(
- "Rewriting manifests (staging location=%s) of %s",
stagingLocation, table.name());
+ String desc = String.format("Rewriting manifests in %s", table.name());
Review Comment:
It was my bad to show the staging location in UI as it is really long and
makes it hard to read. I doubt anyone sets this value (it is not even exposed
via the procedure), so I removed it. Instead, we will see the table name
properly.
--
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]