morrySnow commented on code in PR #1832: URL: https://github.com/apache/doris-website/pull/1832#discussion_r1919505383
########## docs/sql-manual/sql-functions/scalar-functions/bitwise-functions/bit_test.md: ########## @@ -24,42 +24,43 @@ specific language governing permissions and limitations under the License. --> -## bit_test -### description -#### Syntax +## Description +Convert the value of `<x>` to binary form and return the value of the specified position `<bits>`, where `<bits>` starts from 0 and goes from right to left. -`bit_test(Integer-type value, Integer-type pos, '......')` +If `<bits>` has multiple values, the values at multiple `<bits>` positions are combined using the AND operator and the final result is returned. -"Convert the value of 'value' into binary form and return the value at the specified position 'pos', where 'pos' starts from 0 and goes from right to left. If there are multiple values for 'pos', combine the values at multiple 'pos' positions using the AND operator and return the final result. -If the value of pos is negative or exceeds the total number of bits in value, the result will be 0. -Integer value ranges: TINYINT, SMALLINT, INT, BIGINT, LARGEINT." +If the value of `<bits>` is negative or exceeds the total number of bits in `<x>`, the result will be 0. -### example +Integer `<x>` range: TINYINT, SMALLINT, INT, BIGINT, LARGEINT. -### example +## Alias +BIT_TEST_ALL Review Comment: 使用无序列表 ```suggestion - BIT_TEST_ALL ``` -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
