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

Vinod KC updated SPARK-41082:
-----------------------------
    Description: 
Support Bit manipulation function ROTATERIGHT

The function shall rotate an integer value right by a specified number of bits. 
As the least significant bit will be taken out of the original value, if it is 
a 1 bit, it shall be "rotated" back to the most significant bit. Therefore, the 
final value will have the same number of 1 bits as the original value, just in 
different positions
ROTATERIGHT(integer_type a, INT positions)

  was:
Support Bit manipulation function ROTATERIGHT

The function shall rotate an integer value right by a specified number of bits. 
As the least significant bit is taken out of the original value, if it is a 1 
bit, it is "rotated" back to the most significant bit. Therefore, the final 
value has the same number of 1 bits as the original value, just in different 
positions
ROTATERIGHT(integer_type a, INT positions)


> Support Bit manipulation function ROTATERIGHT
> ---------------------------------------------
>
>                 Key: SPARK-41082
>                 URL: https://issues.apache.org/jira/browse/SPARK-41082
>             Project: Spark
>          Issue Type: Sub-task
>          Components: SQL
>    Affects Versions: 3.1.4
>            Reporter: Vinod KC
>            Priority: Major
>
> Support Bit manipulation function ROTATERIGHT
> The function shall rotate an integer value right by a specified number of 
> bits. As the least significant bit will be taken out of the original value, 
> if it is a 1 bit, it shall be "rotated" back to the most significant bit. 
> Therefore, the final value will have the same number of 1 bits as the 
> original value, just in different positions
> ROTATERIGHT(integer_type a, INT positions)



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

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

Reply via email to