I want to get the last element from the Array that return from Spark SQL split() function.
split(4:3-2:3-5:4-6:4-5:2,\'-\')
I know it can get b
use split(MY_COLUMN,'-').getItem(0) if you are using Java