recent regression wrt FrontendException: ERROR 1000
---------------------------------------------------
Key: PIG-2160
URL: https://issues.apache.org/jira/browse/PIG-2160
Project: Pig
Issue Type: Bug
Reporter: Woody Anderson
i recently svn up'd http://svn.apache.org/repos/asf/pig/branches/branch-0.9
and rebuilt and tested the Antispam pig loader against the new 0.9.1 jar ensure
everything is fine.
this was working previously.. when the build version for the branch was 0.9.0
currently not working at Revision: 1145388
it's not, and i'm a bit confused, so hopefully someone can help me out:
contents of ./target/surefire-reports/TEST-com.XTest.xml:
..
<error message="Error during parsing. <line 1, column 113> mismatched
input '(' expecting SEMI_COLON"
type="org.apache.pig.impl.logicalLayer.FrontendException">org.apache.pig.impl.logicalLayer.FrontendException:
ERROR 1000: Error during parsing. <line 1, column 113> mismatched input
'(' expecting SEMI_COLON
at org.apache.pig.PigServer$Graph.parseQuery(PigServer.java:1638)
at org.apache.pig.PigServer$Graph.registerQuery(PigServer.java:1583)
at org.apache.pig.PigServer.registerQuery(PigServer.java:583)
at org.apache.pig.PigServer.registerQuery(PigServer.java:596)
at com...XTest.testLoadData(XTest.java:74)
..
that test code method looks like this:
@SuppressWarnings("unchecked")
@Test
public void testLoadData() throws Exception {
...
PigServer pigServer = new PigServer(ExecType.LOCAL);
pigServer.registerQuery("A = load 'file:" +
Util.encodeEscape(f.getAbsolutePath()) + "' using com.Storage(" +
"'a, b, c, d, e, f, g, h, i'" +
") as (a:chararray, b:long, c:chararray,
d:chararray, e:int, f:chararray, g:int, h:int, i:int);");
... }
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira