Re: Hard-coded inline relations

2013-01-24 Thread Dmitriy Ryaboy
Ok you can build it from my EB branch: https://github.com/dvryaboy/elephant-bird/tree/add_locationtuple_loader You will want to build the elephant-bird-pig package, and the loader is com.twitter.elephantbird.pig.load.LocationAsTuple Here's the javadoc: /** * Parses the "location" into a tuple

Re: Hard-coded inline relations

2013-01-24 Thread Dmitriy Ryaboy
I have a loader that does exactly that. Let me see about dropping into Elephant-Bird. On Thu, Jan 24, 2013 at 8:15 AM, Alan Gates wrote: > I agree this would be useful for debugging, but I'd go about it a > different way. Rather than add new syntax as you propose, it seems we > could easily cr

Re: Hard-coded inline relations

2013-01-24 Thread Alan Gates
I agree this would be useful for debugging, but I'd go about it a different way. Rather than add new syntax as you propose, it seems we could easily create an inline loader, so your script would look something like: A = load '{(Hello), (World)}' using InlineLoader(); dump A; Alan. On Jan 18,