Added type cast to_timestamp