Return-Path: X-Original-To: apmail-hive-dev-archive@www.apache.org Delivered-To: apmail-hive-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 40F53176E2 for ; Wed, 25 Mar 2015 16:32:59 +0000 (UTC) Received: (qmail 88798 invoked by uid 500); 25 Mar 2015 16:32:54 -0000 Delivered-To: apmail-hive-dev-archive@hive.apache.org Received: (qmail 88724 invoked by uid 500); 25 Mar 2015 16:32:54 -0000 Mailing-List: contact dev-help@hive.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@hive.apache.org Delivered-To: mailing list dev@hive.apache.org Received: (qmail 88677 invoked by uid 99); 25 Mar 2015 16:32:54 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 25 Mar 2015 16:32:54 +0000 Date: Wed, 25 Mar 2015 16:32:54 +0000 (UTC) From: "Naveen Gangam (JIRA)" To: dev@hive.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (HIVE-10087) Beeline's --silent option should suppress query from being echoed when running with -f option MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 Naveen Gangam created HIVE-10087: ------------------------------------ Summary: Beeline's --silent option should suppress query from being echoed when running with -f option Key: HIVE-10087 URL: https://issues.apache.org/jira/browse/HIVE-10087 Project: Hive Issue Type: Bug Components: Beeline Affects Versions: 0.13.0 Reporter: Naveen Gangam Assignee: Naveen Gangam Priority: Minor The {{-e}} and the {{-f}} options behave differently. {code} beeline -u jdbc:hive2://localhost:10000/default --showHeader=false --silent=true -f select.sql 0: jdbc:hive2://localhost:10000/default> select * from sample_07 limit 5; -------------------------------------------------------------------------------------- 00-0000 All Occupations 134354250 40690 11-0000 Management occupations 6003930 96150 11-1011 Chief executives 299160 151370 11-1021 General and operations managers 1655410 103780 11-1031 Legislators 61110 33880 -------------------------------------------------------------------------------------- beeline -u jdbc:hive2://localhost:10000/default --showHeader=false --silent=true -e "select * from sample_07 limit 5;" -------------------------------------------------------------------------------------- 00-0000 All Occupations 134354250 40690 11-0000 Management occupations 6003930 96150 11-1011 Chief executives 299160 151370 11-1021 General and operations managers 1655410 103780 11-1031 Legislators 61110 33880 -------------------------------------------------------------------------------------- {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)