Currently there are a few problems with UDF ports: <img width="1204" alt="image" src="https://github.com/Texera/texera/assets/36582710/830cde73-7662-48b8-b224-a2f4ce3dbd95"> 1. A user can connect multiple inputs to the same port of a UDF, but they can potentially have different schema. 2. A UDF's input can accept outputs from a downstream operator, resulting in a cycle. They will not be validation errors now, i.e., a user can submit such workflows. But they will run into runtime problems.
Activity
Yicong-Huang commentedon Dec 19, 2023
@Yicong-Huang will work with @Xiao-zhen-Liu on this.
Yicong-Huang commentedon Jun 10, 2025
@Yicong-Huang we can let the compiler detect this and disallow it.