> Right - this was my point. Dropping the 'as' clause forces you to use > positional specifiers, which don't seem to have the same issue. Seems like > this would warrant a JIRA, if only to document the distinction a bit better.
Yeah but it my example I _am_ using position specifiers in the STRSPLIT function, and it fails. The thing that apparently makes it fail is just having the named column or column type defined on the relation. See line 8 below - positional specifier. >> 5. grunt> A = LOAD 'bin-proto-4'; >> 6. grunt> MOVEMENT = FILTER A BY (chararray) $0 == 'Movement'; >> 7. grunt> TEST = FOREACH MOVEMENT GENERATE $3 AS startpos:chararray; >> 8. grunt> POSA = FOREACH TEST GENERATE STRSPLIT($0, '/'); >> 9. grunt> DUMP POSA; >> () >> ()
