rdblue commented on issue #279: Transforming timestamp to date should produce date URL: https://github.com/apache/incubator-iceberg/issues/279#issuecomment-521322801 Sorry for the confusion. I'm talking about the Iceberg date type, `Types.DateType.get()`. The transform implementation is still going to return a Java `Integer` because that's how dates are represented in Iceberg metadata: the number of days from the Unix epoch. This change would primarily just update `getResultType` and return `DateType.get()` when the granularity is `ChronoUnit.DAYS`. That will cause the partition tuple's field type to be a date, which should also cause the metadata table to display formatted dates instead of the day ordinal in Spark.
---------------------------------------------------------------- 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 With regards, Apache Git Services --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@iceberg.apache.org For additional commands, e-mail: issues-h...@iceberg.apache.org