我明白了
Undefined alias: ZZ
此宏出错:
define chop (my, name, maxev) returns grouped, massive {
gr = foreach (group $my by id) generate group as id, $name;
split gr into
massive if COUNT($name) > $maxev,
ZZ otherwise;
$grouped = ZZ;
$massive = foreach massive generate id, COUNT($name) as $name;
};
A, massive = chop(A, 'abc', '$MAX_EVENTS');
当我尝试的时候
split gr into
massive if COUNT($name) > $maxev,
$grouped otherwise;
相反,我得到了
Macro 'chop' missing return alias: grouped
暂无答案!
目前还没有任何答案,快来回答吧!