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

Commit 03b9a04

Browse files
committed
manual fixes
1 parent 6fa2f50 commit 03b9a04

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -529,7 +529,7 @@ def _(op: ops.base_ops.UnaryOp, expr: TypedExpr) -> sge.Expression:
529529

530530
@UNARY_OP_REGISTRATION.register(ops.time_op)
531531
def _(op: ops.base_ops.UnaryOp, expr: TypedExpr) -> sge.Expression:
532-
return sge.Time(this=expr.expr)
532+
return sge.func("TIME", expr.expr)
533533

534534

535535
@UNARY_OP_REGISTRATION.register(ops.timedelta_floor_op)

0 commit comments

Comments
 (0)