mirror of https://github.com/apache/druid.git
set default version if one is not set
This commit is contained in:
parent
34a221a586
commit
0b6dd99452
|
@ -313,7 +313,7 @@ public class HadoopDruidIndexerConfig
|
|||
|
||||
public void setVersion(DateTime version)
|
||||
{
|
||||
this.version = version;
|
||||
this.version = version == null ? new DateTime() : version;
|
||||
}
|
||||
|
||||
@JsonProperty
|
||||
|
|
Loading…
Reference in New Issue