forked from cockroachdb/cockroach
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
sql: add get_bit() and set_bit() builtin functions
Resolve cockroachdb#45851 This commit adds builtin functions get_bit() and set_bit(), along with thier respective testcases. Characteristics of the above functions are: * get_bit() allows us to extract a particular bit from a given array of bits. * set_bit() will enable us to modify a specific bit in a given array of bits. Release note: This PR is introduced to add get_bits() and set_bit() builtin functions.
- Loading branch information
1 parent
bc169fd
commit a356203
Showing
3 changed files
with
73 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters