Lock in $30 Savings on PRO—Offer Ends Soon! ⏳
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
220
Data Bind Everything
cirrious
0
5k
MvvmCross - Presentation to BCS Edinburgh
cirrious
0
200
MobDevCon MvvmCross Workshop
cirrious
0
3.4k
Static Version of MvvmCross Evolve talk
cirrious
0
150
Jago?
cirrious
0
190
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
最近のLinux普段づかいWaylandデスクトップ元年
penguin2716
1
680
形式手法特論:CEGAR を用いたモデル検査の状態空間削減 #kernelvm / Kernel VM Study Hokuriku Part 8
ytaka23
2
450
Kubernetes Multi-tenancy: Principles and Practices for Large Scale Internal Platforms
hhiroshell
0
120
安いGPUレンタルサービスについて
aratako
2
2.7k
Lessons from Migrating to OpenSearch: Shard Design, Log Ingestion, and UI Decisions
sansantech
PRO
1
120
直接メモリアクセス
koba789
0
290
エンジニアリングをやめたくないので問い続ける
estie
2
1.1k
LLM-Readyなデータ基盤を高速に構築するためのアジャイルデータモデリングの実例
kashira
0
230
寫了幾年 Code,然後呢?軟體工程師必須重新認識的 DevOps
cheng_wei_chen
1
1.3k
因果AIへの招待
sshimizu2006
0
940
世界最速級 memcached 互換サーバー作った
yasukata
0
330
手動から自動へ、そしてその先へ
moritamasami
0
300
Featured
See All Featured
The Language of Interfaces
destraynor
162
25k
The Art of Delivering Value - GDevCon NA Keynote
reverentgeek
16
1.8k
Let's Do A Bunch of Simple Stuff to Make Websites Faster
chriscoyier
508
140k
Dealing with People You Can't Stand - Big Design 2015
cassininazir
367
27k
Imperfection Machines: The Place of Print at Facebook
scottboms
269
13k
How GitHub (no longer) Works
holman
316
140k
Making the Leap to Tech Lead
cromwellryan
135
9.7k
Fantastic passwords and where to find them - at NoRuKo
philnash
52
3.5k
Scaling GitHub
holman
464
140k
[SF Ruby Conf 2025] Rails X
palkan
0
510
YesSQL, Process and Tooling at Scale
rocio
174
15k
Raft: Consensus for Rubyists
vanstee
141
7.2k
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