We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b0e299e commit 98998b6Copy full SHA for 98998b6
indexing-hadoop/src/main/java/io/druid/indexer/HadoopDruidIndexerConfig.java
@@ -115,7 +115,7 @@ public static HadoopDruidIndexerConfig fromSpec(HadoopIngestionSpec spec)
115
public static HadoopDruidIndexerConfig fromMap(Map<String, Object> argSpec)
116
{
117
//backwards compatibility
118
- if (argSpec.containsKey("schema")) {
+ if (argSpec.containsKey("schema") || argSpec.containsKey("spec")) {
119
return HadoopDruidIndexerConfig.jsonMapper.convertValue(argSpec, HadoopDruidIndexerConfig.class);
120
} else {
121
return new HadoopDruidIndexerConfig(
0 commit comments