anesterenok commented on issue #12751:
URL: https://github.com/apache/iceberg/issues/12751#issuecomment-2918703487

   > Is this an issue for Datafiles written with Avro Data instead of Parquet?
   Yes.  
   
   In Parquet, there's only one data type for timestamps (`TimestampType`), and 
whether its a local TS type or an instant type is specified by type attribute 
`isAdjustedToUTC `.
   
   In Avro, there are two type families, `timestamp-<unit>` for instants and 
`local-timestamp-<unit>` for local TS.  However, Iceberg incorrectly uses first 
one for both types.
   
   It is a bit strange because, say, when Iceberg writes ORC files, it does use 
appropriate ORC types (`timestamp` and `timestamp with local time zone`, in 
that case). 


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