[teiid-issues] [JBoss JIRA] (TEIID-2233) Improve parser errors

Steven Hawkins (JIRA) jira-events at lists.jboss.org
Mon Oct 1 10:48:03 EDT 2012


    [ https://issues.jboss.org/browse/TEIID-2233?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12722928#comment-12722928 ] 

Steven Hawkins commented on TEIID-2233:
---------------------------------------

The final form will produce an encountered sequence containing the preceding 3 tokens, the error token highlighted by [*], and 2 trailing tokens.  This is assuming that we're able to determine the preceding from the token history.

The expected list for a non-lexical error will be condensed to the longest matching token chain and we'll go further to collapse <ID> and nonReserved identifiers into just id.  It would be nice to replace all large token expansions with their rule name, but we don't have that ability easily.
                
> Improve parser errors
> ---------------------
>
>                 Key: TEIID-2233
>                 URL: https://issues.jboss.org/browse/TEIID-2233
>             Project: Teiid
>          Issue Type: Feature Request
>          Components: Query Engine
>    Affects Versions: 8.1
>            Reporter: Steven Hawkins
>            Assignee: Steven Hawkins
>             Fix For: 8.2
>
>
> It would be good if the parser reported more of the sql where the parse error occurred.

--
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


More information about the teiid-issues mailing list