|
|
-
Parenthesis not being added by parserAlejandro Guerrero Gonzal... 2012-10-08, 19:02
Hello,
I am using Pig's QueryParser.g in order to construct an AST from a query and AstPrinter.g to print it back as a String from the AST. However, I noticed that with this query: players = load 'baseball' as (name:chararray, team:chararray, > position:bag{t:(p:chararray)}, bat:map[]); constructing the query back from the AST gives an error: line 1:49 missing LEFT_PAREN at 'p' > line 1:60 missing RIGHT_PAREN at '}' Might there be a bug in either of the files? Best, Alejandro |