[
https://issues.apache.org/jira/browse/TAJO-2085?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15174814#comment-15174814
]
ASF GitHub Bot commented on TAJO-2085:
--------------------------------------
GitHub user combineads opened a pull request:
https://github.com/apache/tajo/pull/970
[TAJO-2085] Add parseDateTime method with TimeZone in DateTimeFormat class
I added the UDF for my application like below.
TimeMeta tm = DateTimeFormat.parseDateTime(pastDateText, "YYYYMMDD");
DateTimeUtil.toUserTimezone(tm, timezone);
I expected to return the date to apply a time zone but It wasn't working.
So I hope to add parseDateTime method with TimeZone.
Thanks.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/combineads/tajo TAJO-2085
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/tajo/pull/970.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #970
----
commit b6631087926145732e5c61b45c48089e8fc163ad
Author: Byunghwa Yun <[email protected]>
Date: 2016-03-02T01:34:02Z
TAJO-2085
Add parseDateTime method with TimeZone in DateTimeFormat class
----
> Add parseDateTime method with TimeZone in DateTimeFormat class
> --------------------------------------------------------------
>
> Key: TAJO-2085
> URL: https://issues.apache.org/jira/browse/TAJO-2085
> Project: Tajo
> Issue Type: Bug
> Components: Data Type
> Affects Versions: 0.11.2
> Reporter: Byunghwa Yun
> Assignee: Byunghwa Yun
> Priority: Critical
> Fix For: 0.12.0, 0.11.2
>
>
> I added the UDF for my application like below.
> TimeMeta tm = DateTimeFormat.parseDateTime(pastDateText, "YYYYMMDD");
> DateTimeUtil.toUserTimezone(tm, timezone);
> I expected to return the date to apply a time zone but It wasn't working.
> So I hope to add parseDateTime method with TimeZone.
> Thanks.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)