You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tajo.apache.org by "DaeMyung Kang (JIRA)" <ji...@apache.org> on 2013/12/22 09:06:50 UTC

[jira] [Commented] (TAJO-437) Timestamp literal support

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

DaeMyung Kang commented on TAJO-437:
------------------------------------

[[~hyunsik] first of all, you should add license to files for build.

tajo-algebra/src/main/java/org/apache/tajo/algebra/DateValue.java
tajo-algebra/src/main/java/org/apache/tajo/algebra/TimeValue.java

after adding license.

"mvn clean install" is ok. 


> Timestamp literal support
> -------------------------
>
>                 Key: TAJO-437
>                 URL: https://issues.apache.org/jira/browse/TAJO-437
>             Project: Tajo
>          Issue Type: Sub-task
>          Components: operator/expression, parser
>            Reporter: Hyunsik Choi
>            Assignee: Hyunsik Choi
>            Priority: Minor
>              Labels: newbie
>             Fix For: 0.8-incubating
>
>         Attachments: TAJO-437.patch
>
>
> Timestamp literal represents timestamp constant. It has the following bnf grammar.
> {code}
> <timestamp literal>    ::=   TIMESTAMP <timestamp string>
> <timestamp string>    ::=   <quote> <unquoted timestamp string> <quote>
> <unquoted timestamp string>    ::=   <unquoted date string> <space> <unquoted time string>
> <unquoted date string>    ::=   <date value>
> <unquoted time string>    ::=   <time value> [ <time zone interval> ]
> <date value>    ::=   <years value> <minus sign> <months value> <minus sign> <days value>
> <time value>    ::=   <hours value> <colon> <minutes value> <colon> <seconds value>
> <time zone interval>    ::=   <sign> <hours value> <colon> <minutes value>
> {code}



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)