Description
The current lpad and rpad don't support the multibyte character at "str" and "pad".
For example, we can see the following result.
hive> select name from sample1;
OK
tokyo
TOKYO
hive> select lpad(name, 20, '*') from sample1;
OK
***************tokyo
*****TOKYO
This is improved as follows.
hive> select lpad(name, 20, '*') from sample1;
***************tokyo
***************TOKYO
Attachments
Attachments
Issue Links
- links to