richardstartin commented on a change in pull request #8408:
URL: https://github.com/apache/pinot/pull/8408#discussion_r836689867



##########
File path: 
pinot-core/src/main/java/org/apache/pinot/core/operator/query/DictionaryBasedAggregationOperator.java
##########
@@ -44,6 +44,8 @@
 import org.apache.pinot.spi.data.FieldSpec;
 import org.apache.pinot.spi.utils.ByteArray;
 
+import static 
org.apache.pinot.core.operator.query.AggregationOperatorUtils.toDouble;

Review comment:
       Can we talk about this with a wider audience? IMO Pinot's styling 
enforces some quite ugly code in places (line wrapping and unnecessary 
qualification). The real problem here would be if `toDouble` did anything _but_ 
convert a value to a double, so it belongs in a global namespace. I am of a 
democratic disposition, of course.




-- 
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]

Reply via email to