Kelvin Jiang created SPARK-46274:
------------------------------------

             Summary: Range operator computeStats() proper long conversions
                 Key: SPARK-46274
                 URL: https://issues.apache.org/jira/browse/SPARK-46274
             Project: Spark
          Issue Type: Improvement
          Components: SQL
    Affects Versions: 3.5.0
            Reporter: Kelvin Jiang


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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to