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

RawFile cannot support DATE type

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.8.0
    • Fix Version/s: 0.8.0
    • Component/s: Storage
    • Labels:
      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

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: