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
190
MobDevCon MvvmCross Workshop
cirrious
0
3.4k
Static Version of MvvmCross Evolve talk
cirrious
0
140
Jago?
cirrious
0
180
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
Function Body Macros で、SwiftUI の View に Accessibility Identifier を自動付与する/Function Body Macros: Autogenerate accessibility identifiers for SwiftUI Views
miichan
2
180
S3アクセス制御の設計ポイント
tommy0124
3
200
Generative AI Japan 第一回生成AI実践研究会「AI駆動開発の現在地──ブレイクスルーの鍵を握るのはデータ領域」
shisyu_gaku
0
270
La gouvernance territoriale des données grâce à la plateforme Terreze
bluehats
0
180
MCPで変わる Amebaデザインシステム「Spindle」の開発
spindle
PRO
3
3.2k
スマートファクトリーの第一歩 〜AWSマネージドサービスで 実現する予知保全と生成AI活用まで
ganota
2
220
JTCにおける内製×スクラム開発への挑戦〜内製化率95%達成の舞台裏/JTC's challenge of in-house development with Scrum
aeonpeople
0
230
下手な強制、ダメ!絶対! 「ガードレール」を「檻」にさせない"ガバナンス"の取り方とは?
tsukaman
2
450
OCI Oracle Database Services新機能アップデート(2025/06-2025/08)
oracle4engineer
PRO
0
150
要件定義・デザインフェーズでもAIを活用して、コミュニケーションの密度を高める
kazukihayase
0
110
Snowflake Intelligenceにはこうやって立ち向かう!クラシルが考えるAI Readyなデータ基盤と活用のためのDataOps
gappy50
0
240
現場で効くClaude Code ─ 最新動向と企業導入
takaakikakei
1
250
Featured
See All Featured
VelocityConf: Rendering Performance Case Studies
addyosmani
332
24k
Context Engineering - Making Every Token Count
addyosmani
3
44
Facilitating Awesome Meetings
lara
55
6.5k
Into the Great Unknown - MozCon
thekraken
40
2k
10 Git Anti Patterns You Should be Aware of
lemiorhan
PRO
656
61k
The Art of Programming - Codeland 2020
erikaheidi
56
13k
Bash Introduction
62gerente
615
210k
The Cost Of JavaScript in 2023
addyosmani
53
8.9k
Easily Structure & Communicate Ideas using Wireframe
afnizarnur
194
16k
Building Flexible Design Systems
yeseniaperezcruz
328
39k
GraphQLとの向き合い方2022年版
quramy
49
14k
Automating Front-end Workflow
addyosmani
1370
200k
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