Error: projection with nothing to reference
-
Key: PIG-2320
URL: https://issues.apache.org/jira/browse/PIG-2320
Project: Pig
Issue Type: Bug
Affects Versions: 0.9.0, 0.10
Reporter:
I imagine I know what the answer is, but thought I'd ask.
Let's say I have
class FooT extends EvalFuncT
and I want the equivalent of
FuncSpec funcspec=new FuncSpec(org.path.to.FooDouble(info));
Is this possible? Or am I going to have to make
DoubleFoo, FloatFoo, etc that set the generic type
Generics are lost after compilation anyway, so this doesn't really matter --
the check that you are returning the right type is a compile-time thing. We
get around that in elephant-bird by setting the type our generic loaders are
supposed to work with in UDFContext; sadly, regular UDFs don't
[
https://issues.apache.org/jira/browse/PIG-2317?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jonathan Coveney updated PIG-2317:
--
Attachment: pigjruby.rb
PigUdf.rb
jruby_scripting_3.patch
Ok, so