You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Mithun Radhakrishnan (JIRA)" <ji...@apache.org> on 2015/02/03 20:46:35 UTC
[jira] [Created] (HIVE-9565) Minor cleanup in TestMetastoreExpr.
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)