pig-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nezih Yigitbasi (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (PIG-3566) Cannot set useMatches of REGEX_EXTRACT_ALL and REGEX_EXTRACT
Date Wed, 27 Nov 2013 20:33:37 GMT

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

Nezih Yigitbasi updated PIG-3566:
---------------------------------

    Attachment: PIG-3566.1.patch

Fixed the TestBuiltin test class.

> Cannot set useMatches of REGEX_EXTRACT_ALL and REGEX_EXTRACT
> ------------------------------------------------------------
>
>                 Key: PIG-3566
>                 URL: https://issues.apache.org/jira/browse/PIG-3566
>             Project: Pig
>          Issue Type: Bug
>    Affects Versions: 0.12.0
>            Reporter: Nezih Yigitbasi
>            Assignee: Nezih Yigitbasi
>         Attachments: PIG-3566.1.patch, PIG-3566.patch
>
>
> In the javadoc of REGEX_EXTRACT_ALL and REGEX_EXTRACT it says we can set the 'useMatches'
property of these UDFs with DEFINE statements:
> DEFINE GREEDY_EXTRACT REGEX_EXTRACT_ALL(false);
> DEFINE NON_GREEDY_EXTRACT REGEX_EXTRACT(false);
> However, both of these do not work (2013-11-07 15:35:15,107 [main] ERROR org.apache.pig.tools.grunt.Grunt
- ERROR 1200: <line 7, column 40>  mismatched input 'false' expecting RIGHT_PAREN)
> These UDFs should take string arguments to their constructors.



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Mime
View raw message