pvary commented on issue #11937:
URL: https://github.com/apache/iceberg/issues/11937#issuecomment-2582246631
@dfercode: In the Iceberg code the nano timestamp is specified, but not
implemented yet.
I have tried to add it to some Spark tests, and got this:
```
Unsupported type for Parquet: timestamp_ns
java.lang.UnsupportedOperationException: Unsupported type for Parquet:
timestamp_ns
at
org.apache.iceberg.parquet.TypeToMessageType.primitive(TypeToMessageType.java:191)
at
org.apache.iceberg.parquet.TypeToMessageType.field(TypeToMessageType.java:87)
at
org.apache.iceberg.parquet.TypeToMessageType.map(TypeToMessageType.java:115)
at
org.apache.iceberg.parquet.TypeToMessageType.field(TypeToMessageType.java:94)
at
org.apache.iceberg.parquet.TypeToMessageType.convert(TypeToMessageType.java:64)
at
org.apache.iceberg.parquet.ParquetSchemaUtil.convert(ParquetSchemaUtil.java:41)
at
org.apache.iceberg.parquet.Parquet$WriteBuilder.build(Parquet.java:311)
at
org.apache.iceberg.spark.data.TestParquetAvroWriter.testCorrectness(TestParquetAvroWriter.java:100)
[..]
```
--
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]