While using Pig for ETL, I'm putting processed data in Hive using the HCatStorer:
STORE dataprocessed INTO 'database.table' USING org.apache.hcatalog.pig.HCatStorer();
My goal is to make the data of the destination table usable either from Pig or from Hive (depending on the skills of the user)
What is the recommended format to store datetime?
I care of:
- Storing timezone info
- Being able to compare dates
- Being human readable (as an example, I don't believe timestamp are human readable)
Thanks for the help