sunchao commented on pull request #7751: URL: https://github.com/apache/arrow/pull/7751#issuecomment-659329634
@jorgecarleitao thanks! seems this is not a bug in C++ as Parquet only uses int32 to represent date while Arrow uses both int32 and int64. Therefore, when you write a int64 date from Arrow to Parquet and then read it back to Parquet, it first convert it to a int32 in Parquet with logical type "DATE", and then read it back to Arrow as int32 date, which matches to what you observed above. I also think there is no precision loss in the transformation since milliseconds in the int64 Arrow date must be evenly divisible by 86400000 (milliseconds in a day). ---------------------------------------------------------------- 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. For queries about this service, please contact Infrastructure at: us...@infra.apache.org