fx19880617 commented on a change in pull request #6299: URL: https://github.com/apache/incubator-pinot/pull/6299#discussion_r533057260
########## File path: pinot-core/src/main/java/org/apache/pinot/core/segment/index/metadata/SegmentMetadataImpl.java ########## @@ -531,6 +553,12 @@ public JsonNode toJson(@Nullable Set<String> columnFilter) { segmentMetadata.put("creatorName", _creatorName); segmentMetadata.put("paddingCharacter", String.valueOf(_paddingCharacter)); + ObjectNode customConfigs = JsonUtils.newObjectNode(); + for (String key : _customMap.keySet()) { + customConfigs.put(key, _customMap.get(key)); + } + segmentMetadata.set("custom", customConfigs); Review comment: And this is only used by the rest api ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@pinot.apache.org For additional commands, e-mail: commits-h...@pinot.apache.org