Uploaded image for project: 'IMPALA'
  1. IMPALA
  2. IMPALA-5628 Parquet support for additional valid decimal representations
  3. IMPALA-7087

Impala is unable to read Parquet decimal columns with lower precision/scale than table metadata

    XMLWordPrintableJSON

Details

    Description

      This is similar to IMPALA-2515, except relates to a different precision/scale in the file metadata rather than just a mismatch in the bytes used to store the data. In a lot of cases we should be able to convert the decimal type on the fly to the higher-precision type.

      ERROR: File '/hdfs/path/000000_0_x_2' column 'alterd_decimal' has an invalid type length. Expecting: 11 len in file: 8
      

      It would be convenient to allow reading parquet files where the precision/scale in the file can be converted to the precision/scale in the table metadata without loss of precision.

      Attachments

        Issue Links

          Activity

            People

              boroknagyz Zoltán Borók-Nagy
              tarmstrong Tim Armstrong
              Votes:
              1 Vote for this issue
              Watchers:
              11 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: