From 1b6137504c92cb31b750f72746fd64e58a9fe38d Mon Sep 17 00:00:00 2001 From: nishantmonu51 Date: Thu, 1 May 2014 21:32:27 +0530 Subject: [PATCH] Add toString for better logging --- .../src/main/java/io/druid/query/UnionDataSource.java | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/processing/src/main/java/io/druid/query/UnionDataSource.java b/processing/src/main/java/io/druid/query/UnionDataSource.java index 83b9f0acbe7..003ce86be47 100644 --- a/processing/src/main/java/io/druid/query/UnionDataSource.java +++ b/processing/src/main/java/io/druid/query/UnionDataSource.java @@ -101,4 +101,12 @@ public class UnionDataSource implements DataSource { return dataSources.hashCode(); } + + @Override + public String toString() + { + return "UnionDataSource{" + + "dataSources=" + dataSources + + '}'; + } }