hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mithun Radhakrishnan (JIRA)" <>
Subject [jira] [Created] (HIVE-9565) Minor cleanup in TestMetastoreExpr.
Date Tue, 03 Feb 2015 19:46:35 GMT
Mithun Radhakrishnan created HIVE-9565:

             Summary: Minor cleanup in TestMetastoreExpr.
                 Key: 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

View raw message