You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tajo.apache.org by "Jinho Kim (JIRA)" <ji...@apache.org> on 2013/07/17 18:38:49 UTC
[jira] [Comment Edited] (TAJO-86) Improved error messages in query
analyzer
[ https://issues.apache.org/jira/browse/TAJO-86?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13711252#comment-13711252 ]
Jinho Kim edited comment on TAJO-86 at 7/17/13 4:37 PM:
--------------------------------------------------------
In details,
* generated error message
* user friendly wrong syntax position
{code}
tajo> create external table test_table (id int, name text, score float, type text) user csv with('csvfile.delimiter'='|') location 'file:/Users';
ERROR: missing USING at 'user' near ')'
LINE 1:77 ... int, name text, score float, type text) user csv with('csvfile.delimiter'='|') l ...
^
{code}
was (Author: jhkim):
In details,
* generated error message
* user friendly wrong syntax position
{code}
tajo> create external table test_table (id int, name text, score float, type text) user csv with('csvfile.delimiter'='|') location 'file:/Users';
ERROR: missing USING at 'user' near ')'
LINE 1:77 ... int, name text, score float, type text) user csv with('csvfile.delimiter'='|') l ...
{code}
> Improved error messages in query analyzer
> -----------------------------------------
>
> Key: TAJO-86
> URL: https://issues.apache.org/jira/browse/TAJO-86
> Project: Tajo
> Issue Type: Improvement
> Components: parser
> Reporter: Jinho Kim
> Assignee: Jinho Kim
> Priority: Trivial
> Fix For: 0.2-incubating
>
> Attachments: TAJO-86.patch
>
>
> Currently, The analyzer returns a simple message.
> It is difficult to find syntax error.
--
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