aglinxinyuan opened a new pull request, #9328:
URL: https://github.com/apache/texera/pull/9328

   ### What changes were proposed in this PR?
   
   `IntervalOpExecSpec` in `common/workflow-operator` previously contained 
several unused test helper methods, dead fields, and unnecessary imports:
   - `physicalLink()`: constructs a `PhysicalLink` but is uncalled in any test 
case.
   - `physicalOpId()`: called only by `physicalLink()`.
   - `counter`: field used exclusively by `physicalOpId()`, along with dead 
reset statements `counter = 0`.
   - `integerTuple()`: uncalled tuple construction helper (test cases 
exclusively use `newTuple`, `doubleTuple`, or `timeStampTuple`).
   - `longTuple()`: uncalled tuple construction helper.
   - Unused imports: `OperatorIdentity`, `PhysicalOpIdentity`, and 
`PhysicalLink`.
   
   This PR removes these unused helpers, fields, and imports (-33 net lines).
   
   ### Any related issues, documentation, discussions?
   
   Closes #9326
   
   ### How was this PR tested?
   
   Verified locally via sbt in the `WorkflowOperator` project:
   
   ```bash
   sbt -batch "project WorkflowOperator" scalafmtCheck "Test/compile" "testOnly 
org.apache.texera.amber.operator.intervalJoin.IntervalOpExecSpec"
   ```
   
   Result:
   - `Checking 336 Scala sources... [success]`
   - `[info] Total number of tests run: 16`
   - `[info] Suites: completed 1, aborted 0`
   - `[info] Tests: succeeded 16, failed 0, canceled 0, ignored 0, pending 0`
   - `[info] All tests passed.`
   
   ### Was this PR authored or co-authored using generative AI tooling?
   
   Generated-by: Google Antigravity (Gemini 2.5 Pro)
   


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to