hadoop-hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Raghotham Murthy (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HIVE-378) comments in between hive queries throw up errors
Date Mon, 30 Mar 2009 07:31:50 GMT

    [ https://issues.apache.org/jira/browse/HIVE-378?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12693683#action_12693683
] 

Raghotham Murthy commented on HIVE-378:
---------------------------------------

It might be better to remove comments in the parser, since its easier to deal with quoted
strings containing '--'. Your change will convert a comment-less query like the following:

select '--test--', * from src

into an invalid query: select '

> comments in between hive queries throw up errors
> ------------------------------------------------
>
>                 Key: HIVE-378
>                 URL: https://issues.apache.org/jira/browse/HIVE-378
>             Project: Hadoop Hive
>          Issue Type: Bug
>          Components: Clients
>    Affects Versions: 0.4.0
>            Reporter: Prasad Chakka
>            Assignee: Prasad Chakka
>            Priority: Minor
>             Fix For: 0.4.0
>
>         Attachments: hive-378.patch
>
>
> comments (lines starting with '\w*--') throw up errors.

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


Mime
View raw message