You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Holden Karau (JIRA)" <ji...@apache.org> on 2011/05/08 03:44:03 UTC
[jira] [Commented] (HIVE-2012) Improve parser error messages
[ https://issues.apache.org/jira/browse/HIVE-2012?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13030442#comment-13030442 ]
Holden Karau commented on HIVE-2012:
------------------------------------
Hi Carl,
I think you are mistaken as to what is causing the problem. The name 'LINES' is a reserved token, hence it is not a valid identifier. For example if you try create table lines(line string) you will see the same error message. The request for a valid identifier by the parser is correct. I will look at adding a patch which outputs the token which is not a valid identifier if this case so that when a reserved word is used it is clearer.
Cheers,
Holden
P.S.
I could be wrong this is my first time digging through the hive code.
> Improve parser error messages
> -----------------------------
>
> Key: HIVE-2012
> URL: https://issues.apache.org/jira/browse/HIVE-2012
> Project: Hive
> Issue Type: Bug
> Components: Diagnosability, Query Processor
> Reporter: Carl Steinbach
>
> This is a place for accumulating error message improvements for the Hive parser so that we can update a bunch in batch.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira