wypoon commented on code in PR #12117: URL: https://github.com/apache/iceberg/pull/12117#discussion_r1936330045
########## spark/v3.5/spark/src/main/java/org/apache/iceberg/spark/functions/DaysFunction.java: ########## @@ -31,6 +31,8 @@ * A Spark function implementation for the Iceberg day transform. * * <p>Example usage: {@code SELECT system.days('source_col')}. + * + * <p>Alternate form: {@code SELECT system.day('source_col')}. */ public class DaysFunction extends UnaryUnboundFunction { Review Comment: We don't want the function to be constructed with an arbitrary name. We really just want the name to be either "day" or "days" in this case. So we can have a constructor with a boolean. -- 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. To unsubscribe, e-mail: issues-unsubscr...@iceberg.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@iceberg.apache.org For additional commands, e-mail: issues-h...@iceberg.apache.org