hadoop-hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Pete Wyckoff (JIRA)" <j...@apache.org>
Subject [jira] Updated: (HIVE-95) improve cli error messages by lowering backtracking to 1
Date Tue, 02 Dec 2008 21:36:44 GMT

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

View raw message