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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]