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 01DF210979 for ; Thu, 16 Jan 2014 10:25:31 +0000 (UTC) Received: (qmail 92912 invoked by uid 500); 16 Jan 2014 10:25:27 -0000 Delivered-To: apmail-hive-dev-archive@hive.apache.org Received: (qmail 92233 invoked by uid 500); 16 Jan 2014 10:25:24 -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 92055 invoked by uid 500); 16 Jan 2014 10:25:21 -0000 Delivered-To: apmail-hadoop-hive-dev@hadoop.apache.org Received: (qmail 92043 invoked by uid 99); 16 Jan 2014 10:25:21 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 16 Jan 2014 10:25:21 +0000 Date: Thu, 16 Jan 2014 10:25:21 +0000 (UTC) From: "Hive QA (JIRA)" To: hive-dev@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HIVE-4144) Add "select database()" command to show the current database MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/HIVE-4144?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13873231#comment-13873231 ] Hive QA commented on HIVE-4144: ------------------------------- {color:green}Overall{color}: +1 all checks pass Here are the results of testing the latest attachment: https://issues.apache.org/jira/secure/attachment/12623280/HIVE-4144.11.patch.txt {color:green}SUCCESS:{color} +1 4929 tests passed Test results: http://bigtop01.cloudera.org:8080/job/PreCommit-HIVE-Build/929/testReport Console output: http://bigtop01.cloudera.org:8080/job/PreCommit-HIVE-Build/929/console Messages: {noformat} Executing org.apache.hive.ptest.execution.PrepPhase Executing org.apache.hive.ptest.execution.ExecutionPhase Executing org.apache.hive.ptest.execution.ReportingPhase {noformat} This message is automatically generated. ATTACHMENT ID: 12623280 > Add "select database()" command to show the current database > ------------------------------------------------------------ > > Key: HIVE-4144 > URL: https://issues.apache.org/jira/browse/HIVE-4144 > Project: Hive > Issue Type: Bug > Components: SQL > Reporter: Mark Grover > Assignee: Navis > Attachments: D9597.5.patch, HIVE-4144.10.patch.txt, HIVE-4144.11.patch.txt, HIVE-4144.6.patch.txt, HIVE-4144.7.patch.txt, HIVE-4144.8.patch.txt, HIVE-4144.9.patch.txt, HIVE-4144.D9597.1.patch, HIVE-4144.D9597.2.patch, HIVE-4144.D9597.3.patch, HIVE-4144.D9597.4.patch > > > A recent hive-user mailing list conversation asked about having a command to show the current database. > http://mail-archives.apache.org/mod_mbox/hive-user/201303.mbox/%3CCAMGr+0i+CRY69m3id=DxthmUCWLf0NxpKMCtROb=uauH2vAHng@mail.gmail.com%3E > MySQL seems to have a command to do so: > {code} > select database(); > {code} > http://dev.mysql.com/doc/refman/5.0/en/information-functions.html#function_database > We should look into having something similar in Hive. -- This message was sent by Atlassian JIRA (v6.1.5#6160)