You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@texera.apache.org by "aglinxinyuan (via GitHub)" <gi...@apache.org> on 2026/10/08 00:35:44 UTC
[I] Add a control-variable port to every operator [texera]
aglinxinyuan opened a new issue, #8916:
URL: https://github.com/apache/texera/issues/8916
### Feature Summary
An operator inside a loop cannot take a setting from a value computed upstream unless it has a second version built for that. For example, reading every file of a folder needs File Scan From Input, which takes the file name from a tuple field, instead of the File Scan operator itself.
### Proposed Solution or Design
Give every operator one more input port, the **control-variable port**, drawn in purple. Whatever arrives on it becomes the operator's control variables, and a property that holds `$name` takes the value of the variable `name`. The port's input ends before the operator starts, so an edge into it is always materialized.
```
Text Input ──► Loop Start ══(purple)══► File Scan (fileName = $file) ──► Loop End
```
The design is discussed in https://github.com/apache/texera/discussions/8915.
### Affected Area
Workflow Engine (Amber), Workflow UI
--
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.
To unsubscribe, e-mail: notifications-unsubscribe@texera.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] Add a control-variable port to every operator [texera]
Posted by "aglinxinyuan (via GitHub)" <gi...@apache.org>.
aglinxinyuan commented on issue #8916:
URL: https://github.com/apache/texera/issues/8916#issuecomment-6049706021
C:/Program Files/Git/take
--
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.
To unsubscribe, e-mail: notifications-unsubscribe@texera.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] Add a control-variable port to every operator [texera]
Posted by "aglinxinyuan (via GitHub)" <gi...@apache.org>.
aglinxinyuan commented on issue #8916:
URL: https://github.com/apache/texera/issues/8916#issuecomment-6049713956
/take
--
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.
To unsubscribe, e-mail: notifications-unsubscribe@texera.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org