Handling timestamp in parquet file writer

Hi team,

I am getting wrong data being written by the parquet writer for the timestamp data. please help as it is urgent.

below is the output of mapper snap
image
Below is the data created by parquet file when using int64 activity_ts (TIMESTAMP_MILLIS)
image

Below is the data created by parquet file when using int32 origin_ts (TIME_MILLIS);

image