hadoop-hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Zheng Shao (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HIVE-275) "hive -e '<query>'" writes non-output to stdout
Date Fri, 06 Feb 2009 01:13:59 GMT

    [ https://issues.apache.org/jira/browse/HIVE-275?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12670971#action_12670971
] 

Zheng Shao commented on HIVE-275:
---------------------------------

hive -S -e 'select * from my_table' will do what you want.
-S stands for silent.


> "hive -e '<query>'" writes non-output to stdout
> -----------------------------------------------
>
>                 Key: HIVE-275
>                 URL: https://issues.apache.org/jira/browse/HIVE-275
>             Project: Hadoop Hive
>          Issue Type: Bug
>          Components: Clients
>            Reporter: S. Alex Smith
>
> A command like: hive -e 'select * from my_table' produces output like:
> Hive history file=/tmp/asmith/hive_job_log_asmith_200902051423_1455103524.txt
> OK
> 1       [4, 4]
> 1       [0, 1]
> 0       [0, 0]
> 0       [1, 0]
> Time taken: 2.413 seconds
> where all seven lines go to stdout, instead of lines 1, 2, and 7 going to stderr.

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


Mime
View raw message