Skip to content

Improves multiple ports support in Texera operators (Step 4) - #982

Merged
zuozhiw merged 17 commits into
masterfrom
zuozhi-ports-pr3
Jan 25, 2021
Merged

zuozhiw merged 17 commits into
masterfrom
zuozhi-ports-pr3

Conversation

@zuozhiw

@zuozhiw zuozhiw commented Jan 21, 2021

Copy link
Copy Markdown
Contributor

This PR changes the execution of a workflow to make the execution be aware of the ports.
Previously in step 1, where there are no concept of ports in the backend, the mapping between an input operator to its corresponding ordinal is decided by the order that the connection is made. This PR changes it to be the actual port that the operator is connected to.

@zuozhiw
zuozhiw changed the base branch from master to zuozhi-ports-pr2 January 21, 2021 03:06
@zuozhiw
zuozhiw force-pushed the zuozhi-ports-pr3 branch 2 times, most recently from 4eccd82 to 75c3289 Compare January 21, 2021 03:22
@zuozhiw
zuozhiw requested a review from avinash0161 January 21, 2021 07:33
Base automatically changed from zuozhi-ports-pr2 to master January 25, 2021 23:25
@zuozhiw
zuozhiw merged commit 264a47d into master Jan 25, 2021
@zuozhiw
zuozhiw deleted the zuozhi-ports-pr3 branch January 25, 2021 23:35
yangzhang75 pushed a commit to yangzhang75/texera that referenced this pull request Jun 22, 2026
)

This PR changes the execution of a workflow to make the execution be aware of the ports. 
Previously in step 1, where there are no concept of ports in the backend, the mapping between an input operator to its corresponding ordinal is decided by the order that the connection is made. This PR changes it to be the actual port that the operator is connected to.
renovate-bot pushed a commit to renovate-bot/apache-_-texera that referenced this pull request Oct 8, 2026
…#8896)

### What changes were proposed in this PR?

Removes three exported REST endpoint constants from
`execute-workflow.service.ts` that nothing imports:
`EXECUTE_WORKFLOW_ENDPOINT`, `PAUSE_WORKFLOW_ENDPOINT` and
`RESUME_WORKFLOW_ENDPOINT`. **−5 lines.** There is no behaviour change.
Execute, pause and resume are sent over the websocket
(`WorkflowExecuteRequest` / `WorkflowPauseRequest` /
`WorkflowResumeRequest`), and the backend has no `queryplan/execute`,
`pause` or `resume` REST routes.

### History

| | |
| --- | --- |
| **Introduced by** | apache#622 (2018-06-21), the first execute-workflow
service: `EXECUTE_WORKFLOW_ENDPOINT`. apache#684 (2019-03-10), pause/resume
buttons: the other two |
| **Usage removed by** | apache#811 (2020-08-21), the Amber merge, which moved
pause/resume to websocket requests and removed their `http.post` calls.
apache#982 (2021-01-25), "Improves multiple ports support in Texera operators
(Step 4)", which removed the last REST execute call |

The pause/resume constants have been unused for six years, and the
execute one for nearly five.

### Any related issues, documentation, discussions?

Closes apache#8895

### How was this PR tested?

No new tests; no spec imported the constants.

From `frontend/`:

- `npx ng test --watch=false`, covering
`execute-workflow.service.spec.ts` plus all 17 specs that import the
service (18 files): 1363 tests pass, 1 is skipped (an existing
`it.skip`).
- `yarn format:ci`: clean.
- `npx ng build`: success.

To re-check:

```
git grep -n -w -E "EXECUTE_WORKFLOW_ENDPOINT|PAUSE_WORKFLOW_ENDPOINT|RESUME_WORKFLOW_ENDPOINT"   # no hits
```

### Was this PR authored or co-authored using generative AI tooling?

Generated-by: Claude Code (Claude Opus 5.5)

🤖 Generated with [Claude Code](https://claude.com/claude-code)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants