Jackie-Jiang commented on a change in pull request #4555: [Issue #4551] Remove memory allocation for virtual columns in consumi… URL: https://github.com/apache/incubator-pinot/pull/4555#discussion_r317325604
########## File path: pinot-core/src/main/java/org/apache/pinot/core/indexsegment/mutable/MutableSegmentImpl.java ########## @@ -95,6 +99,7 @@ private volatile long _minTime = Long.MAX_VALUE; private volatile long _maxTime = Long.MIN_VALUE; private final int _numKeyColumns; + private final Collection<FieldSpec> _physicalColumnFieldSpecs; Review comment: Let's cache physical dimensions and physical metrics as well to eliminate all the record level check ---------------------------------------------------------------- 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. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@pinot.apache.org For additional commands, e-mail: commits-h...@pinot.apache.org