Dr.Manish Kumar Jain

International Corporate Trainer | Technical Consultant | Data Scientist | IoT Solution Architect | Blockchain Architect | Industry 4.0 Architect

Thursday, 10 January 2019

PIG

Grunt>A = LOAD '/user/cloudera/mymovie' using PigStorage(',') as (col1: int,col2:chararray,col3:chararray,col4:chararray,col5:chararray);


Grunt> DUMP A;

Grunt> B = FOREACH A generate col1,col4,col5;

Grunt> DUMP B;
Posted by Dr.Manish Jain at 11:49
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest

No comments:

Post a Comment

Newer Post Older Post Home
Subscribe to: Post Comments (Atom)

About Me

My photo
Dr.Manish Jain
www.manishkumarjain.com
View my complete profile

Blog Archive

  • ►  2022 (1)
    • ►  January (1)
  • ►  2020 (19)
    • ►  October (3)
    • ►  March (9)
    • ►  February (2)
    • ►  January (5)
  • ▼  2019 (181)
    • ►  December (13)
    • ►  November (4)
    • ►  October (9)
    • ►  September (21)
    • ►  August (4)
    • ►  July (29)
    • ►  June (12)
    • ►  May (38)
    • ►  April (25)
    • ►  March (7)
    • ►  February (6)
    • ▼  January (13)
      • Shiny Table example
      • Payroll Solidity
      • Spart link
      • Spark MR WC
      • MR using JAVA
      • sqoop dataset
      • Sqoop
      • Most occurred first character in the word of a fi...
      • PIG WC
      • PIG more functions
      • PIG
      • CREATE TABLE feedback_vnr(comments STRING); load...
      • Most occurred first character in the word of a file
  • ►  2018 (20)
    • ►  December (2)
    • ►  November (8)
    • ►  October (4)
    • ►  September (6)
  • ►  2017 (6)
    • ►  August (2)
    • ►  May (3)
    • ►  January (1)
Travel theme. Theme images by konradlew. Powered by Blogger.