some doubts in Pig

1. where the relations stored in pig?
2. how to see what relations are present in pig?
3. how to know whether pig is running in local mode or mapreduce mode?
4. Can't we reuse the relations (Schema/structure)? Need to run Load statement every time to create relations?
5. How to delete the relations?

1 Answer(s)


hi Venkata,

Pig relations are stored temporarily in "Pig Storage" , you cannot see the relations, but check the definition of relation using the "DESCRIBE" command in Pig shell

Once you exit the Pig shell all relations are removed