Skip to content

Commit

Permalink
add document for bit_length
Browse files Browse the repository at this point in the history
  • Loading branch information
shenh062326 authored and yuling.sh committed Feb 12, 2025
1 parent 3ae5a92 commit 4a7156e
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions presto-docs/src/main/sphinx/functions/string.rst
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,10 @@ String Functions
some languages. Specifically, this will return incorrect results for
Lithuanian, Turkish and Azeri.

.. function:: bit_length(string) -> boolean

Returns the count of bits for the given ``string``.

.. function:: chr(n) -> varchar

Returns the Unicode code point ``n`` as a single character string.
Expand Down

0 comments on commit 4a7156e

Please sign in to comment.