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

Kent Yao resolved SPARK-53875.
------------------------------
    Resolution: Won't Fix

Hi [~dongjoon], thank you.

Let me close this first with 'Won't Fix'. Although calculating bit count within 
the bitwidth of numbers makes a lot of sense, which is also adopted by many of 
the modern systems or programming languages, the current behavior is obtained 
from MySQL. Let's keep it as-is to avoid breaking changes

> bit_count results incorrect results for negative byte/short/int values
> ----------------------------------------------------------------------
>
>                 Key: SPARK-53875
>                 URL: https://issues.apache.org/jira/browse/SPARK-53875
>             Project: Spark
>          Issue Type: Bug
>          Components: SQL
>    Affects Versions: 3.0.3, 3.1.3, 3.2.4, 3.3.4, 3.4.4, 4.1.0, 4.0.1, 3.5.7
>            Reporter: Kent Yao
>            Priority: Major
>




--
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