@Override
 protected void setup(Context context) throws IOException, InterruptedException {
   super.setup(context);
   final HadoopDruidIndexerConfig config =
       HadoopDruidIndexerConfig.fromConfiguration(context.getConfiguration());
   final SingleDimensionPartitionsSpec spec =
       (SingleDimensionPartitionsSpec) config.getPartitionsSpec();
   helper =
       new DeterminePartitionsDimSelectionMapperHelper(config, spec.getPartitionDimension());
 }
 @Override
 protected void setup(Context context) throws IOException, InterruptedException {
   super.setup(context);
   rollupGranularity = getConfig().getGranularitySpec().getQueryGranularity();
 }