xiangfu0 commented on code in PR #11731:
URL: https://github.com/apache/pinot/pull/11731#discussion_r1345337551
##########
pinot-core/src/main/java/org/apache/pinot/core/geospatial/transform/function/ScalarFunctions.java:
##########
@@ -56,6 +56,14 @@ public static byte[] stPoint(double x, double y) {
* @return the created point
*/
@ScalarFunction
+ public static byte[] stPoint(double x, double y, int isGeography) {
+ return stPoint(x, y, isGeography == 1);
+ }
+
+ /**
+ * TODO: Add @ScalarFunction annotation when we can support the same
function name, number of parameters with a
+ * different type.
+ */
public static byte[] stPoint(double x, double y, boolean isGeography) {
Review Comment:
done
--
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]