fix lowercase bug

This commit is contained in:
fjy 2013-04-24 16:00:47 -07:00
parent 7f43f37441
commit d29b3e0960
1 changed files with 2 additions and 2 deletions

View File

@ -209,7 +209,7 @@ public class HadoopDruidIndexerConfig
) )
{ {
this.dataSource = dataSource; this.dataSource = dataSource;
this.timestampColumnName = timestampColumnName; this.timestampColumnName = timestampColumnName.toLowerCase();
this.timestampFormat = timestampFormat; this.timestampFormat = timestampFormat;
this.dataSpec = dataSpec; this.dataSpec = dataSpec;
this.granularitySpec = granularitySpec; this.granularitySpec = granularitySpec;
@ -294,7 +294,7 @@ public class HadoopDruidIndexerConfig
public void setTimestampColumnName(String timestampColumnName) public void setTimestampColumnName(String timestampColumnName)
{ {
this.timestampColumnName = timestampColumnName; this.timestampColumnName = timestampColumnName.toLowerCase();
} }
@JsonProperty() @JsonProperty()