I have a use case where I only need to store certain fields to HDFS. I know I can do some foreach and so on to preserve fields of interest but I am wondering whether this is doable in Store function.
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
This is possible using your custom
Storefunction: http://ofps.oreilly.com/titles/9781449302641/load_and_store_funcs.htmlBut in general it is much easier to use
GENERATEand store desired fields in some other tuple, that will be used only inSTOREfunction