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

Switch to Plain View
Pig, mail # user - Multi line parameter value?

Copy link to this message
Multi line parameter value?
Sajid Raza 2013-06-25, 16:44
I don't suppose it's possible to specify a parameter with a multi line

My use case is that I have a macro that groups over an alias, and I would
like to not hard-code what aggregate values I compute.

If I could pass in a multi line parameter value, I would be able to do
something like:

set my_param = 'SUM(foo) as bar, \
                             SUM (bazz) as boo';

my_alias = compute_aggreate(some_alias, my_param);
Shahab Yunus 2013-06-25, 17:03
Johnny Zhang 2013-06-25, 18:49
Sajid Raza 2013-06-25, 20:02
Johnny Zhang 2013-06-25, 20:15