TAJO-637: Enhance to_char() function