[ 
https://issues.apache.org/jira/browse/PIG-123?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12573223#action_12573223
 ] 

pi_song edited comment on PIG-123 at 2/28/08 5:06 AM:
------------------------------------------------------

This patch includes implementation of the above spec.
A new test case also included (TestPigScriptParser) which tests 3 special cases

- single quote escape
- \n escape
- \uxxxx unicode escape

All unit tests passed.

Ready to be committed

**Please mark this as patch available**

      was (Author: pi_song):
    This patch includes implementation of the above spec.
A new test case also included (TestPigScriptParser) which tests 3 special cases

- single quote escape
- \n escape
- \uxxxx unicode escape

All unit tests passed.

Ready to be committed
  
> cannot escape single quotes in single quoted strings when using the eq or 
> match operator
> ----------------------------------------------------------------------------------------
>
>                 Key: PIG-123
>                 URL: https://issues.apache.org/jira/browse/PIG-123
>             Project: Pig
>          Issue Type: Bug
>            Reporter: andrei badulescu
>         Attachments: PIG-123_escape_char.patch, pig_escape_patch1.patch
>
>
> a query like this :
> filter c by ( c.string eq 'hell\'s angels' OR c.string eq 'blue\'s clues')  
> generates an error with the pig parser, because the parser does not allow 
> single quotes (') within single quotes, even if they are escaped with a 
> backslash. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to