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
1.9k
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
190
Data Bind Everything
cirrious
0
4.7k
MvvmCross - Presentation to BCS Edinburgh
cirrious
0
160
MobDevCon MvvmCross Workshop
cirrious
0
3.2k
Static Version of MvvmCross Evolve talk
cirrious
0
100
Jago?
cirrious
0
130
Presenters in MvvmCross
cirrious
1
31k
Saying SOLID with PCL
cirrious
0
3.3k
Using SQLite.Net In MvvmCross
cirrious
0
1.1k
Other Decks in Technology
See All in Technology
VSCodeの拡張機能を作っている話
ebarakazuhiro
1
830
【基本】データベース設計
oracle4engineer
PRO
2
230
Amplify 🩷 Bedrock 〜生成AI入門〜
minorun365
PRO
8
1k
Building a RAG-poweredAI chat appwith Python and VS Code
pamelafox
0
160
Handling focus in 2024
tahia910
0
250
Microsoft for Startups Founders Hub_20240429 update
daikikanemitsu
1
2.4k
個人のAWSアカウントをマルチ運用してみた
miura55
2
190
Autonomous Database Cloud 技術詳細 / adb-s_technical_detail_jp
oracle4engineer
PRO
15
35k
Zero Data Loss Autonomous Recovery Service サービス概要
oracle4engineer
PRO
0
1.9k
実例で紹介するRAG導入時の知見と精度向上の勘所
yamahiro
7
1.9k
成長をサポートするピープルマネジメントのやり方
sioncojp
9
1.3k
LangSmith入門―トレース/評価/プロンプト管理などを担うLLMアプリ開発プラットフォーム
os1ma
5
760
Featured
See All Featured
Building Effective Engineering Teams - LeadDev
addyosmani
32
1.9k
The Cost Of JavaScript in 2023
addyosmani
21
3.9k
Raft: Consensus for Rubyists
vanstee
133
6.3k
4 Signs Your Business is Dying
shpigford
176
21k
Gamification - CAS2011
davidbonilla
77
4.6k
実際に使うSQLの書き方 徹底解説 / pgcon21j-tutorial
soudai
123
39k
RailsConf 2023
tenderlove
9
560
Music & Morning Musume
bryan
41
5.6k
jQuery: Nuts, Bolts and Bling
dougneiner
60
7.2k
Designing with Data
zakiwarfel
96
4.8k
For a Future-Friendly Web
brad_frost
172
9k
The Success of Rails: Ensuring Growth for the Next 100 Years
eileencodes
34
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