You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pig.apache.org by "David Wannemacher (JIRA)" <ji...@apache.org> on 2013/04/23 21:11:16 UTC

[jira] [Updated] (PIG-3291) TestExampleGenerator fails on Windows because of lack of file name escaping

     [ https://issues.apache.org/jira/browse/PIG-3291?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

David Wannemacher updated PIG-3291:
-----------------------------------

    Attachment: PIG-3291.trunk.patch

Fixes the problem on windows and tested on linux
                
> TestExampleGenerator fails on Windows because of lack of file name escaping
> ---------------------------------------------------------------------------
>
>                 Key: PIG-3291
>                 URL: https://issues.apache.org/jira/browse/PIG-3291
>             Project: Pig
>          Issue Type: Bug
>    Affects Versions: 0.12
>         Environment: Windows
>            Reporter: David Wannemacher
>             Fix For: 0.12
>
>         Attachments: PIG-3291.trunk.patch
>
>
> On Windows, all tests fail with an exception like this:
> Testcase: testFilterGroupCountStore took 0.022 sec
> 	Caused an ERROR
> Error during parsing. <line 1, column 228>  Unexpected character 'S'
> org.apache.pig.impl.logicalLayer.FrontendException: ERROR 1000: Error during parsing. <line 1, column 228>  Unexpected character 'S'
> 	at org.apache.pig.PigServer$Graph.parseQuery(PigServer.java:1669)
> 	at org.apache.pig.PigServer$Graph.registerQuery(PigServer.java:1607)
> 	at org.apache.pig.PigServer.registerQuery(PigServer.java:563)
> 	at org.apache.pig.PigServer.registerQuery(PigServer.java:576)
> 	at org.apache.pig.test.TestExampleGenerator.testFilterGroupCountStore(TestExampleGenerator.java:394)
> Caused by: Failed to parse: <line 1, column 228>  Unexpected character 'S'
> 	at org.apache.pig.parser.QueryParserDriver.parse(QueryParserDriver.java:235)
> 	at org.apache.pig.parser.QueryParserDriver.parse(QueryParserDriver.java:174)
> 	at org.apache.pig.PigServer$Graph.parseQuery(PigServer.java:1660)
> Looks like a change in https://issues.apache.org/jira/browse/PIG-2170 caused the file names to stop being escaped properly.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira