richardstartin commented on a change in pull request #8264:
URL: https://github.com/apache/pinot/pull/8264#discussion_r816237591
##########
File path:
pinot-common/src/main/java/org/apache/pinot/common/function/TransformFunctionType.java
##########
@@ -108,9 +110,9 @@
// Geo indexing
GEOTOH3("geoToH3");
- private static final Set<String> NAMES = Arrays.stream(values())
- .flatMap(func -> Stream.of(func.getName(),
StringUtils.remove(func.getName(), '_').toUpperCase(),
- func.getName().toUpperCase(), func.getName().toLowerCase(),
func.name(), func.name().toLowerCase()))
+ private static final Set<String> NAMES = Arrays.stream(values()).flatMap(
+ func -> Stream.of(func.getName(), StringUtils.remove(func.getName(),
'_').toUpperCase(),
+ func.getName().toUpperCase(), func.getName().toLowerCase(),
func.name(), func.name().toLowerCase()))
Review comment:
I don't think this reformatting is necessary or necessarily an
improvement.
--
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]