[
https://issues.apache.org/jira/browse/METRON-1089?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Otto Fowler reassigned METRON-1089:
-----------------------------------
Assignee: (was: Otto Fowler)
> STELLAR Shell: Handle NoViableAltException with better information
> ------------------------------------------------------------------
>
> Key: METRON-1089
> URL: https://issues.apache.org/jira/browse/METRON-1089
> Project: Metron
> Issue Type: Improvement
> Reporter: Otto Fowler
> Priority: Major
>
> Antlr's NoViableAltException is thrown when Antlr cannot figure out what to
> do when building the expression tree. This happens when the grammar is
> improperly posed.
> For example:
> > TO_UPPER(IN)
> Where IN is a reserved phrase, but is not posed correctly.
> This is basically an invalid syntax exception. But buried in the cause of a
> ParseException, it really is not helpful.
> The shell should find the ParseException cause, and if it is this exception,
> output a better message
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)