You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pig.apache.org by "Gianmarco De Francisci Morales (JIRA)" <ji...@apache.org> on 2011/05/11 10:28:47 UTC
[jira] [Created] (PIG-2060) Fix errors in pig grammars reported by
ANTLRWorks
Fix errors in pig grammars reported by ANTLRWorks
-------------------------------------------------
Key: PIG-2060
URL: https://issues.apache.org/jira/browse/PIG-2060
Project: Pig
Issue Type: Bug
Reporter: Gianmarco De Francisci Morales
Assignee: Gianmarco De Francisci Morales
Priority: Minor
There are various errors in pig's grammar files highlighted by ANTLRWorks.
In particular, on token MATCHES, ANY and EVAL.
The first one should be removed, as there is already STR_OP_MATCHES,
the second one is an imaginary tokens that should be defined in the appropriate section.
On the third one I am not sure.
I have been told it is from the old parsers but it is not used anywhere. Is it correct?
Is it reserved for future uses? Has it anything to do with FUNC_EVAL?
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (PIG-2060) Fix errors in pig grammars reported by
ANTLRWorks
Posted by "Gianmarco De Francisci Morales (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/PIG-2060?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Gianmarco De Francisci Morales updated PIG-2060:
------------------------------------------------
Status: Patch Available (was: Open)
> Fix errors in pig grammars reported by ANTLRWorks
> -------------------------------------------------
>
> Key: PIG-2060
> URL: https://issues.apache.org/jira/browse/PIG-2060
> Project: Pig
> Issue Type: Bug
> Reporter: Gianmarco De Francisci Morales
> Assignee: Gianmarco De Francisci Morales
> Priority: Minor
> Attachments: PIG-2060.patch
>
>
> There are various errors in pig's grammar files highlighted by ANTLRWorks.
> In particular, on token MATCHES, ANY and EVAL.
> The first one should be removed, as there is already STR_OP_MATCHES,
> the second one is an imaginary tokens that should be defined in the appropriate section.
> On the third one I am not sure.
> I have been told it is from the old parsers but it is not used anywhere. Is it correct?
> Is it reserved for future uses? Has it anything to do with FUNC_EVAL?
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (PIG-2060) Fix errors in pig grammars reported by
ANTLRWorks
Posted by "Thejas M Nair (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/PIG-2060?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Thejas M Nair updated PIG-2060:
-------------------------------
Attachment: PIG-2060.1.patch
+1
Regenerated patch for latest svn trunk (PIG-2060.1.patch).
> Fix errors in pig grammars reported by ANTLRWorks
> -------------------------------------------------
>
> Key: PIG-2060
> URL: https://issues.apache.org/jira/browse/PIG-2060
> Project: Pig
> Issue Type: Bug
> Reporter: Gianmarco De Francisci Morales
> Assignee: Gianmarco De Francisci Morales
> Priority: Minor
> Attachments: PIG-2060.1.patch, PIG-2060.patch
>
>
> There are various errors in pig's grammar files highlighted by ANTLRWorks.
> In particular, on token MATCHES, ANY and EVAL.
> The first one should be removed, as there is already STR_OP_MATCHES,
> the second one is an imaginary tokens that should be defined in the appropriate section.
> On the third one I am not sure.
> I have been told it is from the old parsers but it is not used anywhere. Is it correct?
> Is it reserved for future uses? Has it anything to do with FUNC_EVAL?
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (PIG-2060) Fix errors in pig grammars reported by
ANTLRWorks
Posted by "Gianmarco De Francisci Morales (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/PIG-2060?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Gianmarco De Francisci Morales updated PIG-2060:
------------------------------------------------
Attachment: PIG-2060.patch
Removed MATCHES and EVAL, added ANY as a token. Fixed a naming issue in AST grammar files (substituted STDERROR to ERROR).
> Fix errors in pig grammars reported by ANTLRWorks
> -------------------------------------------------
>
> Key: PIG-2060
> URL: https://issues.apache.org/jira/browse/PIG-2060
> Project: Pig
> Issue Type: Bug
> Reporter: Gianmarco De Francisci Morales
> Assignee: Gianmarco De Francisci Morales
> Priority: Minor
> Attachments: PIG-2060.patch
>
>
> There are various errors in pig's grammar files highlighted by ANTLRWorks.
> In particular, on token MATCHES, ANY and EVAL.
> The first one should be removed, as there is already STR_OP_MATCHES,
> the second one is an imaginary tokens that should be defined in the appropriate section.
> On the third one I am not sure.
> I have been told it is from the old parsers but it is not used anywhere. Is it correct?
> Is it reserved for future uses? Has it anything to do with FUNC_EVAL?
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (PIG-2060) Fix errors in pig grammars reported by
ANTLRWorks
Posted by "Thejas M Nair (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/PIG-2060?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Thejas M Nair updated PIG-2060:
-------------------------------
Resolution: Fixed
Status: Resolved (was: Patch Available)
Patch committed to trunk.
Thanks Gianmarco!
> Fix errors in pig grammars reported by ANTLRWorks
> -------------------------------------------------
>
> Key: PIG-2060
> URL: https://issues.apache.org/jira/browse/PIG-2060
> Project: Pig
> Issue Type: Bug
> Reporter: Gianmarco De Francisci Morales
> Assignee: Gianmarco De Francisci Morales
> Priority: Minor
> Attachments: PIG-2060.1.patch, PIG-2060.patch
>
>
> There are various errors in pig's grammar files highlighted by ANTLRWorks.
> In particular, on token MATCHES, ANY and EVAL.
> The first one should be removed, as there is already STR_OP_MATCHES,
> the second one is an imaginary tokens that should be defined in the appropriate section.
> On the third one I am not sure.
> I have been told it is from the old parsers but it is not used anywhere. Is it correct?
> Is it reserved for future uses? Has it anything to do with FUNC_EVAL?
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira