I'm trying to create hive table with multi-delimiter (I can't use multi delimiter serde in hive as we need to update the jar file),for example I want to split the following string with a two-character delimiter #$
:
1234#$CSI#$MAN # NO#$MANN#$1212#$N
The desired result is:
1234 | CSI | MAN # NO | MANN |1212 | N
When I have tried #$
the result is
1234 | CSI | MAN | NO | MANN |1212 | N
How could I split the string with a two-character delimiter #$
?