From d29b3e0960a874993cb3e7fc8fee50e7fe6352ae Mon Sep 17 00:00:00 2001 From: fjy Date: Wed, 24 Apr 2013 16:00:47 -0700 Subject: [PATCH] fix lowercase bug --- .../com/metamx/druid/indexer/HadoopDruidIndexerConfig.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/indexer/src/main/java/com/metamx/druid/indexer/HadoopDruidIndexerConfig.java b/indexer/src/main/java/com/metamx/druid/indexer/HadoopDruidIndexerConfig.java index 1dfad9de181..956db5ac4ce 100644 --- a/indexer/src/main/java/com/metamx/druid/indexer/HadoopDruidIndexerConfig.java +++ b/indexer/src/main/java/com/metamx/druid/indexer/HadoopDruidIndexerConfig.java @@ -209,7 +209,7 @@ public class HadoopDruidIndexerConfig ) { this.dataSource = dataSource; - this.timestampColumnName = timestampColumnName; + this.timestampColumnName = timestampColumnName.toLowerCase(); this.timestampFormat = timestampFormat; this.dataSpec = dataSpec; this.granularitySpec = granularitySpec; @@ -294,7 +294,7 @@ public class HadoopDruidIndexerConfig public void setTimestampColumnName(String timestampColumnName) { - this.timestampColumnName = timestampColumnName; + this.timestampColumnName = timestampColumnName.toLowerCase(); } @JsonProperty()