[jira] [Created] (PIG-2320) Error: projection with nothing to reference

2011-10-15 Thread Jonathan Coveney (Created) (JIRA)
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:

Is it possible to instantiate a generic type with funcspec?

2011-10-15 Thread Jonathan Coveney
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

Re: Is it possible to instantiate a generic type with funcspec?

2011-10-15 Thread Dmitriy Ryaboy
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

[jira] [Updated] (PIG-2317) Ruby/Jruby UDFs

2011-10-15 Thread Jonathan Coveney (Updated) (JIRA)
[ 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