×
  • Share
  • Email
  • Embed
  • Like
  • Save
  • Private Content
 

Pig programming is more fun: New features in Pig

by on Jun 19, 2012

  • 7,401 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.

Statistics

Views

Total Views
7,401
Views on SlideShare
7,389
Embed Views
12

Actions

Likes
6
Downloads
131
Comments
1

5 Embeds 12

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

Accessibility

Categories

Upload Details

Uploaded via SlideShare as Microsoft PowerPoint

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel

11 of 1 previous next

  • zhaoxianyu zhaoxianyu good, look forward to more interesting pig stuff and tutorials 1 year ago
    Are you sure you want to
    Your message goes here
    Processing…
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