jacobmarble commented on code in PR #8683:
URL: https://github.com/apache/iceberg/pull/8683#discussion_r1361004482


##########
format/spec.md:
##########
@@ -948,6 +961,7 @@ Lists must use the [3-level 
representation](https://github.com/apache/parquet-fo
 Notes:
 
 1. ORC's 
[TimestampColumnVector](https://orc.apache.org/api/hive-storage-api/org/apache/hadoop/hive/ql/exec/vector/TimestampColumnVector.html)
 consists of a time field (milliseconds since epoch) and a nanos field 
(nanoseconds within the second). Hence the milliseconds within the second are 
reported twice; once in the time field and again in the nanos field. The read 
adapter should only use milliseconds within the second from one of these 
fields. The write adapter should also report milliseconds within the second 
twice; once in the time field and again in the nanos field. ORC writer is 
expected to correctly consider millis information from one of the fields. More 
details at https://issues.apache.org/jira/browse/ORC-546
+2. ORC `timestamp` and `timestamp_instant` values store nanosecond precision. 
Iceberg ORC writers for Iceberg types `timestamp` and `timestamptz` truncate 
nanoseconds to microseconds.

Review Comment:
   Done. PTAL 
https://github.com/apache/iceberg/pull/8683/commits/150b6a9e19a45c0741c3d1cd563e92708983bf2d



-- 
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: issues-unsubscr...@iceberg.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@iceberg.apache.org
For additional commands, e-mail: issues-h...@iceberg.apache.org

Reply via email to