kirkrodrigues commented on code in PR #11210: URL: https://github.com/apache/pinot/pull/11210#discussion_r1287023147
########## pinot-spi/src/main/java/org/apache/pinot/spi/stream/StreamDataDecoderImpl.java: ########## @@ -34,6 +34,13 @@ public class StreamDataDecoderImpl implements StreamDataDecoder { private final StreamMessageDecoder _valueDecoder; private final GenericRow _reuse = new GenericRow(); + /** + * @return Whether the given key is one of the special types of keys (__KEY, header, metadata, etc.) + */ + public static boolean isSpecialKeyType(String key) { Review Comment: It's used so that we can *skip* transforming these fields in the `JsonLogTransformer`. I put it in this class so that if a developer changes the list of special fields in this class, they know to update this method as well. -- 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