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

Jeremy Huylebroeck updated HADOOP-4501:
---------------------------------------

    Attachment: patch2-0.17.txt

proposed new patch for 0.17:
- supports comments properly (lines started with "--")
- keeps empty lines etc... so error position is closer to reality, easier to 
debug.
- shows the number of line offset in the INFO log to ease debugging of the 
error position (not very pretty implementation but it helps)
- some cleanup

> 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.

Reply via email to