String Function CHAR_LENGTH(x)
The following program shows the query for this function −
Query
0: jdbc:drill:zk = local> select char_length('Drill') from (values(1));
Result
++ | EXPR$0 | +-+ | 5 | +-+
The query returns the output value length as 5 for the string Drill.
apache_drill_sql_operations.htm
Advertisements