Skip to content

percentile of -0.0 returns 0.0 #6799

Open

Description

@andygrove

Found while enabling spark.comet.exec.localTableScan.enabled by default in draft PR #6780 (Spark 4.1 SQL tests and [scans] job). Part of #4347.

SPARK-45599 "Neither 0.0 nor -0.0 should be dropped when computing percentile". Expected [-0.0], Comet returns [0.0]. Related to the float epic #6385.

Metadata

Metadata

Assignees

Labels

area:aggregationHash aggregates, aggregate expressionsbugSomething isn't workingcorrectnesspriority:criticalData corruption, silent wrong results, security issuesspark sql testsSpark SQL test failures

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions