Hi, I've written a storage UDF for the Snappy compression algorithm. I based it on the code I've found on elephant bird ( https://github.com/twitter/elephant-bird), the Twitter's github Hadoop-related repository.
Take at look at this code: https://github.com/twitter/elephant-bird/blob/master/pig/src/main/java/com/twitter/elephantbird/pig/store/LzoPigStorage.java It's a storage function for LZO. Maybe you can build something upon this instead of writing something from scratch. Best, Rodrigo. 2014-11-03 12:07 GMT-02:00 leiwang...@gmail.com <leiwang...@gmail.com>: > > Seems PigStorage is not able to handle zip file correctly. > Any example of how to write a loader to hanle zip file? > > > > leiwang...@gmail.com >