From d75c2518b147dddeeb399a51cfd66af8a0eb3aed Mon Sep 17 00:00:00 2001 From: "yuling.sh" Date: Wed, 12 Feb 2025 09:52:49 +0800 Subject: [PATCH] add document for bit_length --- presto-docs/src/main/sphinx/functions/string.rst | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/presto-docs/src/main/sphinx/functions/string.rst b/presto-docs/src/main/sphinx/functions/string.rst index e9cd2b82b393d..f91c8443dd70b 100644 --- a/presto-docs/src/main/sphinx/functions/string.rst +++ b/presto-docs/src/main/sphinx/functions/string.rst @@ -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.