You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Ted Yu (JIRA)" <ji...@apache.org> on 2014/12/14 00:19:13 UTC
[jira] [Created] (HIVE-9096) GenericUDF may be left unclosed in
PartitionPrune#visitCall()
Ted Yu created HIVE-9096:
----------------------------
Summary: GenericUDF may be left unclosed in PartitionPrune#visitCall()
Key: HIVE-9096
URL: https://issues.apache.org/jira/browse/HIVE-9096
Project: Hive
Issue Type: Bug
Reporter: Ted Yu
Priority: Minor
In ql/src/java/org/apache/hadoop/hive/ql/optimizer/calcite/rules/PartitionPrune.java :
{code}
GenericUDF hiveUDF = SqlFunctionConverter.getHiveUDF(call.getOperator(),
call.getType(), call.operands.size());
if (hiveUDF != null &&
!FunctionRegistry.isDeterministic(hiveUDF)) {
return null;
}
{code}
hiveUDF should be closed upon return.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)