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
New Cache Hierarchy for Container Images and OCI Artifacts in Kubernetes Clusters using Containerd / KubeCon + CloudNativeCon Japan
pfn
PRO
0
150
Data Hubグループ 紹介資料
sansan33
PRO
0
1.8k
kotlin-lsp を Emacs で使えるようにしてみた / use kotlin-lsp in Emacs
nabeo
0
140
今からでも間に合う! 生成AI「RAG」再入門 / Re-introduction to RAG in Generative AI
hideakiaoyagi
1
160
Digitization部 紹介資料
sansan33
PRO
1
4.2k
名刺メーカーDevグループ 紹介資料
sansan33
PRO
0
770
Create a Rails8 responsive app with Gemini and RubyLLM
palladius
0
110
生成AIをテストプロセスに活用し"よう"としている話 #jasstnano
makky_tyuyan
0
140
「どこにある?」の解決。生成AI(RAG)で効率化するガバメントクラウド運用
toru_kubota
2
350
白金鉱業Meetup_Vol.19_PoCはデモで語れ!顧客の本音とインサイトを引き出すソリューション構築
brainpadpr
2
270
QAはソフトウェアエンジニアリングを学んで実践するのが大事なの
ymty
1
370
(新URLに移行しました)FASTと向き合うことで見えた、大規模アジャイルの難しさと楽しさ
wooootack
0
680
Featured
See All Featured
[RailsConf 2023 Opening Keynote] The Magic of Rails
eileencodes
29
9.5k
The Pragmatic Product Professional
lauravandoore
35
6.7k
[Rails World 2023 - Day 1 Closing Keynote] - The Magic of Rails
eileencodes
35
2.3k
Gamification - CAS2011
davidbonilla
81
5.3k
No one is an island. Learnings from fostering a developers community.
thoeni
21
3.3k
Why You Should Never Use an ORM
jnunemaker
PRO
56
9.4k
Making the Leap to Tech Lead
cromwellryan
134
9.3k
Large-scale JavaScript Application Architecture
addyosmani
512
110k
Creating an realtime collaboration tool: Agile Flush - .NET Oxford
marcduiker
30
2.1k
Rebuilding a faster, lazier Slack
samanthasiow
81
9k
BBQ
matthewcrist
89
9.7k
Writing Fast Ruby
sferik
628
61k
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