You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@hive.apache.org by Awhan Patnaik <aw...@spotzot.com> on 2016/02/06 16:04:14 UTC

split string into constituent chars

split("abc", "") results in ["a", "b", "c", ""]. What is that 4th component
in the result and how do I avoid getting that in the output?

hive --version
Hive 1.1.0-cdh5.4.5
Subversion
file:///data/jenkins/workspace/generic-package-ubuntu64-14-04/CDH5.4.5-Packaging-Hive-2015-08-12_13-54-14/hive-1.1.0+cdh5.4.5+199-1.cdh5.4.5.p0.8~trusty
-r Unknown
Compiled by jenkins on Wed Aug 12 14:10:01 PDT 2015
>From source with checksum f167f9f17e615acdb2ed76af592c03e6