Details

    • Type: Sub-task
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.8.0
    • Component/s: Catalog
    • Labels:
      None
    1. TAJO-62.patch
      28 kB
      Hyunsik Choi

      Activity

      Hide
      hudson Hudson added a comment -

      FAILURE: Integrated in Tajo-trunk-postcommit #610 (See https://builds.apache.org/job/Tajo-trunk-postcommit/610/)
      TAJO-62: Implement Timestamp Datum type. (hyunsik) (hyunsik: https://git-wip-us.apache.org/repos/asf?p=incubator-tajo.git&a=commit&h=ea5aa8f471c6a0cd8d97bb00eaaceabcdc50b666)

      • tajo-project/pom.xml
      • tajo-core/tajo-core-backend/src/main/java/org/apache/tajo/engine/function/datetime/ToCharTimestamp.java
      • tajo-common/src/main/java/org/apache/tajo/json/CommonGsonHelper.java
      • tajo-core/tajo-core-backend/src/test/java/org/apache/tajo/engine/query/TestCreateTableStatement.java
      • tajo-core/tajo-core-storage/src/main/java/org/apache/tajo/storage/RawFile.java
      • tajo-core/tajo-core-storage/src/main/java/org/apache/tajo/storage/TextSerializeDeserialize.java
      • tajo-core/tajo-core-backend/src/test/java/org/apache/tajo/engine/function/TestDateTimeFunctions.java
      • tajo-common/src/main/java/org/apache/tajo/json/TimestampDatumAdapter.java
      • tajo-core/tajo-core-storage/src/main/java/org/apache/tajo/storage/BinarySerializeDeserialize.java
      • tajo-common/pom.xml
      • CHANGES.txt
      • tajo-core/tajo-core-backend/src/test/queries/create_table_various_types.sql
      • tajo-common/src/main/java/org/apache/tajo/datum/DatumFactory.java
      • tajo-core/tajo-core-backend/src/main/java/org/apache/tajo/master/TajoMaster.java
      • tajo-common/src/main/java/org/apache/tajo/datum/TimestampDatum.java
      • tajo-core/tajo-core-backend/src/main/java/org/apache/tajo/engine/function/datetime/ToTimestamp.java
      • tajo-common/src/test/java/org/apache/tajo/datum/TestTimestampDatum.java
      Show
      hudson Hudson added a comment - FAILURE: Integrated in Tajo-trunk-postcommit #610 (See https://builds.apache.org/job/Tajo-trunk-postcommit/610/ ) TAJO-62 : Implement Timestamp Datum type. (hyunsik) (hyunsik: https://git-wip-us.apache.org/repos/asf?p=incubator-tajo.git&a=commit&h=ea5aa8f471c6a0cd8d97bb00eaaceabcdc50b666 ) tajo-project/pom.xml tajo-core/tajo-core-backend/src/main/java/org/apache/tajo/engine/function/datetime/ToCharTimestamp.java tajo-common/src/main/java/org/apache/tajo/json/CommonGsonHelper.java tajo-core/tajo-core-backend/src/test/java/org/apache/tajo/engine/query/TestCreateTableStatement.java tajo-core/tajo-core-storage/src/main/java/org/apache/tajo/storage/RawFile.java tajo-core/tajo-core-storage/src/main/java/org/apache/tajo/storage/TextSerializeDeserialize.java tajo-core/tajo-core-backend/src/test/java/org/apache/tajo/engine/function/TestDateTimeFunctions.java tajo-common/src/main/java/org/apache/tajo/json/TimestampDatumAdapter.java tajo-core/tajo-core-storage/src/main/java/org/apache/tajo/storage/BinarySerializeDeserialize.java tajo-common/pom.xml CHANGES.txt tajo-core/tajo-core-backend/src/test/queries/create_table_various_types.sql tajo-common/src/main/java/org/apache/tajo/datum/DatumFactory.java tajo-core/tajo-core-backend/src/main/java/org/apache/tajo/master/TajoMaster.java tajo-common/src/main/java/org/apache/tajo/datum/TimestampDatum.java tajo-core/tajo-core-backend/src/main/java/org/apache/tajo/engine/function/datetime/ToTimestamp.java tajo-common/src/test/java/org/apache/tajo/datum/TestTimestampDatum.java
      Hide
      hyunsik Hyunsik Choi added a comment -

      committed it to master branch. Thank you for the review.

      Show
      hyunsik Hyunsik Choi added a comment - committed it to master branch. Thank you for the review.
      Hide
      jihoonson Jihoon Son added a comment -

      Good job!
      This is really necessary!

      Show
      jihoonson Jihoon Son added a comment - Good job! This is really necessary!
      Hide
      jhkim Jinho Kim added a comment -

      +1
      Great! I've verified 'mvn clean install'.

      Show
      jhkim Jinho Kim added a comment - +1 Great! I've verified 'mvn clean install'.
      Hide
      hyunsik Hyunsik Choi added a comment -

      This is the first patch for timestamp type. It also contains two functions: to_char and to_timestamp.

      to_char - convert time stamp to string

      text to_char(timestamp, text)
      

      to_timestamp - convert Unix epoch to time stamp

      to_timestamp(int8)
      
      Show
      hyunsik Hyunsik Choi added a comment - This is the first patch for timestamp type. It also contains two functions: to_char and to_timestamp. to_char - convert time stamp to string text to_char(timestamp, text) to_timestamp - convert Unix epoch to time stamp to_timestamp(int8)

        People

        • Assignee:
          hyunsik Hyunsik Choi
          Reporter:
          hyunsik Hyunsik Choi
        • Votes:
          0 Vote for this issue
          Watchers:
          3 Start watching this issue

          Dates

          • Created:
            Updated:
            Resolved:

            Development