You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Kelvin Jiang (Jira)" <ji...@apache.org> on 2023/12/05 21:47:00 UTC

[jira] [Updated] (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 ]

Kelvin Jiang updated SPARK-46274:
---------------------------------
    Issue Type: Bug  (was: Improvement)

> 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
>            Priority: Major
>
> 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