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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]