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 27FA61775F for ; Tue, 3 Feb 2015 19:46:35 +0000 (UTC) Received: (qmail 31385 invoked by uid 500); 3 Feb 2015 19:46:35 -0000 Delivered-To: apmail-hive-dev-archive@hive.apache.org Received: (qmail 31263 invoked by uid 500); 3 Feb 2015 19:46:35 -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 31012 invoked by uid 500); 3 Feb 2015 19:46:35 -0000 Delivered-To: apmail-hadoop-hive-dev@hadoop.apache.org Received: (qmail 31009 invoked by uid 99); 3 Feb 2015 19:46:35 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 03 Feb 2015 19:46:35 +0000 Date: Tue, 3 Feb 2015 19:46:35 +0000 (UTC) From: "Mithun Radhakrishnan (JIRA)" To: hive-dev@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (HIVE-9565) Minor cleanup in TestMetastoreExpr. MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 Mithun Radhakrishnan created HIVE-9565: ------------------------------------------ Summary: Minor cleanup in TestMetastoreExpr. Key: HIVE-9565 URL: https://issues.apache.org/jira/browse/HIVE-9565 Project: Hive Issue Type: Bug Components: Tests Affects Versions: 0.14.0 Reporter: Mithun Radhakrishnan Assignee: Mithun Radhakrishnan Priority: Minor Here's some minor cleanup in TestMetastoreExpr. 0. There was an incomplete refactor in {{ExprBuilder.fn()}}, where the {{TypeInfo}} object was hard-coded to {{booleanTypeInfo}}. 1. I've removed the {{throws}} clauses for redundant exceptions. 2. Expected exceptions have been labelled as {{ignore}}. As an aside, that {{ExprBuilder}} is nifty. It's just the thing to exercise {{HiveMetastoreClient.listPartitionsByExpr()}}. I'm whacking this idea for an upcoming fix to {{HCatClient.dropPartitions()}}. -- This message was sent by Atlassian JIRA (v6.3.4#6332)