I like this idea, and I think we should deprecate the old syntax, and we can discuss later when it'd get deleted (and when that would be worth it... if we have a new syntax, it seems pretty painless to have the other one float around for backwards compatibility, and if anyone uses it it's a sort of "caveat emptor").
2012/4/8 Aniket Mokashi <[email protected]> > Hi, > > I have noticed early users of pig often hit issues because of confusing > syntax between scalars and projections. I think scalar syntax should be > made more explicit for users to use in order to avoid these problems. For > example- D = foreach C generate B->count; etc. > I am sure we might break some backward compatibility but we can at least > deprecate the syntax for a few versions and eventually move to new syntax. > > Thoughts? > > Thanks, > Aniket >
