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 for bits.
refs cockroachdb#45851 This commit adds builtin function get_bit() and set_bit() for varbits, along with thier respective testcases. Characteristics of the above builtin functions are: * get_bit() allows us to extracts a bit at given index in the bit array. * set_bit() enable us updates a bit at given index in the bit array. Release justification: low-risk addition of builtin functions. Release note (sql change): This PR is introduced to add get_bits() and set_bit() builtin functions for bits.
- Loading branch information
1 parent
ae597d3
commit f114b42
Showing
3 changed files
with
92 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