Home | About | Sematext search-lucene.com search-hadoop.com
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB
 Search Hadoop and all its subprojects:

Switch to Plain View
Pig >> mail # dev >> Store statement


+
Aniket Mokashi 2013-07-10, 22:05
Copy link to this message
-
Re: Store statement
On the second question, PIG-3136 did something similar with a little extra
syntax.
On Wed, Jul 10, 2013 at 3:05 PM, Aniket Mokashi <[EMAIL PROTECTED]> wrote:

> I found out today that:
> a = store b into 'something';
> is a valid statement in pig.
>
> Is that expected? Should we open a jira to flag error for such a syntax?
> Optionally, we can officially support above syntax and allow doing
> something meaningful with a later on.
>
> On a side note, we can make all the statements except load have optional
> aliases (just a thought)-
> So, essentially,
> foreach b generate something;
> would be equivalent to
> b = foreach b generate something;
>
> [May be there is some discussion about this on some jira, I haven't tried
> to search].
>
> Thanks,
> Aniket
>
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB