Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Threaded View
Pig >> mail # user >> Hard-coded inline relations

Copy link to this message
Hard-coded inline relations
I'm new to Pig, and it looks like there is no provision to declare relations inline in a Pig script (without LOADing from an external file)?

Based on
I would have thought the following would constitute "Hello World" for Pig:

A = {('Hello'),('World')};

But I get a syntax error.  The ability to inline relations would be useful for debugging.  Is this limitation by design, or is it just not implemented yet?