You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Jason Dere (JIRA)" <ji...@apache.org> on 2015/02/14 01:15:11 UTC
[jira] [Updated] (HIVE-9690) Refactoring for non-numeric arithmetic
operations
[ https://issues.apache.org/jira/browse/HIVE-9690?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jason Dere updated HIVE-9690:
-----------------------------
Summary: Refactoring for non-numeric arithmetic operations (was: Allow non-numeric arithmetic operations)
> Refactoring for non-numeric arithmetic operations
> -------------------------------------------------
>
> Key: HIVE-9690
> URL: https://issues.apache.org/jira/browse/HIVE-9690
> Project: Hive
> Issue Type: Bug
> Components: UDF
> Reporter: Jason Dere
> Assignee: Jason Dere
> Attachments: HIVE-9690.1.patch
>
>
> Some refactoring for HIVE-5021. The current arithmetic UDFs are specialized for numeric types, and trying to change the logic in the existing UDFs looks a bit complicated. A less intrusive fix would be to create the date-time/interval arithmetic UDFs as a separate UDF class, and to make the plus/minus UDFs act as a wrapper which would invoke the numeric or interval arithmetic UDF depending on the args.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)