Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
How to make a PIG UDF
Search
Stuart Lodge
November 06, 2012
Technology
1
2.1k
How to make a PIG UDF
A C# Developers intro...
Stuart Lodge
November 06, 2012
Tweet
Share
More Decks by Stuart Lodge
See All by Stuart Lodge
Future Decoded - VisualStudio and Xamarin talk
cirrious
0
210
Data Bind Everything
cirrious
0
4.9k
MvvmCross - Presentation to BCS Edinburgh
cirrious
0
180
MobDevCon MvvmCross Workshop
cirrious
0
3.4k
Static Version of MvvmCross Evolve talk
cirrious
0
130
Jago?
cirrious
0
170
Presenters in MvvmCross
cirrious
1
32k
Saying SOLID with PCL
cirrious
0
3.5k
Using SQLite.Net In MvvmCross
cirrious
0
1.1k
Other Decks in Technology
See All in Technology
DBのスキルで生き残る技術 - AI時代におけるテーブル設計の勘所
soudai
PRO
55
22k
Rethinking Incident Response: Context-Aware AI in Practice
rrreeeyyy
1
390
ClaudeCodeにキレない技術
gtnao
0
560
【LT会登壇資料】TROCCO新コネクタ「スマレジ」を活用した直営店データの分析
kazari0425
1
170
Operating Operator
shhnjk
1
650
推し書籍📚 / Books and a QA Engineer
ak1210
0
120
いつの間にか入れ替わってる!?新しいAWS Security Hubとは?
cmusudakeisuke
0
160
【あのMCPって、どんな処理してるの?】 AWS CDKでの開発で便利なAWS MCP Servers特集
yoshimi0227
6
730
マーケットプレイス版Oracle WebCenter Content For OCI
oracle4engineer
PRO
3
990
第64回コンピュータビジョン勉強会「The PanAf-FGBG Dataset: Understanding the Impact of Backgrounds in Wildlife Behaviour Recognition」
x_ttyszk
0
170
スタックチャン家庭用アシスタントへの道
kanekoh
0
110
american airlines®️ USA Contact Numbers: Complete 2025 Support Guide
supportflight
1
120
Featured
See All Featured
CSS Pre-Processors: Stylus, Less & Sass
bermonpainter
357
30k
10 Git Anti Patterns You Should be Aware of
lemiorhan
PRO
656
60k
Let's Do A Bunch of Simple Stuff to Make Websites Faster
chriscoyier
507
140k
Thoughts on Productivity
jonyablonski
69
4.7k
"I'm Feeling Lucky" - Building Great Search Experiences for Today's Users (#IAC19)
danielanewman
229
22k
Build The Right Thing And Hit Your Dates
maggiecrowley
37
2.8k
Connecting the Dots Between Site Speed, User Experience & Your Business [WebExpo 2025]
tammyeverts
7
330
Speed Design
sergeychernyshev
32
1k
Practical Tips for Bootstrapping Information Extraction Pipelines
honnibal
PRO
20
1.3k
Creating an realtime collaboration tool: Agile Flush - .NET Oxford
marcduiker
30
2.1k
GraphQLの誤解/rethinking-graphql
sonatard
71
11k
Testing 201, or: Great Expectations
jmmastey
43
7.6k
Transcript
How to make a PIG UDF An Eclipse Beginners Guide…
The Java UDF ‘how to’ http://pig.apache.org/docs/r0.8.1/udf.html
Simple UDF Script -- myscript.pig REGISTER myudfs.jar; A = LOAD
'student_data' AS (name: chararray, age: int, gpa: float); B = FOREACH A GENERATE myudfs.UPPER(name); DUMP B;
The simple UDF
So… let’s write this UDF… 1. Start Eclipse 2. Create
a new Java Project 3. Add pig.jar as an external Jar 4. Write our UDF class 5. Compile to a JAR
So… let’s write this UDF… 1. Start Eclipse 2. Create
a new Java Project 3. Add pig.jar as an external Jar 4. Write our UDF class 5. Compile to a JAR
So… let’s write this UDF… 1. Start Eclipse 2. Create
a new Java Project 3. Add pig.jar as an external Jar 4. Write our UDF class 5. Compile to a JAR
So… let’s write this UDF… 1. Start Eclipse 2. Create
a new Java Project 3. Add pig.jar as an external Jar 4. Write our UDF class 5. Compile to a JAR
So… let’s write this UDF… 1. Start Eclipse 2. Create
a new Java Project 3. Add pig.jar as an external Jar 4. Write our UDF class 5. Compile to a JAR
1. Start Eclipse 2. Create a new Java Project 3.
Add pig.jar as an external Jar 4. Write our UDF class 5. Compile to a JAR So… let’s write this UDF…
That’s it! www.newgrove.com