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
2.3k
1
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
How to make a PIG UDF
A C# Developers intro...
Stuart Lodge
November 06, 2012
More Decks by Stuart Lodge
See All by Stuart Lodge
Future Decoded - VisualStudio and Xamarin talk
cirrious
0
240
Data Bind Everything
cirrious
0
5.2k
MvvmCross - Presentation to BCS Edinburgh
cirrious
0
220
MobDevCon MvvmCross Workshop
cirrious
0
3.7k
Static Version of MvvmCross Evolve talk
cirrious
0
180
Jago?
cirrious
0
230
Presenters in MvvmCross
cirrious
1
33k
Saying SOLID with PCL
cirrious
0
3.7k
Using SQLite.Net In MvvmCross
cirrious
0
1.2k
Other Decks in Technology
See All in Technology
EMの役割で 変わったこと・変わらなかったこと
sansantech
PRO
0
190
顧客の要望は2次情報である 〜アンテナを張るFDEの構造論〜
noriakioji
5
1k
ブラウザで変わるID連携(OAuth/OIDC Numa (Immersion) Workshop 2026)
oidfj
PRO
0
350
internal/testlog で遊ぼう
rokuosan
0
280
Kiro5兄弟のいまどきのセキュリティ基礎知識
kentapapa
0
380
VPCでもFloatingIPを使いたいんだ
y_kotani
1
120
『自分で判断できるか』を基準に、プロダクトのハンズオン研修でAI利用の線を引いてみた / Where We Drew the Line on AI in Hands-on Training
honyanya
0
430
AI駆動開発を組織で促すために
lycorptech_jp
PRO
7
8.6k
サービス内で複数のOP・ASを連鎖させる(OAuth/OIDC Numa (Immersion) Workshop 2026)
oidfj
PRO
0
350
atproto spaces概要
yamarten
0
110
カーネルまで探検して理解するふたつの自動計装
sumiyae
0
330
Claude Codeの体系的な理解と知識のフック
oikon48
8
6k
Featured
See All Featured
Faster Mobile Websites
deanohume
310
32k
The SEO Collaboration Effect
kristinabergwall1
1
530
A Tale of Four Properties
chriscoyier
163
24k
Exploring the relationship between traditional SERPs and Gen AI search
raygrieselhuber
PRO
2
4.3k
Design in an AI World
tapps
1
290
How to build an LLM SEO readiness audit: a practical framework
nmsamuel
1
880
It's Worth the Effort
3n
188
29k
The agentic SEO stack - context over prompts
schlessera
0
880
Ruling the World: When Life Gets Gamed
codingconduct
0
310
Side Projects
sachag
455
43k
How to optimise 3,500 product descriptions for ecommerce in one day using ChatGPT
katarinadahlin
PRO
2
3.8k
Neural Spatial Audio Processing for Sound Field Analysis and Control
skoyamalab
0
420
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