user3128812
user3128812

Reputation: 1

Convert from ISO to custom format pig

I would to like to convert ISO format date string to a custom format. I don't see any functions in Pig 0.10. I saw functions like DATE_TIME from Amazon but they seem to open only to Amazon customers. Can someone please help if the there is a UDF for conversion like ISO to customformat ?

Upvotes: 0

Views: 194

Answers (1)

Jakub Kotowski
Jakub Kotowski

Reputation: 7571

It seems there's only the opposite conversion available directly in the Piggybank:

http://svn.apache.org/viewvc/pig/trunk/contrib/piggybank/java/src/main/java/org/apache/pig/piggybank/evaluation/datetime/convert/

Nothing turns up on GitHub, ...

Upvotes: 1

Related Questions