RussellSpitzer commented on issue #14046:
URL: https://github.com/apache/iceberg/issues/14046#issuecomment-3281373462

   Iceberg shouldn't be using any of the properties named spark.sql.parquet,
   so ....that shouldn't be related. It may be helpful to see the rest of your
   code?
   
   On Wed, Sep 10, 2025 at 3:40 PM Selim Soufargi ***@***.***>
   wrote:
   
   > *unical1988* created an issue (apache/iceberg#14046)
   > <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
   >
   > —
   > Reply to this email directly, view it on GitHub
   > <https://github.com/apache/iceberg/issues/14046>, or unsubscribe
   > 
<https://github.com/notifications/unsubscribe-auth/AADE2YNGJ5GHQSWXVOIDSND3SCEEVAVCNFSM6AAAAACGFPQSYSVHI2DSMVQWIX3LMV43ASLTON2WKOZTGQYDGOBXG43TEMY>
   > .
   > You are receiving this because you are subscribed to this thread.Message
   > ID: ***@***.***>
   >
   


-- 
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]

Reply via email to