hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mithun Radhakrishnan (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HIVE-9565) Minor cleanup in TestMetastoreExpr.
Date Tue, 03 Feb 2015 19:47:34 GMT

     [ https://issues.apache.org/jira/browse/HIVE-9565?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Mithun Radhakrishnan updated HIVE-9565:
---------------------------------------
    Attachment: HIVE-9565.1.patch

> 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
>         Attachments: HIVE-9565.1.patch
>
>
> 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)

Mime
View raw message