We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 16be5a5 commit 884d488Copy full SHA for 884d488
bigframes/core/compile/sqlglot/aggregations/unary_compiler.py
@@ -71,7 +71,7 @@ def _(
71
op.should_floor_result or column.dtype == dtypes.TIMEDELTA_DTYPE
72
)
73
if should_floor_result:
74
- expr = sge.func("FLOOR", expr)
+ expr = sge.Cast(this=sge.func("FLOOR", expr), to="INT64")
75
return apply_window_if_present(expr, window)
76
77
0 commit comments