You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-dev@hadoop.apache.org by "Jeremy Huylebroeck (JIRA)" <ji...@apache.org> on 2008/10/31 23:53:44 UTC
[jira] Commented: (HADOOP-4501) [Hive] CLI not supporting multiline
queries from an input file
[ https://issues.apache.org/jira/browse/HADOOP-4501?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12644452#action_12644452 ]
Jeremy Huylebroeck commented on HADOOP-4501:
--------------------------------------------
your example is actually working for me in 0.17.3, at least with the patched version.
I remember observing something similar when using 0.19, but only for some time. But I was changing the code and playing with multiple combinaisons of hive/hadoop versions at the time. can you try the new patch?
> [Hive] CLI not supporting multiline queries from an input file
> --------------------------------------------------------------
>
> Key: HADOOP-4501
> URL: https://issues.apache.org/jira/browse/HADOOP-4501
> Project: Hadoop Core
> Issue Type: Improvement
> Components: contrib/hive
> Affects Versions: 0.17.3
> Reporter: Jeremy Huylebroeck
> Priority: Trivial
> Fix For: 0.17.3
>
> Attachments: patch-0.17.txt, patch-trunk.txt, patch2-0.17.txt
>
>
> calling "hive -f filename" allows to pass HQL queries from a file.
> but the queries can't be on multiple lines as we would expect by reading Hive documentation.
> a proposed fix is to modify CliDriver.processReader.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.