Skip to content

Commit a3dd2f6

Browse files
committed
revert: move sqlglot fix to separate branch
1 parent 97af548 commit a3dd2f6

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

  • packages/bigframes/bigframes/core/compile/sqlglot/sql

packages/bigframes/bigframes/core/compile/sqlglot/sql/base.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,8 +69,6 @@ def literal(value: typing.Any, dtype: dtypes.Dtype | None = None) -> sge.Express
6969
return sge.Null()
7070

7171
if value is None:
72-
if sqlglot_type.upper() == "NULL":
73-
return sge.Null()
7472
return cast(sge.Null(), sqlglot_type)
7573
if dtypes.is_struct_like(dtype):
7674
items = [

0 commit comments

Comments
 (0)