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

Supporting DATE type in Parquet format

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.12.0
    • Component/s: None
    • Labels:
      None

      Description

      Tajo cannot convert table which has DATE typed column with this log (in worker).

      2016-01-30 00:00:45,479 ERROR org.apache.tajo.worker.TaskImpl: Cannot convert Tajo type: DATE
      java.lang.RuntimeException: Cannot convert Tajo type: DATE
              at org.apache.tajo.storage.parquet.TajoSchemaConverter.convertColumn(TajoSchemaConverter.java:190)
              at org.apache.tajo.storage.parquet.TajoSchemaConverter.convert(TajoSchemaConverter.java:149)
              at org.apache.tajo.storage.parquet.TajoWriteSupport.<init>(TajoWriteSupport.java:53)
              at org.apache.tajo.storage.parquet.TajoParquetWriter.<init>(TajoParquetWriter.java:80)
              at org.apache.tajo.storage.parquet.ParquetAppender.init(ParquetAppender.java:77)
              at org.apache.tajo.engine.planner.physical.StoreTableExec.openNewFile(StoreTableExec.java:113)
              at org.apache.tajo.engine.planner.physical.StoreTableExec.init(StoreTableExec.java:78)
              at org.apache.tajo.worker.TaskImpl.run(TaskImpl.java:418)
              at org.apache.tajo.worker.TaskContainer.run(TaskContainer.java:65)
              at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
              at java.util.concurrent.FutureTask.run(FutureTask.java:266)
              at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
              at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
              at java.lang.Thread.run(Thread.java:745)
      2016-01-30 00:00:45,479 ERROR org.apache.tajo.worker.TaskContainer:
      java.lang.NullPointerException
              at org.apache.tajo.storage.parquet.ParquetAppender.getStats(ParquetAppender.java:135)
              at org.apache.tajo.engine.planner.physical.StoreTableExec.close(StoreTableExec.java:150)
              at org.apache.tajo.worker.TaskImpl.run(TaskImpl.java:431)
              at org.apache.tajo.worker.TaskContainer.run(TaskContainer.java:65)
              at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
              at java.util.concurrent.FutureTask.run(FutureTask.java:266)
              at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
              at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
              at java.lang.Thread.run(Thread.java:745)
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                eminency Jongyoung Park
                Reporter:
                dkhwangbo Dongkyu Hwangbo
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: