jkolash opened a new issue, #10225:
URL: https://github.com/apache/iceberg/issues/10225

   ### Apache Iceberg version
   
   1.5.0
   
   ### Query engine
   
   Spark
   
   ### Please describe the bug 🐞
   
   The removal of the code
   
   ```java
    private static PrimitiveWriter<?> ints(DataType type, ColumnDescriptor 
desc) {
       if (type instanceof ByteType) {
         return ParquetValueWriters.tinyints(desc);
       } else if (type instanceof ShortType) {
         return ParquetValueWriters.shorts(desc);
       }
       return ParquetValueWriters.ints(desc);
     }
   ```
   In this PR https://github.com/apache/iceberg/pull/9440/files
   
   broke this auto-coercion
   
   Is there a reason for the removal of byte short support auto coercing to 
int? before on iceberg 1.4.x we were able to materialize this into iceberg just 
fine but now on iceberg 1.5.x it doesn't work
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscr...@iceberg.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@iceberg.apache.org
For additional commands, e-mail: issues-h...@iceberg.apache.org

Reply via email to