walterddr commented on code in PR #11191:
URL: https://github.com/apache/pinot/pull/11191#discussion_r1276640521
##########
pinot-common/src/main/java/org/apache/pinot/common/function/TransformFunctionType.java:
##########
@@ -173,29 +173,37 @@ public enum TransformFunctionType {
SCALAR("scalar"),
// Geo constructors
- ST_GEOG_FROM_TEXT("ST_GeogFromText"),
- ST_GEOM_FROM_TEXT("ST_GeomFromText"),
- ST_GEOG_FROM_WKB("ST_GeogFromWKB"),
- ST_GEOM_FROM_WKB("ST_GeomFromWKB"),
- ST_POINT("ST_Point"),
- ST_POLYGON("ST_Polygon"),
+ ST_GEOG_FROM_TEXT("ST_GeogFromText",
ReturnTypes.explicit(SqlTypeName.VARBINARY), OperandTypes.STRING),
Review Comment:
can we add some test for the auto function name variance generated? (e.g.
`ST_GEOG_FROM_TEXT` and the `ST_GeogFromText`)
--
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]