This is a follow-up for https://github.com/NVIDIA/spark-rapids/pull/13151, suggested from the comment at https://github.com/NVIDIA/spark-rapids/pull/13151#pullrequestreview-3047655091. We can try to address this after Spark adds `CharType` or `VarcharType` support to some SQL functions or operators.