You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@spark.apache.org by GitBox <gi...@apache.org> on 2020/11/24 02:35:29 UTC

[GitHub] [spark] wmoustafa edited a comment on pull request #24559: [SPARK-27658][SQL] Add FunctionCatalog API

wmoustafa edited a comment on pull request #24559:
URL: https://github.com/apache/spark/pull/24559#issuecomment-732539897


   In case you are interested in taking a look into what a UDF in Transport boils down to in the case of Spark, you can check [com/linkedin/transport/spark/StdUdfWrapper.scala](https://github.com/linkedin/transport/blob/master/transportable-udfs-spark/src/main/scala/com/linkedin/transport/spark/StdUdfWrapper.scala). This is an [example user-facing UDF](https://github.com/linkedin/transport/blob/wmoustafa-api-v1/transportable-udfs-examples/transportable-udfs-example-udfs/src/main/java/com/linkedin/transport/examples/MapFromTwoArraysFunction.java) that is translated to the Expression API. You can think of it as an API on top of an API.


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

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org