xiangfu0 opened a new pull request, #19996: URL: https://github.com/apache/pinot/pull/19996
Readers currently expose only materialized values. Add default `ColumnReader.getJsonValue(docId, jsonTransformer)` so specialized readers can avoid repeated materialization while ordinary readers keep the existing conversion behavior. Usage: `Object json = reader.getJsonValue(docId, jsonTransformer);` Pass a deterministic JSON converter; the default calls `jsonTransformer.transform(getValue(docId))`, including nulls, and propagates failures. Overrides may reuse immutable results. Validation: all 9 `ColumnReaderTest` cases pass; formatting, license and Checkstyle checks pass; `pinot-spi` still compiles to Java 11 bytecode. -- 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]
