The GitHub Actions job "Build and push images" on texera.git/main has failed.
Run started by GitHub user bobbai00 (triggered by bobbai00).

Head commit for run:
ab3317b8ef12e1b56205bf0f35c5ae1edde42d9d / carloea2 <[email protected]>
fix(AttributeTypeUtils): use Double.NEGATIVE_INFINITY instead of 
Double.MIN_VALUE (#4145)

### What changes were proposed in this PR?

This PR fixes the value returned by `minValue` for
`AttributeType.DOUBLE` in `AggregationOperation.scala`.

Previously, the code used `Double.MIN_VALUE`, which is the smallest
positive non-zero double, not the most-negative value.


https://github.com/apache/texera/blob/07c35d004a1185e4098b56591166b62cc9ab4856/common/workflow-operator/src/main/scala/org/apache/amber/operator/aggregate/AggregationOperation.scala#L335-L345

The fix replaces `Double.MIN_VALUE` with `Double.NEGATIVE_INFINITY` and
add new testing.

### Any related issues, documentation, discussions?

Closes #4144  
Related discussion: #4049 (Clarify minValue intent in
AggregationOperation)

### How was this PR tested?

- AggregateOpSpec.scala
- AttributeTypeUtilsSpec.scala
- Frontend Manual Test

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

---------

Co-authored-by: Xiaozhen Liu <[email protected]>

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

With regards,
GitHub Actions via GitBox

Reply via email to