diff --git a/indexing-common/src/main/java/com/metamx/druid/index/v1/SpatialDimensionRowFormatter.java b/indexing-common/src/main/java/com/metamx/druid/index/v1/SpatialDimensionRowFormatter.java index f5dad643ad5..b807f931c5d 100644 --- a/indexing-common/src/main/java/com/metamx/druid/index/v1/SpatialDimensionRowFormatter.java +++ b/indexing-common/src/main/java/com/metamx/druid/index/v1/SpatialDimensionRowFormatter.java @@ -30,6 +30,7 @@ import com.google.common.collect.Sets; import com.google.common.primitives.Floats; import com.metamx.common.ISE; import com.metamx.druid.input.InputRow; +import org.joda.time.DateTime; import javax.annotation.Nullable; import java.util.Arrays; @@ -138,6 +139,15 @@ public class SpatialDimensionRowFormatter { return row.getFloatMetric(metric); } + + @Override + public String toString() + { + return "InputRow{" + + "timestamp=" + row.getTimestampFromEpoch() + + ", dimensions=" + row.getDimensions() + + '}'; + } }; if (!spatialPartialDimNames.isEmpty()) {