timsants commented on a change in pull request #6046: URL: https://github.com/apache/incubator-pinot/pull/6046#discussion_r495613434
########## File path: pinot-plugins/pinot-input-format/pinot-json/src/main/java/org/apache/pinot/plugin/inputformat/json/JSONRecordExtractor.java ########## @@ -45,18 +45,32 @@ public void init(Set<String> fields, @Nullable RecordExtractorConfig recordExtra @Override public GenericRow extract(Map<String, Object> from, GenericRow to) { if (_extractAll) { - from.forEach((fieldName, value) -> to.putValue(fieldName, JSONRecordExtractorUtils.convertValue(value))); + from.forEach((fieldName, value) -> to.putValue(fieldName, convert(value))); Review comment: Sure I can do that. But do you have any resources showing evidence for this? I thought the underlying implementation for `.forEach` would be similar to `for (T t : iterable)` given that it is not performed on a java `.stream()`. ---------------------------------------------------------------- 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