You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Vaibhav Aggarwal (JIRA)" <ji...@apache.org> on 2011/07/05 23:22:16 UTC
[jira] [Created] (HIVE-2259) Skip comments in hive script
Skip comments in hive script
----------------------------
Key: HIVE-2259
URL: https://issues.apache.org/jira/browse/HIVE-2259
Project: Hive
Issue Type: Bug
Reporter: Vaibhav Aggarwal
Assignee: Vaibhav Aggarwal
Attachments: HIVE-2259.patch
If you specify something like:
-- This is a comment
add jar jar_path;
select * from my_table;
This fails.
I have created a fix to skip the commented lines.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (HIVE-2259) Skip comments in hive script
Posted by "Vaibhav Aggarwal (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HIVE-2259?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Vaibhav Aggarwal updated HIVE-2259:
-----------------------------------
Status: Patch Available (was: Open)
> Skip comments in hive script
> ----------------------------
>
> Key: HIVE-2259
> URL: https://issues.apache.org/jira/browse/HIVE-2259
> Project: Hive
> Issue Type: Bug
> Reporter: Vaibhav Aggarwal
> Assignee: Vaibhav Aggarwal
> Attachments: HIVE-2259.patch
>
>
> If you specify something like:
> -- This is a comment
> add jar jar_path;
> select * from my_table;
> This fails.
> I have created a fix to skip the commented lines.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (HIVE-2259) Skip comments in hive script
Posted by "Hudson (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HIVE-2259?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13065760#comment-13065760 ]
Hudson commented on HIVE-2259:
------------------------------
Integrated in Hive-trunk-h0.21 #828 (See [https://builds.apache.org/job/Hive-trunk-h0.21/828/])
HIVE-2259. Skip comments in hive script (Vaibhav Aggarwal via cws)
cws : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1146960
Files :
* /hive/trunk/cli/src/java/org/apache/hadoop/hive/cli/CliDriver.java
> Skip comments in hive script
> ----------------------------
>
> Key: HIVE-2259
> URL: https://issues.apache.org/jira/browse/HIVE-2259
> Project: Hive
> Issue Type: Bug
> Components: CLI
> Reporter: Vaibhav Aggarwal
> Assignee: Vaibhav Aggarwal
> Fix For: 0.8.0
>
> Attachments: HIVE-2259.patch
>
>
> If you specify something like:
> -- This is a comment
> add jar jar_path;
> select * from my_table;
> This fails.
> I have created a fix to skip the commented lines.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (HIVE-2259) Skip comments in hive script
Posted by "Carl Steinbach (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HIVE-2259?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Carl Steinbach updated HIVE-2259:
---------------------------------
Component/s: CLI
> Skip comments in hive script
> ----------------------------
>
> Key: HIVE-2259
> URL: https://issues.apache.org/jira/browse/HIVE-2259
> Project: Hive
> Issue Type: Bug
> Components: CLI
> Reporter: Vaibhav Aggarwal
> Assignee: Vaibhav Aggarwal
> Attachments: HIVE-2259.patch
>
>
> If you specify something like:
> -- This is a comment
> add jar jar_path;
> select * from my_table;
> This fails.
> I have created a fix to skip the commented lines.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (HIVE-2259) Skip comments in hive script
Posted by "Vaibhav Aggarwal (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HIVE-2259?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Vaibhav Aggarwal updated HIVE-2259:
-----------------------------------
Attachment: HIVE-2259.patch
> Skip comments in hive script
> ----------------------------
>
> Key: HIVE-2259
> URL: https://issues.apache.org/jira/browse/HIVE-2259
> Project: Hive
> Issue Type: Bug
> Reporter: Vaibhav Aggarwal
> Assignee: Vaibhav Aggarwal
> Attachments: HIVE-2259.patch
>
>
> If you specify something like:
> -- This is a comment
> add jar jar_path;
> select * from my_table;
> This fails.
> I have created a fix to skip the commented lines.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (HIVE-2259) Skip comments in hive script
Posted by "Carl Steinbach (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HIVE-2259?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Carl Steinbach updated HIVE-2259:
---------------------------------
Resolution: Fixed
Hadoop Flags: [Reviewed]
Status: Resolved (was: Patch Available)
Committed to trunk. Thanks Vaibhav!
> Skip comments in hive script
> ----------------------------
>
> Key: HIVE-2259
> URL: https://issues.apache.org/jira/browse/HIVE-2259
> Project: Hive
> Issue Type: Bug
> Components: CLI
> Reporter: Vaibhav Aggarwal
> Assignee: Vaibhav Aggarwal
> Attachments: HIVE-2259.patch
>
>
> If you specify something like:
> -- This is a comment
> add jar jar_path;
> select * from my_table;
> This fails.
> I have created a fix to skip the commented lines.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (HIVE-2259) Skip comments in hive script
Posted by "Ido Hadanny (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HIVE-2259?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13070205#comment-13070205 ]
Ido Hadanny commented on HIVE-2259:
-----------------------------------
oops, wiki-markup-fail. meant:
this also fails: / * pretty comment * /drop table BABA;
> Skip comments in hive script
> ----------------------------
>
> Key: HIVE-2259
> URL: https://issues.apache.org/jira/browse/HIVE-2259
> Project: Hive
> Issue Type: Bug
> Components: CLI
> Reporter: Vaibhav Aggarwal
> Assignee: Vaibhav Aggarwal
> Fix For: 0.8.0
>
> Attachments: HIVE-2259.patch
>
>
> If you specify something like:
> -- This is a comment
> add jar jar_path;
> select * from my_table;
> This fails.
> I have created a fix to skip the commented lines.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (HIVE-2259) Skip comments in hive script
Posted by "Carl Steinbach (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HIVE-2259?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Carl Steinbach updated HIVE-2259:
---------------------------------
Fix Version/s: 0.8.0
> Skip comments in hive script
> ----------------------------
>
> Key: HIVE-2259
> URL: https://issues.apache.org/jira/browse/HIVE-2259
> Project: Hive
> Issue Type: Bug
> Components: CLI
> Reporter: Vaibhav Aggarwal
> Assignee: Vaibhav Aggarwal
> Fix For: 0.8.0
>
> Attachments: HIVE-2259.patch
>
>
> If you specify something like:
> -- This is a comment
> add jar jar_path;
> select * from my_table;
> This fails.
> I have created a fix to skip the commented lines.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (HIVE-2259) Skip comments in hive script
Posted by "Carl Steinbach (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HIVE-2259?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13065053#comment-13065053 ]
Carl Steinbach commented on HIVE-2259:
--------------------------------------
+1. Will commit if tests pass.
> Skip comments in hive script
> ----------------------------
>
> Key: HIVE-2259
> URL: https://issues.apache.org/jira/browse/HIVE-2259
> Project: Hive
> Issue Type: Bug
> Components: CLI
> Reporter: Vaibhav Aggarwal
> Assignee: Vaibhav Aggarwal
> Attachments: HIVE-2259.patch
>
>
> If you specify something like:
> -- This is a comment
> add jar jar_path;
> select * from my_table;
> This fails.
> I have created a fix to skip the commented lines.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (HIVE-2259) Skip comments in hive script
Posted by "Ido Hadanny (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HIVE-2259?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13070204#comment-13070204 ]
Ido Hadanny commented on HIVE-2259:
-----------------------------------
Hey, what about /* style comments?
this also fails: /*pretty comment*/drop table BABA;
with this error message: Query returned non-zero code: 11, cause: FAILED: Parse Error: line 1:0 cannot recognize input '/'
> Skip comments in hive script
> ----------------------------
>
> Key: HIVE-2259
> URL: https://issues.apache.org/jira/browse/HIVE-2259
> Project: Hive
> Issue Type: Bug
> Components: CLI
> Reporter: Vaibhav Aggarwal
> Assignee: Vaibhav Aggarwal
> Fix For: 0.8.0
>
> Attachments: HIVE-2259.patch
>
>
> If you specify something like:
> -- This is a comment
> add jar jar_path;
> select * from my_table;
> This fails.
> I have created a fix to skip the commented lines.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira