-
Notifications
You must be signed in to change notification settings - Fork 73
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add support for flink udfs #5
Comments
Arup, thank you for considering Transport. Supporting Flink UDFs sounds like a great idea. Please feel free to create a pull request. We will be happy to answer any questions, and work with you to get the code checked in. |
I've got some other platforms that I'd like to target as well Apache Jena, Confluent KSQL, OpenFaaS, etc. I'll dig into the code first but do you have any pointers on where to start or is there a place better than right here to ask questions? |
@zacharywhitley There's a user guide here: https://github.com/linkedin/transport/tree/master/transportable-udfs-documentation and a few examples also here: https://github.com/linkedin/transport/tree/master/transportable-udfs-examples to get you started. Let us know if u need any help. |
@zacharywhitley Thanks for your interest. We are in the process of creating a mailing list and referencing it from the Readme section. To implement additional platforms, please see those classes: https://github.com/linkedin/transport/blob/master/transportable-udfs-presto/src/main/java/com/linkedin/transport/presto/StdUdfWrapper.java Those are the classes that make the Transport UDF classes look to the engine as a native UDF classes. Those classes contain a couple of abstract methods that still need to be implemented by a child class. Here are two example child classes for Presto and Hive. Those are UDF-specific. While today those kind of small wrappers (for example shown in the last two links) are still being manually provided by the user for the framework to produce the engine-specific jars, there is ongoing work (very close to finishing) to generate those small wrappers automatically using a Gradle plugin. You can follow the progress here: #10 Ideally, when a platform support is added, its wrapper auto-generation plugin should also be added. But for now, adding support in the form of StdWrapper can be a great start. Please let us know if you have any questions. |
I think transport is an excellent project which lets us use the same udf implementation across various query engines. This is a request to add support for flink udfs which would increase the usability of this project for stream compute use cases as well.
The text was updated successfully, but these errors were encountered: