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 3889f5b  Add BaseCombinedScanTask.toString (#384)
3889f5b is described below

commit 3889f5b7241cd52cdc73372d8f0ac4bdb04b30de
Author: Ryan Blue <rdb...@users.noreply.github.com>
AuthorDate: Thu Aug 15 09:17:59 2019 -0700

    Add BaseCombinedScanTask.toString (#384)
---
 core/src/main/java/org/apache/iceberg/BaseCombinedScanTask.java | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/core/src/main/java/org/apache/iceberg/BaseCombinedScanTask.java 
b/core/src/main/java/org/apache/iceberg/BaseCombinedScanTask.java
index e8513ab..00f493f 100644
--- a/core/src/main/java/org/apache/iceberg/BaseCombinedScanTask.java
+++ b/core/src/main/java/org/apache/iceberg/BaseCombinedScanTask.java
@@ -19,6 +19,8 @@
 
 package org.apache.iceberg;
 
+import com.google.common.base.Joiner;
+import com.google.common.base.MoreObjects;
 import com.google.common.collect.ImmutableList;
 import java.util.Collection;
 import java.util.List;
@@ -38,4 +40,11 @@ public class BaseCombinedScanTask implements 
CombinedScanTask {
   public Collection<FileScanTask> files() {
     return tasks;
   }
+
+  @Override
+  public String toString() {
+    return MoreObjects.toStringHelper(this)
+        .add("tasks", Joiner.on(", ").join(tasks))
+        .toString();
+  }
 }

Reply via email to