You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@phoenix.apache.org by tzolkincz <gi...@git.apache.org> on 2014/05/22 13:20:49 UTC

[GitHub] incubator-phoenix pull request: Convert timezone function

GitHub user tzolkincz opened a pull request:

    https://github.com/apache/incubator-phoenix/pull/35

    Convert timezone function

    Hi, there is simple function to convert date from one timezone to another. Can be used like this
    ````
    SELECT CONVERT_TZ(date, 'UTC', 'America/Adak') AS shifted_date FROM table
    ````
    This query returns shifted date by difference between these timezones.
    
    Thanks for review


You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/tzolkincz/incubator-phoenix tzConvert

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/incubator-phoenix/pull/35.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 #35
    
----
commit af1d36fbfcfb826afd17708cde4f520d6a21ea6b
Author: Vaclav Loffelmann <va...@socialbakers.com>
Date:   2014-04-25T13:46:46Z

    convert timezone fuction

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

[GitHub] incubator-phoenix pull request: Convert timezone function

Posted by tzolkincz <gi...@git.apache.org>.
Github user tzolkincz commented on the pull request:

    https://github.com/apache/incubator-phoenix/pull/35#issuecomment-44028174
  
    @gabrielreid sure think, fixed.  Thanks for review


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

[GitHub] incubator-phoenix pull request: Convert timezone function

Posted by gabrielreid <gi...@git.apache.org>.
Github user gabrielreid commented on the pull request:

    https://github.com/apache/incubator-phoenix/pull/35#issuecomment-45013564
  
    Ok, looks good. Could you create a Jira ticket at issues.apache.org/jira/browse/PHOENIX and add a link to this pull request there, then I'll get this committed. Thanks!


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---