The GitHub Actions job "Required Checks" on texera.git/main has succeeded.
Run started by GitHub user Yicong-Huang (triggered by Yicong-Huang).

Head commit for run:
8cf5b9a7f11eb013e3d8ef17f57a3038abd768fe / Xinyuan Lin <[email protected]>
test(amber): add unit test coverage for DataFrame equality and inMemSize (#4784)

### What changes were proposed in this PR?

Add `DataPayloadSpec` covering the custom `equals` and `inMemSize` of
`DataFrame`:

- `inMemSize`: zero for an empty frame; sum of contained tuple sizes
otherwise
- `equals` reflexivity for empty frames
- `equals` rejecting non-DataFrame values and `null`
- `equals` rejecting different lengths
- `equals` treating element-wise equal frames as equal
- `equals` respecting element order
- `equals` rejecting differing elements

### Any related issues, documentation, discussions?

Closes #4783

### How was this PR tested?

`sbt "WorkflowExecutionService/testOnly
org.apache.texera.amber.engine.common.ambermessage.DataPayloadSpec"` —
8/8 tests pass.

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

Generated-by: Claude Code (Claude Opus 4.7)

---------

Co-authored-by: Claude Opus 4.7 (1M context) <[email protected]>

Report URL: https://github.com/apache/texera/actions/runs/25269480609

With regards,
GitHub Actions via GitBox

Reply via email to