Sign in
apache
/
pig
/
refs/heads/branch-0.10
/
.
/
test
/
e2e
/
pig
/
macros
/
macro1.pig
blob: 15abc0b04f2464cb13dee602b781add70c9d1e89 [
file
] [
log
] [
blame
]
define simple_macro
(
in_relation
,
min_gpa
,
max_age
)
returns c
{
b
=
filter $in_relation
by
gpa
>=
$min_gpa
and
age
<=
$max_age
;
$c
=
foreach
b generate age
,
name
;
};