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

Count all query for Parquet is crashed

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 0.10.1
    • Fix Version/s: 0.11.0
    • Component/s: Storage
    • Labels:
      None

      Description

      When 'select count( * )' is excuted, it fails with following error log:

      2015-08-21 17:17:31,371 ERROR org.apache.tajo.engine.planner.physical.HashShuffleFileWriteExec: A group type can not be empty. Parquet does not support empty group without leaves. Empty group: table_schema
      org.apache.parquet.schema.InvalidSchemaException: A group type can not be empty. Parquet does not support empty group without leaves. Empty group: table_schema
      at org.apache.parquet.schema.GroupType.<init>(GroupType.java:92)
      at org.apache.parquet.schema.GroupType.<init>(GroupType.java:48)
      at org.apache.parquet.schema.MessageType.<init>(MessageType.java:50)
      at org.apache.tajo.storage.parquet.TajoSchemaConverter.convert(TajoSchemaConverter.java:152)
      at org.apache.tajo.storage.parquet.TajoReadSupport.init(TajoReadSupport.java:76)
      at org.apache.parquet.hadoop.InternalParquetRecordReader.initialize(InternalParquetRecordReader.java:172)
      at org.apache.parquet.hadoop.ParquetReader.initReader(ParquetReader.java:152)
      at org.apache.parquet.hadoop.ParquetReader.read(ParquetReader.java:128)
      at org.apache.tajo.storage.parquet.ParquetScanner.next(ParquetScanner.java:73)
      ...

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                eminency Jongyoung Park
                Reporter:
                eminency Jongyoung Park
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: