GitHub user sshiv012 added a comment to the discussion: Proposal: operators 
that emit on more than one output port

Thanks @Xiao-zhen-Liu, agree all five. W.r.t point 2,  I'll make a bare yield 
on a UDF with 2+ output ports raise a `ValueError` (1-port UDFs should stay the 
same). 
Also Bool ports are rejected. The unknown-port error already names the bad 
index and the valid ports. `emit_ecm` and `emit_state` already use each link's 
`from_port_id`.
w.r.t point 5, PR 4 will put the full schema on each port (`kind`, 
`retainInputColumns`, `outputColumns`, falling back to the operator-level 
fields), plus a `PortOutput.html()` helper.

@Yicong-Huang let me know what you think? I can open the PR for Xiaozhen to 
review afterwards

GitHub link: 
https://github.com/apache/texera/discussions/8914#discussioncomment-19824368

----
This is an automatically sent email for [email protected].
To unsubscribe, please send an email to: [email protected]

Reply via email to