Skip to content

Commit ae69c7a

Browse files
committed
update comments
1 parent 08d3486 commit ae69c7a

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
_ZERO = sge.Cast(this=sge.convert(0), to="INT64")
1818
_NAN = sge.Cast(this=sge.convert("NaN"), to="FLOAT64")
1919
_INF = sge.Cast(this=sge.convert("Infinity"), to="FLOAT64")
20+
_NEG_INF = sge.Cast(this=sge.convert("-Infinity"), to="FLOAT64")
2021

2122
# Approx Highest number you can pass in to EXP function and get a valid FLOAT64 result
2223
# FLOAT64 has 11 exponent bits, so max values is about 2**(2**10)

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@
2222
import sqlglot.expressions as sge
2323

2424
from bigframes import operations as ops
25-
import bigframes.core.compile.sqlglot.expressions.constants as constants
2625
from bigframes.core.compile.constants import UNIT_TO_US_CONVERSION_FACTORS
26+
import bigframes.core.compile.sqlglot.expressions.constants as constants
2727
from bigframes.core.compile.sqlglot.expressions.op_registration import OpRegistration
2828
from bigframes.core.compile.sqlglot.expressions.typed_expr import TypedExpr
2929

0 commit comments

Comments
 (0)