tajo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (TAJO-438) Date literal support
Date Wed, 08 Jan 2014 10:21:50 GMT

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

Hudson commented on TAJO-438:
-----------------------------

FAILURE: Integrated in Tajo-trunk-postcommit #671 (See [https://builds.apache.org/job/Tajo-trunk-postcommit/671/])
TAJO-438: Date literal support. (Jae Young Lee via jihoon) (jihoonson: https://git-wip-us.apache.org/repos/asf?p=incubator-tajo.git&a=commit&h=7d85f3ae9b26a2f096f793b93a21f5606873a0b3)
* tajo-algebra/src/main/java/org/apache/tajo/algebra/OpType.java
* tajo-common/src/main/java/org/apache/tajo/datum/DatumFactory.java
* CHANGES.txt
* tajo-core/tajo-core-backend/src/main/java/org/apache/tajo/engine/parser/SQLAnalyzer.java
* tajo-common/src/main/java/org/apache/tajo/datum/DateDatum.java
* tajo-core/tajo-core-backend/src/main/antlr4/org/apache/tajo/engine/parser/SQLParser.g4
* tajo-algebra/src/main/java/org/apache/tajo/algebra/DateLiteral.java
* tajo-core/tajo-core-backend/src/test/java/org/apache/tajo/engine/eval/TestSQLDateTimeTypes.java
* tajo-core/tajo-core-backend/src/main/java/org/apache/tajo/engine/planner/LogicalPlanner.java
* tajo-core/tajo-core-backend/src/main/java/org/apache/tajo/engine/planner/AlgebraVisitor.java
* tajo-core/tajo-core-backend/src/main/java/org/apache/tajo/engine/planner/BaseAlgebraVisitor.java


> Date literal support
> --------------------
>
>                 Key: TAJO-438
>                 URL: https://issues.apache.org/jira/browse/TAJO-438
>             Project: Tajo
>          Issue Type: Sub-task
>          Components: operator/expression, parser
>            Reporter: Hyunsik Choi
>            Assignee: Jae Young Lee
>            Priority: Minor
>              Labels: newbie
>             Fix For: 0.8-incubating
>
>
> Date literal represents a date type literal value. It's BNF grammar as follows:
> {code}
> <date literal>    ::=   DATE <date string>
> <date string>    ::=   <quote> <unquoted date string> <quote>
> <unquoted date string>    ::=   <date value>
> <date value>    ::=   <years value> <minus sign> <months value>
<minus sign> <days value>
> {code}
> When needed, please refer http://savage.net.au/SQL/sql-2003-2.bnf.html#datetime%20literal.



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

Mime
View raw message