Shekharrajak commented on code in PR #16577:
URL: https://github.com/apache/iceberg/pull/16577#discussion_r3309552080
##########
core/src/main/java/org/apache/iceberg/avro/TypeToSchema.java:
##########
@@ -43,11 +43,11 @@ abstract class TypeToSchema extends
TypeUtil.SchemaVisitor<Schema> {
private static final Schema TIME_SCHEMA =
LogicalTypes.timeMicros().addToSchema(Schema.create(Schema.Type.LONG));
private static final Schema TIMESTAMP_SCHEMA =
-
LogicalTypes.timestampMicros().addToSchema(Schema.create(Schema.Type.LONG));
Review Comment:
Switch writer to emit local-timestamp-micros for timestamp and
local-timestamp-nanos for timestamp_ns,
--
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]