sahoss commented on issue #10316:
URL: https://github.com/apache/pinot/issues/10316#issuecomment-1453583245
**Potential source of bug**
It seems error is in BaseRecordExtractor. When processing the json node:
`{"key1": [], "key2": [1, 2], "key3": "value"`, the empty key is present.

It recurses to process node `"key1": []` and returns null from convert()
method. This is because convertMultiValue() checks for empty collection and
returns null.


Code pointers:
https://github.com/apache/pinot/blob/master/pinot-spi/src/main/java/org/apache/pinot/spi/data/readers/BaseRecordExtractor.java#L109
--
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]