The output type of transforming a timestamp to a date Transforms.day(Types.TimestampType.withZone() is an integer, but should be a date. That way, it will be formatted as a date in metadata tables.
When this is updated, we need to validate backward compatibility with existing tables.