Skip to content

Commit 13f805d

Browse files
committed
fix: KeyError at literal_to_ibis_scalar method
1 parent 9f10541 commit 13f805d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

bigframes/core/compile/ibis_types.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -388,7 +388,8 @@ def literal_to_ibis_scalar(
388388
# Ibis has bug for casting nulltype to geospatial, so we perform intermediate cast first
389389
geotype = ibis_dtypes.GeoSpatial(geotype="geography", srid=4326, nullable=True)
390390
return bigframes_vendored.ibis.literal(None, geotype)
391-
ibis_dtype = BIGFRAMES_TO_IBIS[force_dtype] if force_dtype else None
391+
392+
ibis_dtype = bigframes_dtype_to_ibis_dtype(force_dtype) if force_dtype else None
392393

393394
if pd.api.types.is_list_like(literal):
394395
if validate:

0 commit comments

Comments
 (0)