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

Pete Wyckoff updated HIVE-95:
-----------------------------

    Status: Patch Available  (was: Open)

This makes the error message closer to the problem. An improvement definitely, 
but still far from perfect, but at least it tells you what word is wrong.

for this: "create tabl tmp_zshao_22 (id int, name strin;"

old message:

FAILED: Parse Error: line 1:0 cannot recognize input 'create'

new message:

FAILED: Parse Error: line 1:7 mismatched input 'tabl' expecting KW_TEMPORARY



> improve cli error messages by lowering backtracking to 1
> --------------------------------------------------------
>
>                 Key: HIVE-95
>                 URL: https://issues.apache.org/jira/browse/HIVE-95
>             Project: Hadoop Hive
>          Issue Type: Improvement
>          Components: Query Processor
>            Reporter: Pete Wyckoff
>            Assignee: Pete Wyckoff
>         Attachments: HIVE-95.txt
>
>
> Stop antlr from backtracking so much should (and does) improve error messages 
> since antlr will report the error closer to where it happened.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to