Jackie-Jiang commented on code in PR #14203: URL: https://github.com/apache/pinot/pull/14203#discussion_r1795830680
########## pinot-common/src/main/java/org/apache/pinot/common/function/scalar/ObjectFunctions.java: ########## @@ -74,4 +74,14 @@ public static Object caseWhen(Object... objs) { // with or without else statement. return objs.length % 2 == 0 ? null : objs[objs.length - 1]; } + + @Nullable + @ScalarFunction(nullableParameters = true) + public static Object nullIf(Object obj1, Object obj2) { Review Comment: ```suggestion public static Object nullIf(@Nullable Object obj1, @Nullable Object obj2) { ``` -- 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: commits-unsubscr...@pinot.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@pinot.apache.org For additional commands, e-mail: commits-h...@pinot.apache.org