KKcorps commented on code in PR #14547:
URL: https://github.com/apache/pinot/pull/14547#discussion_r1859968921


##########
pinot-plugins/pinot-input-format/pinot-json/src/main/java/org/apache/pinot/plugin/inputformat/json/JSONRecordExtractor.java:
##########
@@ -40,9 +38,9 @@ public class JSONRecordExtractor extends 
BaseRecordExtractor<Map<String, Object>
   public void init(Set<String> fields, @Nullable RecordExtractorConfig 
recordExtractorConfig) {
     if (fields == null || fields.isEmpty()) {
       _extractAll = true;
-      _fields = Collections.emptySet();
+      _fields = Set.of();

Review Comment:
   Why change it from Collections.emptySet to this?



-- 
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.

To unsubscribe, e-mail: commits-unsubscr...@pinot.apache.org

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

Reply via email to