zhengruifeng commented on code in PR #47741:
URL: https://github.com/apache/spark/pull/47741#discussion_r1716190494


##########
sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/analysis/FunctionRegistry.scala:
##########
@@ -694,6 +694,7 @@ object FunctionRegistry {
     expression[ArrayExcept]("array_except"),
     expression[ArrayUnion]("array_union"),
     expression[ArrayCompact]("array_compact"),
+    expression[ArrayBinarySearch]("array_binary_search"),

Review Comment:
   don't register it here, it is for internal purposes only.
   
   
https://github.com/apache/spark/blob/74bea2ad18c37bc8f3721cdad733f04b301490c7/sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/analysis/FunctionRegistry.scala#L894-L915
 is the right place



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