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: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
