I agree, I have written the UDF and use it within my company. Just not sure why this is not included yet in trunk. I will open a Jira and work on it. Will extend the current TOKENIZE to accept a custom delimiter.
Thanks Jonathan! On Wed, Dec 14, 2011 at 3:54 PM, Jonathan Coveney <[email protected]>wrote: > Actually, I take that back. If you give it 2 arguments, it should use the > second as the delimiter. It's been done :D > > 2011/12/14 Jonathan Coveney <[email protected]> > > > It would be very easy to extend TOKENIZE to have a constructor that > > accepts however many delimiters. I'm not sure why this hasn't been > > done...if there isn't some design reason why this shouldn't be done, it'd > > be a 3 line patch. Make a ticket and I'll do it if you don't want to :) > > > > > > 2011/12/14 Prashant Kommireddi <[email protected]> > > > >> TOKENIZE UDF parses input based on defaults " \",()*" > >> We should have a UDF that takes in a delimiter as argument and parses > >> based > >> on that. Thoughts? > >> > >> -Prashant > >> > > > > >
