I am looking for a in-built String split function in Hive? e.g. if String is:
A|B|C|D|E
Then I want to have a function like:
Another interesting usecase for split in Hive is when, for example, a column ipname in the table has a value "abc11.def.ghft.com" and you want to pull "abc11" out:
ipname
SELECT split(ipname,'[\.]')[0] FROM tablename;