pedrumj2 commented on code in PR #13016:
URL: https://github.com/apache/gluten/pull/13016#discussion_r4020463447
##########
docs/developers/VeloxUDF.md:
##########
@@ -192,6 +192,18 @@ VeloxColumnarToRow
+- Scan hive spark_catalog.default.tbl [col1#11], HiveTableRelation
[`spark_catalog`.`default`.`tbl`,
org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe, Data Cols: [col1#11],
Partition Cols: []]
```
+## Natively Only UDF Registration
+
+This is an alternative to the registration described above, for a UDF that is
implemented only in Velox and has no Java counterpart.
+
+A UDF whose registered name contains no dot is added to the session's function
registry under that name. It needs no matching Hive UDF class, no jar on the
classpath, and no `CREATE TEMPORARY FUNCTION` — register it under a name with
no dot, such as `my_udf`, and call it directly:
Review Comment:
Updated
--
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]