[jira] [Updated] (PIG-2507) Semicolon in paramenters for UDF results in parsing error
[ https://issues.apache.org/jira/browse/PIG-2507?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Cheolsoo Park updated PIG-2507: --- Fix Version/s: 0.11.2 Committed to branch 11: http://svn.apache.org/viewvc?view=revision&revision=1514056 Updated the fix version. > Semicolon in paramenters for UDF results in parsing error > - > > Key: PIG-2507 > URL: https://issues.apache.org/jira/browse/PIG-2507 > Project: Pig > Issue Type: Bug >Affects Versions: 0.8.0, 0.9.1, 0.10.0, 0.11, 0.11.1 >Reporter: Vivek Padmanabhan >Assignee: Timothy Chen > Fix For: 0.12, 0.11.2 > > Attachments: PIG_2507.patch > > > If I have a semicolon in the parameter passed to a udf, the script execution > will fail with a parsing error. > a = load 'i1' as (f1:chararray); > c = foreach a generate REGEX_EXTRACT(f1, '.;' ,1); > dump c; > The above script fails with the below error > [main] ERROR org.apache.pig.tools.grunt.Grunt - ERROR 1200: line 3, column 0> mismatched character '' expecting ''' > Even replacing the semicolon with Unicode \u003B results in the same error. > c = foreach a generate REGEX_EXTRACT(f1, '.\u003B',1); -- 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
[jira] [Updated] (PIG-2507) Semicolon in paramenters for UDF results in parsing error
[ https://issues.apache.org/jira/browse/PIG-2507?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Timothy Chen updated PIG-2507: -- Affects Version/s: 0.11.1 0.11 > Semicolon in paramenters for UDF results in parsing error > - > > Key: PIG-2507 > URL: https://issues.apache.org/jira/browse/PIG-2507 > Project: Pig > Issue Type: Bug >Affects Versions: 0.8.0, 0.9.1, 0.10.0, 0.11, 0.11.1 >Reporter: Vivek Padmanabhan >Assignee: Timothy Chen > Attachments: PIG_2507.patch > > > If I have a semicolon in the parameter passed to a udf, the script execution > will fail with a parsing error. > a = load 'i1' as (f1:chararray); > c = foreach a generate REGEX_EXTRACT(f1, '.;' ,1); > dump c; > The above script fails with the below error > [main] ERROR org.apache.pig.tools.grunt.Grunt - ERROR 1200: line 3, column 0> mismatched character '' expecting ''' > Even replacing the semicolon with Unicode \u003B results in the same error. > c = foreach a generate REGEX_EXTRACT(f1, '.\u003B',1); -- 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
[jira] [Updated] (PIG-2507) Semicolon in paramenters for UDF results in parsing error
[ https://issues.apache.org/jira/browse/PIG-2507?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Timothy Chen updated PIG-2507: -- Attachment: PIG_2507.patch Added unit test in TestGruntParser for this bug > Semicolon in paramenters for UDF results in parsing error > - > > Key: PIG-2507 > URL: https://issues.apache.org/jira/browse/PIG-2507 > Project: Pig > Issue Type: Bug >Affects Versions: 0.8.0, 0.9.1, 0.10.0 >Reporter: Vivek Padmanabhan >Assignee: Timothy Chen > Attachments: PIG_2507.patch > > > If I have a semicolon in the parameter passed to a udf, the script execution > will fail with a parsing error. > a = load 'i1' as (f1:chararray); > c = foreach a generate REGEX_EXTRACT(f1, '.;' ,1); > dump c; > The above script fails with the below error > [main] ERROR org.apache.pig.tools.grunt.Grunt - ERROR 1200: line 3, column 0> mismatched character '' expecting ''' > Even replacing the semicolon with Unicode \u003B results in the same error. > c = foreach a generate REGEX_EXTRACT(f1, '.\u003B',1); -- 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
[jira] [Updated] (PIG-2507) Semicolon in paramenters for UDF results in parsing error
[ https://issues.apache.org/jira/browse/PIG-2507?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Timothy Chen updated PIG-2507: -- Patch Info: Patch Available > Semicolon in paramenters for UDF results in parsing error > - > > Key: PIG-2507 > URL: https://issues.apache.org/jira/browse/PIG-2507 > Project: Pig > Issue Type: Bug >Affects Versions: 0.8.0, 0.9.1, 0.10.0 >Reporter: Vivek Padmanabhan >Assignee: Timothy Chen > Attachments: PIG_2507.patch > > > If I have a semicolon in the parameter passed to a udf, the script execution > will fail with a parsing error. > a = load 'i1' as (f1:chararray); > c = foreach a generate REGEX_EXTRACT(f1, '.;' ,1); > dump c; > The above script fails with the below error > [main] ERROR org.apache.pig.tools.grunt.Grunt - ERROR 1200: line 3, column 0> mismatched character '' expecting ''' > Even replacing the semicolon with Unicode \u003B results in the same error. > c = foreach a generate REGEX_EXTRACT(f1, '.\u003B',1); -- 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
[jira] [Updated] (PIG-2507) Semicolon in paramenters for UDF results in parsing error
[ https://issues.apache.org/jira/browse/PIG-2507?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Timothy Chen updated PIG-2507: -- Attachment: (was: PIG_2507.patch) > Semicolon in paramenters for UDF results in parsing error > - > > Key: PIG-2507 > URL: https://issues.apache.org/jira/browse/PIG-2507 > Project: Pig > Issue Type: Bug >Affects Versions: 0.8.0, 0.9.1, 0.10.0 >Reporter: Vivek Padmanabhan >Assignee: Timothy Chen > Attachments: PIG_2507.patch > > > If I have a semicolon in the parameter passed to a udf, the script execution > will fail with a parsing error. > a = load 'i1' as (f1:chararray); > c = foreach a generate REGEX_EXTRACT(f1, '.;' ,1); > dump c; > The above script fails with the below error > [main] ERROR org.apache.pig.tools.grunt.Grunt - ERROR 1200: line 3, column 0> mismatched character '' expecting ''' > Even replacing the semicolon with Unicode \u003B results in the same error. > c = foreach a generate REGEX_EXTRACT(f1, '.\u003B',1); -- 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
[jira] [Updated] (PIG-2507) Semicolon in paramenters for UDF results in parsing error
[ https://issues.apache.org/jira/browse/PIG-2507?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Alan Gates updated PIG-2507: Status: Open (was: Patch Available) Changes to the code look fine, but we definitely need a unit test to check that they work. Adding it in TestGrunt as Rohini suggested makes sense. Canceling the patch pending adding of tests. > Semicolon in paramenters for UDF results in parsing error > - > > Key: PIG-2507 > URL: https://issues.apache.org/jira/browse/PIG-2507 > Project: Pig > Issue Type: Bug >Affects Versions: 0.10.0, 0.9.1, 0.8.0 >Reporter: Vivek Padmanabhan >Assignee: Timothy Chen > Attachments: PIG_2507.patch > > > If I have a semicolon in the parameter passed to a udf, the script execution > will fail with a parsing error. > a = load 'i1' as (f1:chararray); > c = foreach a generate REGEX_EXTRACT(f1, '.;' ,1); > dump c; > The above script fails with the below error > [main] ERROR org.apache.pig.tools.grunt.Grunt - ERROR 1200: line 3, column 0> mismatched character '' expecting ''' > Even replacing the semicolon with Unicode \u003B results in the same error. > c = foreach a generate REGEX_EXTRACT(f1, '.\u003B',1); -- 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
[jira] [Updated] (PIG-2507) Semicolon in paramenters for UDF results in parsing error
[ https://issues.apache.org/jira/browse/PIG-2507?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Timothy Chen updated PIG-2507: -- Status: Patch Available (was: Open) > Semicolon in paramenters for UDF results in parsing error > - > > Key: PIG-2507 > URL: https://issues.apache.org/jira/browse/PIG-2507 > Project: Pig > Issue Type: Bug >Affects Versions: 0.10.0, 0.9.1, 0.8.0 >Reporter: Vivek Padmanabhan >Assignee: Timothy Chen > Attachments: PIG_2507.patch > > > If I have a semicolon in the parameter passed to a udf, the script execution > will fail with a parsing error. > a = load 'i1' as (f1:chararray); > c = foreach a generate REGEX_EXTRACT(f1, '.;' ,1); > dump c; > The above script fails with the below error > [main] ERROR org.apache.pig.tools.grunt.Grunt - ERROR 1200: line 3, column 0> mismatched character '' expecting ''' > Even replacing the semicolon with Unicode \u003B results in the same error. > c = foreach a generate REGEX_EXTRACT(f1, '.\u003B',1); -- 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
[jira] [Updated] (PIG-2507) Semicolon in paramenters for UDF results in parsing error
[ https://issues.apache.org/jira/browse/PIG-2507?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Timothy Chen updated PIG-2507: -- Attachment: PIG_2507.patch Fixes the semicolon issue > Semicolon in paramenters for UDF results in parsing error > - > > Key: PIG-2507 > URL: https://issues.apache.org/jira/browse/PIG-2507 > Project: Pig > Issue Type: Bug >Affects Versions: 0.8.0, 0.9.1, 0.10.0 >Reporter: Vivek Padmanabhan >Assignee: Timothy Chen > Attachments: PIG_2507.patch > > > If I have a semicolon in the parameter passed to a udf, the script execution > will fail with a parsing error. > a = load 'i1' as (f1:chararray); > c = foreach a generate REGEX_EXTRACT(f1, '.;' ,1); > dump c; > The above script fails with the below error > [main] ERROR org.apache.pig.tools.grunt.Grunt - ERROR 1200: line 3, column 0> mismatched character '' expecting ''' > Even replacing the semicolon with Unicode \u003B results in the same error. > c = foreach a generate REGEX_EXTRACT(f1, '.\u003B',1); -- 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
[jira] [Updated] (PIG-2507) Semicolon in paramenters for UDF results in parsing error
[ https://issues.apache.org/jira/browse/PIG-2507?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Timothy Chen updated PIG-2507: -- Status: Open (was: Patch Available) > Semicolon in paramenters for UDF results in parsing error > - > > Key: PIG-2507 > URL: https://issues.apache.org/jira/browse/PIG-2507 > Project: Pig > Issue Type: Bug >Affects Versions: 0.10.0, 0.9.1, 0.8.0 >Reporter: Vivek Padmanabhan >Assignee: Timothy Chen > > If I have a semicolon in the parameter passed to a udf, the script execution > will fail with a parsing error. > a = load 'i1' as (f1:chararray); > c = foreach a generate REGEX_EXTRACT(f1, '.;' ,1); > dump c; > The above script fails with the below error > [main] ERROR org.apache.pig.tools.grunt.Grunt - ERROR 1200: line 3, column 0> mismatched character '' expecting ''' > Even replacing the semicolon with Unicode \u003B results in the same error. > c = foreach a generate REGEX_EXTRACT(f1, '.\u003B',1); -- 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
[jira] [Updated] (PIG-2507) Semicolon in paramenters for UDF results in parsing error
[ https://issues.apache.org/jira/browse/PIG-2507?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Timothy Chen updated PIG-2507: -- Status: Patch Available (was: Open) > Semicolon in paramenters for UDF results in parsing error > - > > Key: PIG-2507 > URL: https://issues.apache.org/jira/browse/PIG-2507 > Project: Pig > Issue Type: Bug >Affects Versions: 0.10.0, 0.9.1, 0.8.0 >Reporter: Vivek Padmanabhan >Assignee: Timothy Chen > > If I have a semicolon in the parameter passed to a udf, the script execution > will fail with a parsing error. > a = load 'i1' as (f1:chararray); > c = foreach a generate REGEX_EXTRACT(f1, '.;' ,1); > dump c; > The above script fails with the below error > [main] ERROR org.apache.pig.tools.grunt.Grunt - ERROR 1200: line 3, column 0> mismatched character '' expecting ''' > Even replacing the semicolon with Unicode \u003B results in the same error. > c = foreach a generate REGEX_EXTRACT(f1, '.\u003B',1); -- 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