huaxingao commented on code in PR #13166:
URL: https://github.com/apache/iceberg/pull/13166#discussion_r2118340730
##########
spark/v4.0/spark/src/main/java/org/apache/iceberg/spark/functions/HoursFunction.java:
##########
@@ -57,7 +60,19 @@ public String name() {
return "hours";
}
- public static class TimestampToHoursFunction extends
BaseScalarFunction<Integer> {
+ public abstract static class BaseToHourFunction extends
BaseScalarFunction<Integer>
+ implements ReducibleFunction<Integer, Integer> {
+ @Override
+ public Reducer<Integer, Integer> reducer(ReducibleFunction<?, ?>
otherBucketFunction) {
+
Review Comment:
nit: Remove this line?
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]