mirror of https://github.com/apache/druid.git
address cr
This commit is contained in:
parent
2b5ce89554
commit
e1c1e8997a
|
@ -56,7 +56,9 @@ public class SpatialDimensionRowFormatter
|
|||
{
|
||||
this.spatialDimensionMap = Maps.newHashMap();
|
||||
for (SpatialDimensionSchema spatialDimension : spatialDimensions) {
|
||||
this.spatialDimensionMap.put(spatialDimension.getDimName(), spatialDimension);
|
||||
if (this.spatialDimensionMap.put(spatialDimension.getDimName(), spatialDimension) != null) {
|
||||
throw new ISE("Duplicate spatial dimension names found! Check your schema yo!");
|
||||
}
|
||||
}
|
||||
this.spatialPartialDimNames = Sets.newHashSet(
|
||||
Iterables.concat(
|
||||
|
|
Loading…
Reference in New Issue