• Email
  • Like
  • Save
  • Private Content
  • Embed
 

Pig programming is more fun: New features in Pig

by on Jun 18, 2012

  • 3,567 views

In the last year, we add lots of new language features into Pig. Pig programing is much more easier than before. With Pig Macro, we can write functions for Pig and we can modularize Pig program. Pig ...

In the last year, we add lots of new language features into Pig. Pig programing is much more easier than before. With Pig Macro, we can write functions for Pig and we can modularize Pig program. Pig embedding allow use to embed Pig statement into Python and make use of rich language features of Python such as loop and branch. Java is no longer the only choice to write Pig UDF, we can write UDF in Python, Javascript and Ruby. Nested foreach and cross gives us more ways to manipulate data, which is not possible before. We also add tons of syntax sugar to simplify the Pig syntax. For example, direct syntax support for map, tuple and bag, project range expression in foreach, etc. We also revive the support for illustrate command to ease the debugging. In this paper, I will give an overview of all these features and illustrate how to use these features to program more efficiently in Pig. I will also give concrete example to demonstrate how Pig language evolves overtime with these language improvements.

Accessibility

Categories

Upload Details

Uploaded via SlideShare as Microsoft PowerPoint

Usage Rights

© All Rights Reserved

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate. If needed, use the feedback form to let us know more details.

Cancel

4 Embeds 7

https://twitter.com 3
http://us-w1.rockmelt.com 2
http://tweetedtimes.com 1
https://si0.twimg.com 1

Statistics

Likes
4
Downloads
84
Comments
1
Embed Views
7
Views on SlideShare
3,560
Total Views
3,567

11 of 1 previous next

  • zhaoxianyu zhaoxianyu good, look forward to more interesting pig stuff and tutorials 7 months ago
    Are you sure you want to
Post Comment
Edit your comment

Pig programming is more fun: New features in Pig Pig programming is more fun: New features in Pig Presentation Transcript