Support Questions

Find answers, ask questions, and share your expertise
Announcements
Check out our newest addition to the community, the Cloudera Data Analytics (CDA) group hub.

Question PIG and HIVE Code

New Contributor

Hi, i need to know how to create a code in both PIG and Hive for this data: 

FrankUAM_0-1666022726138.png

I need to obtain the sum of the newcases for the continents, as well as which country has had the highest number of cases in each continent and their number. somethig like:

FrankUAM_2-1666023196310.png

 

For pig i was trying somethig like: 

FrankUAM_1-1666022911623.png

Any one knows how to do it?

 

Thanks.

0 REPLIES 0
Take a Tour of the Community
Don't have an account?
Your experience may be limited. Sign in to explore more.