public static Path makeSegmentDescriptorOutputPath(DataSegment pushedSegment, Path segmentsDescriptorDir) {
    return new Path(segmentsDescriptorDir, String.format("%s.json", pushedSegment.getId().toString().replace(":", "")));
  }
@param pushedSegment         the pushed data segment object
@param segmentsDescriptorDir actual directory path for descriptors.
@return a sanitize file name
druid-handler/src/java/org/apache/hadoop/hive/druid/DruidStorageHandlerUtils.java