hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Teddy Choi (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HIVE-5581) Implement vectorized year/month/day... etc. for string arguments
Date Tue, 26 Nov 2013 05:04:39 GMT

    [ https://issues.apache.org/jira/browse/HIVE-5581?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13832318#comment-13832318
] 

Teddy Choi commented on HIVE-5581:
----------------------------------

I wrote vectorized versions of UDFYear, UDFMonth, UDFDayOfMonth, UDFHour, UDFMinute, UDFSecond,
UDFWeekOfYear.

There still remain more functions that use TimestampWritable type. So I could write more of
them.
* Date-related: UDFDate, UDFDateSub, UDFDateAdd, UDFDateDiff
* Conversion-related: UDFToBoolean, UDFToByte, UDFToFloat, UDFToInteger, UDFToLong, UDFToShort,
UDFToString

However, there are no vectorized date/datesub/toboolean... for long arguments yet. Should
I write them now or later?

> Implement vectorized year/month/day... etc. for string arguments
> ----------------------------------------------------------------
>
>                 Key: HIVE-5581
>                 URL: https://issues.apache.org/jira/browse/HIVE-5581
>             Project: Hive
>          Issue Type: Sub-task
>          Components: Query Processor
>    Affects Versions: 0.13.0
>            Reporter: Eric Hanson
>            Assignee: Teddy Choi
>         Attachments: HIVE-5581.1.patch.txt, HIVE-5581.2.patch, HIVE-5581.3.patch, HIVE-5581.4.patch,
HIVE-5581.5.patch, HIVE-5581.5.patch, HIVE-5581.6.patch
>
>
> Functions year(), month(), day(), weekofyear(), hour(), minute(), second() need to be
implemented for string arguments in vectorized mode. 
> They already work for timestamp arguments.



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Mime
View raw message