Apache Tajo - octet_length(string text)



Let us now check the octet_length(string text) function with the following query.

Query

default> select octet_length('tajo') as octet;

Result

The above query will generate the following result.

octet 
------------------------------- 
4

The query returns the number of bytes for the given string Tajo is 4.

apache_tajo_string_functions.htm
Advertisements