hive-dev mailing list archives

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


Teddy Choi commented on HIVE-5581:

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

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

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:
>             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

View raw message