Apache Tajo - right(string text, int size)



Let us now check the right(string,size) function with the following query.

Query

default> select right('tutorialspoint',2) as rightshift;

Result

The above query will generate the following result.

rightshift 
------------------------------- 
nt 

The output returns right padding for the string tutorialspoint with size 2 . The result is nt.

apache_tajo_string_functions.htm
Advertisements