Uploaded image for project: 'Tajo (Retired)'
  1. Tajo (Retired)
  2. TAJO-506

RawFile cannot support DATE type

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 0.8.0
    • 0.8.0
    • Storage
    • None

    Description

      Suppose a following table.

      CREATE TABLE t1 (logtime DATE, user TEXT);
      

      When I run the following query, I met an error that DATE type cannot be supported by RawFile.

      select * from t1 order by logtime limit 10;
      

      The detailed error logs are as follows.

      2014-01-16 12:51:35,799 ERROR worker.Task (Task.java:run(378)) - java.io.IOException: Cannot support data type: DATE
              at org.apache.tajo.storage.RawFile$RawFileAppender.addTuple(RawFile.java:485)
              at org.apache.tajo.engine.planner.physical.RangeShuffleFileWriteExec.next(RangeShuffleFileWriteExec.java:100)
              at org.apache.tajo.worker.Task.run(Task.java:370)
              at org.apache.tajo.worker.TaskRunner$1.run(TaskRunner.java:392)
              at java.lang.Thread.run(Thread.java:701)
      

      Attachments

        1. TAJO-506.patch
          13 kB
          Jinho Kim

        Activity

          People

            jhkim Jinho Kim
            jihoonson Jihoon Son
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: