Texera / texera

Collaborative Machine-Learning-Centric Data Analytics Using Workflows
https://texera.github.io
Apache License 2.0
163 stars 74 forks source link

Support for multi-output UDF #1948

Open Yicong-Huang opened 1 year ago

Yicong-Huang commented 1 year ago

Currently, the UDF can only allow yielding outputs to one output port. A motivation example is a UDF producing a chart as well as a table, which needs to be sent to different downstream operators (i.e., send the chart to the visualization operator, send the table to other processing operators).

The engine supports multi-output ports, but we need an interface in UDF for users to write code to specify an output tuple to a specific port.

Yicong-Huang commented 11 months ago

@aglinxinyuan will take a look