You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "S. Alex Smith (JIRA)" <ji...@apache.org> on 2009/03/18 00:09:50 UTC

[jira] Created: (HIVE-353) Comments can't have semi-colons

Comments can't have semi-colons
-------------------------------

                 Key: HIVE-353
                 URL: https://issues.apache.org/jira/browse/HIVE-353
             Project: Hadoop Hive
          Issue Type: Bug
          Components: Query Processor
            Reporter: S. Alex Smith
            Priority: Minor



hive> CREATE TABLE tmp_foo(foo DOUBLE COMMENT ';');
FAILED: Parse Error: line 2:7 mismatched input 'TABLE' expecting TEMPORARY in create function statement

hive> CREATE TABLE tmp_foo(foo DOUBLE);        
OK


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


[jira] Commented: (HIVE-353) Comments can't have semi-colons

Posted by "Zheng Shao (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HIVE-353?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12792219#action_12792219 ] 

Zheng Shao commented on HIVE-353:
---------------------------------

Please escape ";" by saying:

{code}
hive> CREATE TABLE tmp_foo(foo DOUBLE COMMENT '\;');
{code}


> Comments can't have semi-colons
> -------------------------------
>
>                 Key: HIVE-353
>                 URL: https://issues.apache.org/jira/browse/HIVE-353
>             Project: Hadoop Hive
>          Issue Type: Bug
>          Components: Query Processor
>            Reporter: S. Alex Smith
>            Priority: Minor
>
> hive> CREATE TABLE tmp_foo(foo DOUBLE COMMENT ';');
> FAILED: Parse Error: line 2:7 mismatched input 'TABLE' expecting TEMPORARY in create function statement
> hive> CREATE TABLE tmp_foo(foo DOUBLE);        
> OK

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


[jira] Resolved: (HIVE-353) Comments can't have semi-colons

Posted by "Zheng Shao (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HIVE-353?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Zheng Shao resolved HIVE-353.
-----------------------------

    Resolution: Won't Fix

> Comments can't have semi-colons
> -------------------------------
>
>                 Key: HIVE-353
>                 URL: https://issues.apache.org/jira/browse/HIVE-353
>             Project: Hadoop Hive
>          Issue Type: Bug
>          Components: Query Processor
>            Reporter: S. Alex Smith
>            Priority: Minor
>
> hive> CREATE TABLE tmp_foo(foo DOUBLE COMMENT ';');
> FAILED: Parse Error: line 2:7 mismatched input 'TABLE' expecting TEMPORARY in create function statement
> hive> CREATE TABLE tmp_foo(foo DOUBLE);        
> OK

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