lurnagao opened a new issue, #7098:
URL: https://github.com/apache/iceberg/issues/7098
### Apache Iceberg version
0.13.1
### Query engine
Hive
### Please describe the bug 🐞
iceberg version 0.13.2
hive version 2.3.6
create table is :
`create table iceberg_test(id int, name string) partitioned by (dt date)
stored by 'org.apache.iceberg.mr.hive.HiveIcebergStorageHandler';`
then insert into :
insert into iceberg_test values(1, 'zhangsan', '2023-0101');
The exception is as follows:
`java.lang.IllegalStateException: Not an instance of java.lang.Integer:
2023-0101
at org.apache.iceberg.data.GenericRecord.get(GenericRecord.java:123)
at org.apache.iceberg.Accessors$PositionAccessor.get(Accessors.java:71)
at org.apache.iceberg.Accessors$PositionAccessor.get(Accessors.java:58)
at org.apache.iceberg.PartitionKey.partition(PartitionKey.java:104)`
--
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]