Details

    • Type: Sub-task
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.8.0
    • Component/s: Expression, SQL Parser
    • Labels:

      Description

      Date literal represents a date type literal value. It's BNF grammar as follows:

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

      When needed, please refer http://savage.net.au/SQL/sql-2003-2.bnf.html#datetime%20literal.

        Activity

        Hide
        charsyam DaeMyung Kang added a comment -

        Jae Young Lee Hi Jae Young

        If you are busy, and If you are ok, could I take this issue?

        Thank you.

        Show
        charsyam DaeMyung Kang added a comment - Jae Young Lee Hi Jae Young If you are busy, and If you are ok, could I take this issue? Thank you.
        Hide
        goodljy Jae Young Lee added a comment -

        Hi, DaeMyung.
        Sorry for my late coding.
        I've already started this issue and will finish it soon.
        Thank you.

        Show
        goodljy Jae Young Lee added a comment - Hi, DaeMyung. Sorry for my late coding. I've already started this issue and will finish it soon. Thank you.
        Hide
        charsyam DaeMyung Kang added a comment -

        Jae Young Lee Good Job. you're welcome

        Show
        charsyam DaeMyung Kang added a comment - Jae Young Lee Good Job. you're welcome
        Hide
        goodljy Jae Young Lee added a comment -

        I've attached file for this issue in review board.
        https://reviews.apache.org/r/16682/
        Please review it.

        Show
        goodljy Jae Young Lee added a comment - I've attached file for this issue in review board. https://reviews.apache.org/r/16682/ Please review it.
        Hide
        jihoonson Jihoon Son added a comment -

        This issue get +1 at RB.
        Thanks for your contribution!

        Show
        jihoonson Jihoon Son added a comment - This issue get +1 at RB. Thanks for your contribution!
        Hide
        hudson Hudson added a comment -

        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
        Show
        hudson Hudson added a comment - 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

          People

          • Assignee:
            goodljy Jae Young Lee
            Reporter:
            hyunsik Hyunsik Choi
          • Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development