[ 
https://issues.apache.org/jira/browse/HIVE-47?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Ashish Thusoo updated HIVE-47:
------------------------------

    Attachment: patch-47_4.txt

Simplified the fix for this in order to address prasad's concerns.

I have tested this to a limited extent inside fb. However, without getting the 
test harness in place for cli tests, I am not able to add unit tests for this 
at this time. (I think we should get the test harness for the cli in place as 
soon as possible - I tried to do it in QTestUtil but the changes there are more 
involved than what I would have liked to put in this transaction)

Incidentally, the fix here mimics what QTestUtils.java does for calling the 
internal cli driver for its test (The issue is that there is no test harness 
for bin/hive scripts).

Please review and provide any feedback.

> [Hive] CLI not supporting multiline queries from an input file
> --------------------------------------------------------------
>
>                 Key: HIVE-47
>                 URL: https://issues.apache.org/jira/browse/HIVE-47
>             Project: Hadoop Hive
>          Issue Type: Bug
>          Components: Clients
>            Reporter: Jeremy Huylebroeck
>            Priority: Trivial
>         Attachments: patch-0.17.txt, patch-47_4.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.

Reply via email to