yihua commented on code in PR #18098:
URL: https://github.com/apache/hudi/pull/18098#discussion_r3041897936
##########
hudi-client/hudi-spark-client/src/main/scala/org/apache/spark/sql/hudi/SparkAdapter.scala:
##########
@@ -76,6 +76,17 @@ trait SparkAdapter extends Serializable {
*/
def injectTableFunctions(extensions: SparkSessionExtensions): Unit = {}
+ /**
+ * Inject scalar functions into Spark SQL function registry.
+ * These functions can be used in SQL SELECT clauses.
+ */
+ def injectScalarFunctions(extensions: SparkSessionExtensions): Unit
+
+ /**
Review Comment:
🤖 nit: comment says "Inject planner strategies" (plural) but the method name
is `injectPlannerStrategy` (singular) — they should match. suggest changing to
"Inject planner strategy".
--
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]