Skip to content
This repository was archived by the owner on Apr 1, 2026. It is now read-only.

Commit a7c11be

Browse files
committed
refactor: fix test_timedelta_agg__timedelta_result on agg_ops.QuantileOp
1 parent 6fef9be commit a7c11be

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bigframes/core/compile/sqlglot/aggregations/unary_compiler.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -527,7 +527,7 @@ def _(
527527
else:
528528
result = apply_window_if_present(result, window)
529529

530-
if op.should_floor_result:
530+
if op.should_floor_result or column.dtype == dtypes.TIMEDELTA_DTYPE:
531531
result = sge.Cast(this=sge.func("FLOOR", result), to="INT64")
532532
return result
533533

0 commit comments

Comments
 (0)