hadoop-hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Prasad Chakka (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HIVE-430) Ability to comment desired for hive query files
Date Fri, 17 Apr 2009 20:06:14 GMT

    [ https://issues.apache.org/jira/browse/HIVE-430?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12700307#action_12700307

Prasad Chakka commented on HIVE-430:

There is a JIRA for this which also has a quick and dirty fix...

> Ability to comment desired for hive query files
> -----------------------------------------------
>                 Key: HIVE-430
>                 URL: https://issues.apache.org/jira/browse/HIVE-430
>             Project: Hadoop Hive
>          Issue Type: Wish
>          Components: Clients, Query Processor
>            Reporter: Adam Kramer
>            Priority: Minor
> It is, in many cases, quite useful to write a query, save it in a file, and "run" the
file with hive \-f filename. However, as time passes and many such files are written, it becomes
unclear why I did things the way I did--the solution for most code is to comment the code,
and I would love to be able to comment hive code in .sql/.hql files or queries.
> Standard SQL comment structure is anything following a non-escaped non-quoted "-- " or
"#" on a single line should cause the rest of the line to be ignored. I would love to have
this in hive...both in the CLI (for when I paste a query in) and in the hive -f file reader
option. C-style // and /* */ commenting would be great too, but only because I'm lazy.

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

View raw message