You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Dongjoon Hyun (Jira)" <ji...@apache.org> on 2026/02/15 19:26:01 UTC

[jira] [Closed] (SPARK-46274) Range operator computeStats() proper long conversions

     [ https://issues.apache.org/jira/browse/SPARK-46274?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Dongjoon Hyun closed SPARK-46274.
---------------------------------

> Range operator computeStats() proper long conversions
> -----------------------------------------------------
>
>                 Key: SPARK-46274
>                 URL: https://issues.apache.org/jira/browse/SPARK-46274
>             Project: Spark
>          Issue Type: Bug
>          Components: SQL
>    Affects Versions: 3.5.0
>            Reporter: Kelvin Jiang
>            Assignee: Nick Young
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 3.5.1, 4.0.0
>
>
> Range operator's `computeStats()` function unsafely casts from `BigInt` to `Long` and causes issues downstream with statistics estimation. Adds bounds checking to avoid crashing.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org