[
https://issues.apache.org/jira/browse/HIVE-9767?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Damien Carol updated HIVE-9767:
-------------------------------
Description:
There are issues in UDF never get exposed because the execution path is never
tested:
# Assume the ObjectInspector to be WritableObjectInspector not the
ObjectInspector pass to UDF
# Assume the input parameter to be Writable not respecting the ObjectInspector
pass to UDF
# Assume ConstantObjectInspector to be WritableConstantXXXObjectInspector
# The InputObjectInspector does not match OutputObjectInspector of previous
stage in UDAF
# The execution path involving convertIfNecessary is never been tested
Attach a patch to fix those.
was:
There are issues in UDF never get exposed because the execution path is never
tested:
1. Assume the ObjectInspector to be WritableObjectInspector not the
ObjectInspector pass to UDF
2. Assume the input parameter to be Writable not respecting the ObjectInspector
pass to UDF
3. Assume ConstantObjectInspector to be WritableConstantXXXObjectInspector
4. The InputObjectInspector does not match OutputObjectInspector of previous
stage in UDAF
5. The execution path involving convertIfNecessary is never been tested
Attach a patch to fix those.
> Fixes in Hive UDF to be usable in Pig
> -------------------------------------
>
> Key: HIVE-9767
> URL: https://issues.apache.org/jira/browse/HIVE-9767
> Project: Hive
> Issue Type: Bug
> Components: UDF
> Reporter: Daniel Dai
> Assignee: Daniel Dai
> Attachments: HIVE-9767.1.patch
>
>
> There are issues in UDF never get exposed because the execution path is never
> tested:
> # Assume the ObjectInspector to be WritableObjectInspector not the
> ObjectInspector pass to UDF
> # Assume the input parameter to be Writable not respecting the
> ObjectInspector pass to UDF
> # Assume ConstantObjectInspector to be WritableConstantXXXObjectInspector
> # The InputObjectInspector does not match OutputObjectInspector of previous
> stage in UDAF
> # The execution path involving convertIfNecessary is never been tested
> Attach a patch to fix those.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)