unical1988 opened a new issue, #14046:
URL: https://github.com/apache/iceberg/issues/14046
### Apache Iceberg version
1.4.2
### Query engine
Spark
### Please describe the bug 🐞
Is there a known issue Under Spark 3.4.2, where writing a timestamp column
as follows:
```
DataTypes.createStructField(
"timestamp",
DataTypes.TimestampType,
false,
new MetadataBuilder().putString("precision",
"millis").build())
```
Using this Spark config:
`sparkConf.set("spark.sql.parquet.outputTimestampType", "TIMESTAMP_MILLIS")`
causes issues with Icerberg column Type? I am getting an error in my code as
follows:
java.lang.ClassCastException: class
org.apache.iceberg.shaded.org.apache.arrow.vector.TimeStampMicroTZVector cannot
be cast to class org.apache.iceberg.shaded.org.apache.arrow.vector.BigIntVector
(org.apache.iceberg.shaded.org.apache.arrow.vector.TimeStampMicroTZVector and
org.apache.iceberg.shaded.org.apache.arrow.vector.BigIntVector are in unnamed
module of loader 'app')
Would anyone here know about this timestamp issue?
### Willingness to contribute
- [ ] I can contribute a fix for this bug independently
- [ ] I would be willing to contribute a fix for this bug with guidance from
the Iceberg community
- [ ] I cannot contribute a fix for this bug at this time
--
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]