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

pi_song edited comment on PIG-123 at 3/5/08 3:48 AM:
-----------------------------------------------------

Here it is.

The test is done at Parser level and subsequently Consts in LogicalOps are 
checked.
This test took 0.283 seconds on my machine.

In fact, I see this patch as an improvement rather than a bug fix.

Please mark as patch available.

      was (Author: pi_song):
    Here it is.

The test is done at Parser level and subsequencely Consts in LogicalOps are 
checked.
This test took 0.283 seconds on my machine.

Please mark as patch available
  
> 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, 
> Pig123_EscapeCharSupport.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